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

Evidence tutorials CI: issuer-backed dev start intermittently fails before readiness and its startup logs are lost

Aperta Adatta ai principianti
#2,200 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
74/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, rust
Ambito
ci-cd, testing

Direzione di ricerca

Inizia da crates/registry-evidencectl/tests/dev_lifecycle.rs e dal job “Evidence tutorials from source”. Esamina come il test gestisce gli errori di dev start e dove vengono conservati i log failed-start; verifica i limiti dell’output e la redazione usata dal job. Il lavoro è completato quando un errore espone log di avvio limitati e redatti oppure li carica come artefatto, così da poter diagnosticare il prossimo errore intermittente.

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

Descrizione

real_issuer_lifecycle_issues_typed_service_claims_and_stops_cleanly (crates/registry-evidencectl/tests/dev_lifecycle.rs, run by the "Evidence tutorials from source" job) failed once in a merge-group run after about 6 seconds:

issuer-backed dev start failed
error[evidence.dev.start-failed] local development session logs: The local Evidence services failed before reaching readiness.
  next: Inspect the preserved startup logs at .../target/debug/evidence-native-lifecycle-*/tutorial/.evidence/failed-start, ...

Failing run: https://github.com/registrystack/registry-stack/actions/runs/39132836323

The same tree passed this job in the pull request's own CI run and passed three of three local runs under Docker, so the failure is nondeterministic and not caused by that change.

The cause cannot be recovered: dev start preserves its startup logs under target/, which dies with the runner, and the test's panic message prints only dev start's stdout and stderr.

Two asks:

  1. When dev start fails, have the test print the preserved failed-start logs, bounded and redacted like the rest of the job output. Alternatively, have the job upload that directory as an artifact if: failure(). The next occurrence then names its own cause.
  2. A candidate cause to check once logs exist: unused_port_pair() binds two ephemeral ports and drops them before dev start hands them to Evidence and to the issuer container, so another process on the runner can take one in between. #1870 is the same class of port collision on the BReg tutorial gate.
Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
10h 32m
PR unite (30g)
269

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.