Repository navigation
Update bun to 1.3.14 - #228
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughBump Bun to 1.3.14 (download URL and SHA-256s updated) and modify the build script to remove rust-toolchain.toml and patch scripts/build/deps/lolhtml.ts so the build uses stable Rust paths, with verification that the patch was applied. ChangesBun 1.3.14 Update
🎯 3 (Moderate) | ⏱️ ~20 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
bun 1.3.14's release build opts lol-html into -Zbuild-std + -Cpanic=immediate-abort (nightly-only, to shave ~230KB). Our toolchain is stable rust 1.95.0, so that path fails: "the -Z flag is only accepted on the nightly channel of Cargo". Route lol-html to bun's existing stable -Cpanic=abort path (precompiled std) in build.sh, with a verify-grep so a future bun build-script change fails loudly instead of silently reverting to the broken nightly path. Verified with a local `minimal package bun` clean-room build (MINIMAL_MEMORY=16GiB): exit 0, lol-html builds on stable, artifact cached. See #228. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…al#734) Every cold bun build on res-server-arm64 (c4a-standard-72) stalls at the same line — 'zig obj -> bun-zig.{0..71}.o' — and sits there with zero cache writes until the 6h watchdog kills the run. Three sandboxes, 2026-09-19/20/21, two of them on gominimal#667 (which rotates bun's spec hash via rust). amd64 with 144 shards completes in ~4 min. The fast arm64 'successes' in the run history are cache hydrations, not compiles. bun's local profile sets -Dllvm_codegen_threads=availableParallelism() (scripts/build/zig.ts codegenThreads); upstream CI never exceeds 8 shards and shipped releases use 1. Pin arm64 to 8 with the same sed+verify-grep pattern as the lol-html patch (gominimal#228). This PR's own build is the experiment: a cold arm64 bun build either completes, or hangs again and we capture the process tree live. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Update bun
1.3.13→1.3.14Source:
github:oven-sh/bunRelease: https://github.com/oven-sh/bun/releases/tag/bun-v1.3.14
Changelog: oven-sh/bun@bun-v1.3.13...bun-v1.3.14
Released: 23 days ago (2026-05-13)
Components changed
CycloneDX component delta (declared materials — the package's own version, not a dependency-tree diff)
bun1.3.131.3.14bun-upstream1.3.131.3.14Changes
1.3.131.3.148cd7b2fd45df2854...951ee2aee855f085...https://github.com/oven-sh/bun/archive/refs/tags/bun-v1.3.13.tar.gz%{dl_base}/bun-linux-x64.zipPer-arch sources
Amd64951ee2aee855f085...(was79c0771fa8b92c33...)%{dl_base}/bun-linux-x64.zipArm64a27ffb63a8310375...(was70bae41b3908b0a1...)%{dl_base}/bun-linux-aarch64.zipCreated by pkgmgr
Summary by CodeRabbit