Use Node for standalone editor Vercel functions - #580
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
bunVersionleaves its committed deployment configuration vulnerable to the same failure.What changed
bunVersionfromapps/editor/vercel.jsonValidation
apps/editor/vercel.jsonas JSONgit diff --checkbun run build --filter=editor --force— 5/5 tasks, Next.js 16.3.0, all editor routes emittedbun run check-types --filter=editor --force— 6/6 tasksbun run test --filter=editor --force— 19 passed, 0 failedThis 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
bunVersionfromapps/editor/vercel.jsonso Vercel packages Community/server functions on the Node runtime instead of the Bun beta.Install and build still use Bun 1.3.13 via
installCommandandbuildCommand; 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.