$ the-wire · showcase
Next.js fixes dev startup race as Turborepo layers telemetry and matcher speedups
By RepoJournal · Filed · About Vercel
Next.js patches a dev-server startup race that could publish an empty Pages Router route set, while Turborepo's startup optimization stack lands several independent performance layers.
Next.js fixed a dev-server startup race that could temporarily publish an empty Pages Router route set when Watchpack's first filesystem aggregation arrived before the route-directory scan completed [1]. The dev bundler now snapshots the initial `pages/` and `app/` files before starting the watcher, and ignores Watchpack aggregations missing an existing snapshot page file [1]. Separately, a Turbopack CSS HMR bug that threw "Error: No link element found for chunk" when editing an unmounted `.module.css` has been fixed, so the edit previously "silently failed to apply" but now applies correctly [2].
Turborepo's startup-performance work, previously bundled together and reverted, now lands as independent layers on `main`: telemetry is skipped when disabled [3], numeric package manager versions get a fast-path [4], and compiled workspace matchers are reused between inference and local discovery [5]. These are individual optimizations, not a cumulative stack, and their benchmark figures are historical measurements [3][4][5].
Eve 0.52.3 adds explicit Datadog operation and resource names to framework-owned agent spans, plus input-aware activity labels for channel presentation [6]. A new self-modification feature connects production proposal primitives to the bundled agent, letting it edit files and publish draft pull requests through brokered GitHub requests, without leaving direct credentials in the sandbox [7][8][9]. Workflow 4.8.6 aborts active local queue deliveries when the World closes [10], and adds `Run#getWritable()` so one run can append to another run's stream without read capability [11]. A new WebSocket v1 client protocol contract, `workflow-stream-ws/v1`, is defined but not yet called [12].
Action items
- → Pull the Next.js dev route discovery fix into your next dev build if you saw intermittent empty Pages Router routes vercel/next.js [plan]
- → Upgrade to Turborepo layers on main if you track startup performance; each layer is independent and targets main vercel/turborepo [plan]
- → Review workflow's new getWritable() API for cross-run stream appends; consider for long-lived owner patterns vercel/workflow [monitor]
- → Watch for the WebSocket v1 protocol in workflow; the contract is defined but not yet wired vercel/workflow [monitor]
References
- [1] Fix dev route discovery startup race (#97920) ↗ vercel/next.js
- [2] Fix: Turbopack CSS HMR error when editing an unmounted merged CSS chunk (#94551) ↗ vercel/next.js
- [3] perf: Skip work for disabled telemetry (#13972) ↗ vercel/turborepo
- [4] perf: Fast-path numeric package manager versions (#13973) ↗ vercel/turborepo
- [5] perf: Reuse compiled workspace matchers ↗ vercel/turborepo
- [6] eve@0.52.3 ↗ vercel/eve
- [7] feat(self-modification): activate production file editing ↗ vercel/eve
- [8] feat(self-modification): publish agent edits as draft pull requests ↗ vercel/eve
- [9] feat(self-modification): prepare production proposal workspaces ↗ vercel/eve
- [10] workflow@4.8.6 ↗ vercel/workflow
- [11] Add `Run#getWritable()` for appending to another run's stream ↗ vercel/workflow
- [12] feat(streams): add WebSocket v1 client protocol contract ↗ vercel/workflow