ci: pin Test job to ubuntu-24.04 (bun test breaks on ubuntu-latest kernel 6.17)#200
ci: pin Test job to ubuntu-24.04 (bun test breaks on ubuntu-latest kernel 6.17)#200KB (KB-syntheticsciences) wants to merge 2 commits into
Conversation
CI's Test job (bun test) has crashed on every run since ~2026-07-11 with a Bun panic, not a test failure: Bun v1.3.5 (1e86cebd) · Linux Kernel v6.17.0 · glibc v2.39 panic(main thread): Segmentation fault at address 0x18 oh no: Bun has crashed. This indicates a bug in Bun, not your code. error: script "test" terminated by signal SIGILL (Illegal instruction) The GitHub runner image now ships kernel 6.17.0, on which the pinned Bun 1.3.5 build hits an illegal-instruction crash before any test assertion runs. It is environment-wide, not code-specific: an unrelated dependabot PR (github_actions bump, zero source changes) crashes with the identical signature. Bump the pinned toolchain (packageManager + @types/bun catalog) to the latest stable 1.3.14. Validated locally on 1.3.14: full backend suite 1162 pass / 0 fail, forced (no-cache) typecheck 7/7.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Revert the Bun 1.3.5 -> 1.3.14 bump from the previous commit and fix the root cause instead: ubuntu-latest moved to a kernel-6.17 image on which 'bun test' misbehaves (1.3.5 SIGILLs, 1.3.14 mis-resolves an ESM export from @modelcontextprotocol/sdk). Every other CI job passes on 1.3.5 on the same image; only the test runner on kernel 6.17 is affected, and an unrelated dependabot PR crashed identically. Pin the Test job to ubuntu-24.04, keeping the tested Bun 1.3.5 toolchain unchanged. Net change vs main is the single runs-on line.
|
Closing — this is not fixable from the repo. Diagnosis: the CI
GitHub bumped the Neither a Bun bump (1.3.14 fails differently) nor a runner pin helps — GitHub serves only the latest patch of each image label, so the good No repo change is warranted; parking this. |
Problem
CI's Test job (
bun test) has failed on every run since ~2026-07-11 — a runner-environment issue, not a code or test failure.ubuntu-latestmoved to an image with kernel 6.17.0, on which Bun's test runner misbehaves:panic: Segmentation fault/SIGILL (Illegal instruction)before any assertion runs.discoverOAuthProtectedResourceMetadata) from@modelcontextprotocol/sdk— a resolution error that does not reproduce on a clean local install.Evidence it's environmental and repo-wide:
bun testjob is affected —bun run typecheck,bun install, andbun run buildall pass on 1.3.5 on the same image.Fix
Pin the Test job to
ubuntu-24.04, keeping the tested Bun 1.3.5 toolchain unchanged. This runsbun teston a kernel where it works, instead of chasing a Bun version that behaves on kernel 6.17 (1.3.14 is already the latest stable, and it's broken there too).Net change vs
main: a singleruns-online (+ explanatory comment). No toolchain change.