Nightly e2e_bun_lockb red: offline takeover test predates #1648
Mantenedores costumam responder em até 1 dia
Um pull request relacionado já foi integrado.
- #1771 de @mikolalysenko — integrado
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
Start at crates/socket-patch-cli/tests/e2e_bun_lockb.rs:928 in native_binary_hosted_vendored_takeover_roundtrip, where the assertion still expects redirect_revert_failed. Run that test with bun 1.0.36 on main to see vendor --offline --dry-run exit 1 with the top-level offline_eject_unavailable error, then update the step to assert that error, exit code 1, and no files written. Check the remaining roundtrip assertions still hold. Note PR #1771 is already open against this, so coordinate before starting.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
[agent] The nightly e2e-extended legs e2e_bun_lockb (bun 1.0.36 and 1.1.45) have been red on main since #1648 merged.
Evidence
- Run https://github.com/SocketDev/socket-patch/actions/runs/40639505834 (schedule, main
b787454, 2026-10-28), jobs 122654524514 and 122654524565. native_binary_hosted_vendored_takeover_roundtrippanics atcrates/socket-patch-cli/tests/e2e_bun_lockb.rs:928:expected redirect_revert_failed, butvendor --offline --dry-runnow returns the top-level erroroffline_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.
Generated by Claude Code
- Linguagem predominante
- Rust
- Estrelas
- 8
- Forks
- 2
- Merge médio
- 19h 31min
- PRs com merge (30d)
- 686
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de SocketDev/socket-patch
-
bug bughunt pm:npm
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 53/100
SocketDev/socket-patch#1827 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Go apply, apply --check and vex treat a module that is only another module's replace target as built, so the patch is reported applied and attested while go builds the unpatched codeTalvez já em andamento @mikolalysenko assumiu hoje. Abertaagent:claimed agent:triaged bug bughunt pm:go priority:p2
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
SocketDev/socket-patch#1823 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Vendored gem mode writes the rewired `gem` line of a CRLF Gemfile with an LF ending, leaving the Gemfile with mixed line endingsTalvez já em andamento @mikolalysenko assumiu hoje. Abertaagent:claimed agent:triaged bug bughunt pm:bundler priority:p1
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 25/100
SocketDev/socket-patch#1821 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
CI perf: workflow_dispatch of CI — Windows-only janitor fixes re-run the full Linux + macOS nightly matrix (~100 min/day, ~30 macOS)Talvez já em andamento @mikolalysenko assumiu hoje. Abertaagent:claimed agent:triaged ci-perf priority:p3
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 1/100
SocketDev/socket-patch#1818 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Nightly Windows: 3 Go workspace unit tests fail (Unix-only GOWORK paths)Talvez já em andamento @mikolalysenko assumiu hoje. Abertaagent:claimed agent:triaged ci-janitor priority:p3
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
SocketDev/socket-patch#1815 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de SocketDev/socket-patch
Issues semelhantes
-
bug dependencies kind:fix priority: P3 ready-for-agent
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
shep-pm/shep#1318 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
swc-project/swc-next#1165 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
Alive24/shea-symphony#574 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia