Skip to content

build(deps): next 16.3.0 → 16.3.3 — fixes the turbopack shared-runtime flake - #509

Merged
Ducksss merged 1 commit into
devfrom
claude/bump-next-16-3-3
Aug 28, 2026
Merged

Ducksss merged 1 commit into
devfrom
claude/bump-next-16-3-3

Conversation

@Ducksss

@Ducksss Ducksss commented Aug 28, 2026 •

Copy link
Copy Markdown
Owner

Why

CI's release-gate pnpm build has been failing intermittently (2-in-3 runs on 2026-08-27/28) with:

Error: Turbopack build failed with N errors:
Error evaluating Node.js code
TypeError: __turbopack_context__.a is not a function

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/font evaluations 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

  • next 16.3.0 → 16.3.3 (current patch; carries #96653 plus three more Turbopack fixes)
  • eslint-config-next moves in lockstep

Verification

  • pnpm exec tsc --noEmit and a full production pnpm build green on 16.3.3
  • pnpm 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 isolation

Note: the fresh-payload-smoke shards may still occasionally hit this signature — they build a scaffolded starter whose own next pin this repo doesn't control.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated Next.js and its ESLint configuration to version 16.3.3 for improved compatibility and maintenance.

…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]>
Copilot AI lite review requested due to automatic review settings August 28, 2026 19:25
@vercel

vercel Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview Aug 28, 2026 7:29pm
payload-components-97bf Ready Ready Preview Aug 28, 2026 7:29pm

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d355b164-f629-4d00-94f4-7e2b98631bf5

📥 Commits

Reviewing files that changed from the base of the PR and between c4ad2d8 and 7a310d2.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • package.json

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The PR updates eslint-config-next and next from version 16.3.0 to 16.3.3 in package.json. Other package metadata and dependency versions remain unchanged.

Changes

Next.js dependency update

Layer / File(s) Summary
Dependency version update
package.json
eslint-config-next and next now use version 16.3.3.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 7a310

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)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the Next.js dependency upgrade and the Turbopack shared-runtime flake it addresses.
Description check ✅ Passed 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 …
Docstring Coverage ✅ Passed 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…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

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 Coverage

Explanation

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)
  • Create PR with unit tests
  • Commit unit tests in branch claude/bump-next-16-3-3

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch was successfully deployed

2 active deployments
Preview – payload-components — 7a310d2c Deployed Aug 28, 2026 by vercel[bot]
Preview – payload-components-97bf — 7a310d2c Deployed Aug 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants