A startup connect failure should still write a valid JUnit report

Aperta
#410 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #597 di @jay23606 — chiusa senza merge

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
go
Ambito
testing

Direzione di ricerca

Start with the CLI startup connection failure path and the JUnit output writer, then find the tests for closed-port failures and JUnit parsing. Add coverage that checks the output file contains one error testcase per planned test file with the connect error, while the exit code stays unchanged. Document that local JUnit output is unscrubbed, add an additive CHANGELOG entry, and verify the upload payload remains scrubbed.

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

Descrizione

area/cli bug

Summary

When the CLI cannot connect to the agent at startup (for example a closed port), probe test --format junit -o results.xml returns the error before any result exists and writes no file. CI then has nothing to publish.

Acceptance criteria

  • The failure still writes a valid JUnit file with one <error> testcase per planned test file, carrying the connect error message.
  • The exit code is unchanged.
  • Covered by a test (closed port, junit output file exists and parses).
  • Local JUnit output stays unscrubbed; document that it is the user's own output and only the upload payload is scrubbed.
  • CHANGELOG entry (additive).
Lingua principale
Go
Stelle
6
Fork
3
Merge medio
6h 28m
PR unite (30g)
362

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 AlphaWaveSystems/flutter-probe

Tutte le issue di AlphaWaveSystems/flutter-probe

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.