Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CI: BReg tutorial job's retained-example recovery step runs zero tests

Aperta Adatta ai principianti
#1,405 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, rust
Ambito
ci-cd

Direzione di ricerca

Individua il workflow che contiene il job Base Registry Engine tutorial from source e ispeziona il passaggio Verify retained example recovery after process exit. Esegui rg native_create_and_apply e il comando cargo test indicato per determinare se esiste un test sostitutivo. Il lavoro è completato quando il passaggio punta a un test reale oppure viene rimosso, e i filtri che producono zero test fanno fallire il job invece di farlo passare.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

agent-ready area:breg bug criticality:p3 triage:needs-implementation

The Verify retained example recovery after process exit step in the Base Registry Engine tutorial from source job runs:

cargo test --locked -p registry-bregctl --lib \
  dev::examples::tests::native_create_and_apply_recover_after_process_exit_without_duplicate_revisions \
  -- --ignored --exact

That test no longer exists anywhere in the tree (rg native_create_and_apply finds only the workflow). With --exact the filter matches nothing, so the step reports 0 passed; ... 415 filtered out and succeeds. This is true on main (for example run 36021883150, job 107709175818) as well as on PR branches.

The step therefore gives no assurance and costs one extra registry-bregctl lib test compile per run (about 13 s).

To decide: either point the step at the test that now covers "native create and apply recover after process exit without duplicate revisions", if one was renamed or moved, or delete the step. Either way, a step that names a single test should fail when the filter matches zero tests, for example by checking the running N tests count.

Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
5h 8m
PR unite (30g)
167

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di registrystack/registry-stack

Tutte le issue di registrystack/registry-stack

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.