You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On dev-vibecoded dcf9cf9 plus the unrelated #573 metadata change, run packages/core/test/npm-mock-registry.test.ts with Bun 1.3.14 and an inherited npm_config_cache pointing to a previously populated npm cache.
The fixture writes an isolated cache into project .npmrc, but npm env config has higher precedence. Once that cache contains the shared fixture tarball, these tests unexpectedly succeed instead of exercising injected server failures:
tarball download HTTP 500
tarball connection abruptly closed
interruption during tarball stall
Observed 7 passed, 3 failed, 20 assertions. Same pinned Bun with npm_config_* removed: 10 passed, 21 assertions. Reintroducing only npm_config_cache reproduces the same three failures. Running via npm exec injects this variable, which exposed the problem. This does not establish any connection to #560's delayed FETCH_ABORTED or Turbo crash.
Expected
Mock-registry tests must control effective npm configuration/cache and prove the intended server fault/stall was reached, not silently use a shared cached tarball. Keep production environment precedence unchanged. Add a hostile inherited-cache regression and verify requested tarball fault paths. No timeout increase, skip or waiver is warranted.
Scope
Test isolation in packages/core/test/npm-mock-registry.test.ts, separate from #573. The failure is reproducible in the unchanged fixture; no causal relationship to BackgroundJob metadata was found.
Fixed by #575, squash-merged into dev-vibecoded as 3f092ab1ef93ab122533d5928abe95fffd8f8a05. Verified merge state via API. The fixture now isolates npm/proxy/HOME configuration before the npm stack imports. The original 10 tests and 23 assertion sites remain in the explicit child suite; normal and hostile wrapper runs execute them. Independent proxy variants, removal mutation, parent-env preservation and count audit passed; exact-head Linux/Windows/typecheck CI and actual Kilo were clean. This closes the cache-isolation issue only, not #560 historical FETCH_ABORTED/Turbo crash.
Activity
agenteinstinct1-max commentedon Oct 24, 2026
Fixed by #575, squash-merged into dev-vibecoded as
3f092ab1ef93ab122533d5928abe95fffd8f8a05. Verified merge state via API. The fixture now isolates npm/proxy/HOME configuration before the npm stack imports. The original 10 tests and 23 assertion sites remain in the explicit child suite; normal and hostile wrapper runs execute them. Independent proxy variants, removal mutation, parent-env preservation and count audit passed; exact-head Linux/Windows/typecheck CI and actual Kilo were clean. This closes the cache-isolation issue only, not #560 historical FETCH_ABORTED/Turbo crash.