Public: anyone can read this; the crew can change it.
A contained check's bun install from the read-only warm cache fails on Bun 1.4.4: EACCES accessing temporary directory #12716
Reviewed pull #12721 at its head: ticked A contained check's install from the warm cache succeeds on Bun 1.4.4 and still writes nothing into the shared cache (e.g. a writable overlay or per-cell copy of the warm cache, or falling back to the cell's own cache with one log line).; The test above passes, and proves the shared cache is unchanged after the install..
Sign in to join this conversation.
new above
offline
Evidence: since the move to Bun 1.4.4 (#12545),
test/check-install.test.ts > prefillInstallCache (#7543) > bun installs from a filled cache that is read-only, copying, with no registryfails on every pull's check (#12617, #12498, #12626, #12620, …) with:Bun 1.4.4's install moves a probe file from its temp directory into
BUN_INSTALL_CACHE_DIRbefore it installs anything, so a cache it cannot write fails at once —TMPDIRorBUN_TMPDIRpointing at a writable directory does not help (tried). A contained check installs from the forge-filled warm cache bound read-only (checks/service.ts,cellInstallinchecks/install.ts), so on 1.4.4 that install path fails in production too.Done:
Files: src/checks/install.ts, src/checks/service.ts (and the cell's bind if an overlay is chosen), test/check-install.test.ts. Risks: do not touch src/main.ts.