Skip to content

Use Node for standalone editor Vercel functions - #580

Merged
Aymericr merged 1 commit into
mainfrom
fix/next-16-3-node-runtime
Aug 4, 2026
Merged

Use Node for standalone editor Vercel functions#580
Aymericr merged 1 commit into
mainfrom
fix/next-16-3-node-runtime

Conversation

@Aymericr

@Aymericr Aymericr commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Why

The Next.js 16.3 upgrade exposed a pre-handler runtime failure when Vercel packaged Community functions with its Bun beta. The standalone OSS editor has dynamic server routes and generates the same Turbopack external loader path, so retaining bunVersion leaves its committed deployment configuration vulnerable to the same failure.

What changed

  • remove only bunVersion from apps/editor/vercel.json
  • keep Bun 1.3.13 for dependency installation and builds
  • allow Vercel Functions to use the project/default Node runtime

Validation

  • parsed apps/editor/vercel.json as JSON
  • git diff --check
  • bun run build --filter=editor --force — 5/5 tasks, Next.js 16.3.0, all editor routes emitted
  • bun run check-types --filter=editor --force — 6/6 tasks
  • bun run test --filter=editor --force — 19 passed, 0 failed

This is the runtime-config closure identified by the adversarial review of #579.


Note

Low Risk
Single deployment-config change with no application code or auth/data impact; aligns runtime with a known fix for a packaging failure.

Overview
Removes bunVersion from apps/editor/vercel.json so Vercel packages Community/server functions on the Node runtime instead of the Bun beta.

Install and build still use Bun 1.3.13 via installCommand and buildCommand; only the function execution runtime changes. This avoids the Next.js 16.3 / Turbopack external-loader failure seen when dynamic server routes run under Vercel’s Bun packaging.

Reviewed by Cursor Bugbot for commit cdf64e6. Bugbot is set up for automated code reviews on this repo. Configure here.

@Aymericr
Aymericr merged commit 77c36be into main Aug 4, 2026
2 checks passed
@Aymericr
Aymericr deleted the fix/next-16-3-node-runtime branch August 4, 2026 20:48
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.

1 participant