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
{{ message }}
Repository navigation
Nightly e2e_bun_lockb red: offline takeover test predates #1648 #1770
native_binary_hosted_vendored_takeover_roundtrip panics at crates/socket-patch-cli/tests/e2e_bun_lockb.rs:928: expected redirect_revert_failed, but vendor --offline --dry-run now returns the top-level error offline_eject_unavailable ("ejecting 1 hosted package needs 1 patch record(s) from the Socket API, and this run is offline; re-run without --offline").
Reproduces locally with bun 1.0.36 on origin/main.
Cause #1648 (vendor hosted patches directly from lockfiles) made vendor --offline refuse up front whenever a hosted pin is in scope, which its description records as the chosen behaviour. This test still expects the older per-pin redirect_revert_failed event. It only runs on the bun 1.0/1.1 legs, which are nightly-only, so the PR and merge-queue runs never exercised it.
Fix
Update the test's offline-refusal step to the new contract (exit 1, offline_eject_unavailable, nothing written), and check that the rest of the roundtrip still holds.
Activity
mikolalysenko commentedon Oct 28, 2026
[agent] Claiming this issue (shared root cause: e2e_bun_lockb offline takeover test predates #1648's offline_eject_unavailable refusal). Branch: agent/fix-ci-bun-lockb-offline-takeover. Claim-ID: 2026-10-28T06:53:31Z-6e2b7e
Generated by Claude Code
mikolalysenko commentedon Oct 28, 2026
[agent] Fix PR: #1771
Generated by Claude Code