build: upgrade Bun to 1.4.2 - #990
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Greptile SummaryThis PR consistently upgrades development, CI, release, npm fallback, and compiled runtime tooling to Bun 1.4.1 while preserving the workspace layout and isolating downloaded compile-target caches.
Confidence Score: 5/5The PR appears safe to merge, with runtime pins aligned and no actionable correctness or security regression identified. The upgraded runtime is consistently applied across build paths, the published prebuilt package continues filtering Bun, and the new cache-scoping logic directly addresses stale compile-target reuse with unit coverage. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart LR
P[package.json: Bun 1.4.1] --> CI[CI and release workflows]
P --> N[Nix platform archive selection]
P --> L[bun.lock dependencies]
CI --> B[Standalone binary build]
N --> NB[Nix-compiled binary]
B --> T[Host-specific compile target]
T --> C[Version-scoped compiler cache]
C --> A[Portable release artifact]
Reviews (1): Last reviewed commit: "build: upgrade Bun to 1.4.1" | Re-trigger Greptile |
Summary
simple-git-hooksfor linked-worktree support@types/bunremains at 1.4.1 because Bun has not published a 1.4.2 release of that package.User-visible comparison
Compiled binaries were built from the same Hunk source. Measurements used a real PTY on Linux x64, one pinned CPU, a warm filesystem, 20 fresh launches per runtime, and 600 hunk navigations per runtime.
hunk diffto first visible diff, medianThe fixture contained six files and 96 changed lines in a 120×20 split-view terminal. Extensions and the session bridge were disabled. Raw local results are stored in the ignored benchmark-results directory.
Bugs fixed during validation
.bun-installcould reuse a compile target downloaded by a different Bun version. The cache now uses bothBUN_INSTALLandBUN_INSTALL_CACHE_DIRbeneath a versioned directory.simple-git-hooks2.13.1 attempted to create.git/hooksinside linked worktrees, where.gitis a file. Version 2.14.0 resolves the common Git directory correctly.Validation
bun install --frozen-lockfilebun run format:checkbun run lintbun run typecheckbun run deps:checkbun run test— 1,999 passed, 2 skippedbun run test:integration— 143 passed, 1 skippedbun run test:tty-smoke— 9 passedbun run check:packbun run build:prebuilt:npmbun run check:prebuilt-packNix lock and compiler-archive integrity hashes were checked against npm. A local Nix toolchain was unavailable, so the complete Nix build is left to CI.
This PR description was generated by Pi using gpt-5.6-sol