Repository navigation
Closed
Labels
Description
What version of Bun is running?
1.3.5+1e86cebd7
What platform is your computer?
Linux 6.18.3 x86_64 unknown
What steps can reproduce the bug?
Using this template as an example: https://github.com/santiagocezar/bun-repro
- run bun install --verbose
- wait 5 minutes (because of
max-age=300inCache-Control) - run bun install --verbose
What is the expected behavior?
Bun checks the install using solely what's available in the install cache.
What do you see instead?
Bun detects an update in packages/app (even though nothing has changed) and re-fetches the manifest for is-odd from npm:
bun install v1.3.5 (1e86cebd)
Workspace package "packages/app" has added 0 dependencies, removed 0 dependencies, and updated 1 dependencies
info: cannot move files from tempdir: RenameAcrossMountPoints, using fallback
- "@workspace/app": "packages/app" - @workspace/app@workspace:packages/app
- "@workspace/lib": "workspace:*" - @workspace/lib@workspace:packages/lib
Enqueue package manifest for download: is-odd
🔍 Resolving [1/1] [fetch] > HTTP/1.1 GET https://registry.npmjs.org/is-odd
[fetch] > If-None-Match: W/"1929b23605e34cca82f9b1d6f413178e"
[fetch] > Accept: application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*
[fetch] > Connection: keep-alive
[fetch] > User-Agent: Bun/1.3.5
[fetch] > Host: registry.npmjs.org
[fetch] > Accept-Encoding: gzip, deflate, br, zstd
[fetch] < 304 Not Modified
[fetch] < Date: Wed, 14 Jan 2026 15:33:08 GMT
[fetch] < Connection: keep-alive
[fetch] < Server: cloudflare
[fetch] < CF-Ray: 9bde30a6be7be7a8-SCL
[fetch] < CF-Cache-Status: HIT
[fetch] < Access-Control-Allow-Origin: *
[fetch] < Cache-Control: public, max-age=300
[fetch] < ETag: "1929b23605e34cca82f9b1d6f413178e"
[fetch] < Last-Modified: Sun, 19 Jun 2022 02:47:10 GMT
[fetch] < Vary: Accept-Encoding
[fetch] < Set-Cookie: _cfuvid=EqALEiTn7ixnn1xw7yZutOhFzkdHi3x9Yd24r_W9rsY-1768404788498-0.0.1.1-604800000; path=/; domain=.npmjs.org; HttpOnly; Secure; SameSite=None
[444.57ms]
Downloaded is-odd versions
Clean lockfile: 8 packages - 8 packages in 44us
Checked 7 installs across 8 packages (no changes) [453.00ms]
Additional information
This is had me scratching my hair off. When using bun2nix, the builder process runs bun install with no network access, and this breaks it completely.
Removing lifecycle scripts from the workspace package as a workaround works.
Reacted by Jason Efstathiou
Activity
install: consolidate the open package manager pull requests (oven-sh#…