Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(ci): upgrade Node past CJS lexer crash - #7061

Merged
chronark merged 1 commit into
mainfrom
fix/ci-node-cjs-lexer-crash
Aug 19, 2026
Merged

chronark merged 1 commit into
mainfrom
fix/ci-node-cjs-lexer-crash

Conversation

@chronark

@chronark chronark commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Our CI failed a few times and it looks like that's a bug in the node version we were using. Upgrading to the latest LTS should fix it.

AI SLOP BELOW

Summary

  • upgrade Depot CI and mise from affected Node 24.15.0/24.16.0 pins to Node 24.19.0
  • regenerate the mise lockfile and align the tooling documentation
  • keep existing Vitest and Turbo concurrency because it only exposes the native runtime defect

Evidence

The CI abort signature, v8::ToLocalChecked Empty MaybeLocal in node::cjs_lexer::Parse, matches nodejs/node#63323. The regression affects Node 24.14.0 and newer after the native CJS lexer replaced the prior WASM implementation.

Observed CI failures:

Node fixed the unchecked MaybeLocal path in nodejs/node#63885, followed by nodejs/node#63943. Node 24.16.0 predates those fixes, and the 24.17/24.18 changelogs do not include them. Node 24.19.0 is the first 24.x release whose changelog contains both backports, so aligning CI on 24.16.0 would retain the crash.

Validation

  • MISE_LOCKED=1 mise install node installed Node v24.19.0 from the regenerated lockfile
  • five uncached runs of CI=1 mise exec -- pnpm --dir=web turbo run test --filter=@unkey/rbac --filter=@unkey/dashboard passed
    • 39 RBAC tests per run
    • 776 dashboard tests per run
  • git diff --check passed

The failure is probabilistic, so repeated passing runs cannot prove absence, but Node 24.19.0 removes the exact upstream fatal path.

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
dashboard Ready Ready Preview Aug 19, 2026 7:10am
design Ready Ready Preview Aug 19, 2026 7:10am

Request Review

@mintlify

mintlify Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
engineering 🟢 Ready View Preview Aug 19, 2026, 7:08 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@chronark
chronark added this pull request to the merge queue Aug 19, 2026
Merged via the queue into main with commit 1312ff2 Aug 19, 2026
19 checks passed
@chronark
chronark deleted the fix/ci-node-cjs-lexer-crash branch August 19, 2026 11:06
@keanu-reviews-code

Copy link
Copy Markdown

💬 Slack discussion for this PR: https://slack.com/app_redirect?channel=C0BR6J7U9FU&team=T05T2KX8C3X

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.

3 participants