chore: fix formatting break + pin bun to 1.3.13 (CI segfault) - #1454
Conversation
PR #1451 landed with unformatted code, breaking the format:check step in the Publish Website workflow on main. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
commit: |
Bun 1.3.14 has a type-confusion bug in its JSC fork that segfaults (address 0x10) when an AsyncLocalStorage context resumes through a module top-level await — exactly the pattern of every alchemy.run.ts. The bug also reproduces on the 1.4.0 canary, so upgrading is not an option yet. See oven-sh/bun#32701. The last green website deploy ran on bun 1.3.13, so pin all workflows there until a fixed bun release ships. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Update after pushing the bun pin: the preview-deploy run on this PR (29446977863) no longer segfaults — bun 1.3.13 runs The run still fails, but with a different, pre-existing issue that the segfault had been masking since mid-May: This is the Cloudflare API rejecting the 🤖 Generated with Claude Code |
starlight-links-validator rejects relative links by default, failing the website build. Convert the five relative links between the Access docs pages to the absolute /providers/cloudflare/... form used everywhere else. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
🚀 Website Preview DeployedYour website preview is ready! Preview URL: https://af27aafb-alchemy-website.alchemy-run.workers.dev This preview was built from commit e901ace 🤖 This comment will be updated automatically when you push new commits to this PR. |
Problem
Two separate breaks in the website CI pipeline:
1. Format check failure — the Publish Website workflow on main fails at "Check Types and Lint" because #1451 landed with unformatted code:
2. Bun 1.3.14 segfault — the deploy step crashes with exit code 132:
This is oven-sh/bun#32701 — a type-confusion bug in Bun 1.3.14's JSC fork that segfaults when an
AsyncLocalStoragecontext resumes through a module top-levelawait. That's exactly the shape of everyalchemy.run.ts(Alchemy uses AsyncLocalStorage for scope tracking + top-levelawait alchemy(...)). The bug also reproduces on the 1.4.0 canary, so there's no newer version to upgrade to. The last green deploy (2026-04-28) ran on bun 1.3.13, before 1.3.14 shipped andbun-version: latestpicked it up.Fix
Ran
bun run format(whitespace-only diff), and pinned bun across all five workflows:The pin should be reverted to
latestonce a bun release fixes oven-sh/bun#32701.The Publish Preview Website run on this PR exercises the pinned version end-to-end.
🤖 Generated with Claude Code