Repository navigation
build(deps): next 16.3.0 → 16.3.3 — fixes the turbopack shared-runtime flake - #509
Conversation
…me flake 16.3.0 has a race in Turbopack production builds: the fixed-path shared runtime chunk is emitted once per module graph, and a graph with no async modules writes a variant with the async-module helper stripped, clobbering the complete one — so build-time postcss/font evaluations intermittently fail with 'TypeError: __turbopack_context__.a is not a function' (emission order decides the winner). This redded our CI release-gate 2-in-3 runs on 2026-08-27/28 while identical commits built green locally. Fixed upstream in 16.3.1 (vercel/next.js#96653, backport of #96599); 16.3.3 is the current patch. eslint-config-next moves in lockstep. Co-Authored-By: Claude Fable 5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PR updates ChangesNext.js dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized dependency update addresses intermittent production-build failures without changing application behavior; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Description checkExplanation The description provides detailed context, explains the dependency changes, records verification results, and notes the remaining scaffold-related limitation. It does not use the template headings or include the Registry Checklist, but those omissions are non-critical for this dependency-only change. Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Why
CI's release-gate
pnpm buildhas been failing intermittently (2-in-3 runs on 2026-08-27/28) with:while identical commits build green locally. Diagnosis: known upstream bug in
[email protected]— Turbopack emits the shared runtime chunk to a fixed path once per module graph, and a graph with no async modules writes a variant with the async-module helper (__turbopack_context__.a) stripped, clobbering the complete one; emission order decides the winner. Build-time postcss/next/fontevaluations share one runtime across many graphs, so the failure is intermittent, production-only, and grows likelier as the app grows — onset on our own gate coincided exactly with the template-wave route growth. Fixed upstream in 16.3.1 via vercel/next.js#96653 (backport of #96599, whose description matches our failure verbatim: "Reported against 16.3 when loading a postcss.config.js. Intermittent, production only.").Ruled out before concluding: Node drift (failing and passing attempts both ran 22.23.2), lockfile drift (
--frozen-lockfile), stale build caches (none configured).What
next16.3.0 → 16.3.3 (current patch; carries #96653 plus three more Turbopack fixes)eslint-config-nextmoves in lockstepVerification
pnpm exec tsc --noEmitand a full productionpnpm buildgreen on 16.3.3pnpm test:release: all suites green including the complete visual-baseline set (no rendering drift from the patch); the only local reds were three 180s test timeouts under machine load, each of which passes in 6s when run in isolationNote: the
fresh-payload-smokeshards may still occasionally hit this signature — they build a scaffolded starter whose ownnextpin this repo doesn't control.🤖 Generated with Claude Code
Summary by CodeRabbit