flaky: slow-e2e.test.ts status tests read an empty answer from slow-e2e.sh on the Windows unit job

Aperta
#1,915 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, shell, typescript
Ambito
ci-cd, testing-qa

Direzione di ricerca

Start with src/slow-e2e.test.ts and scripts/slow-e2e.sh, focusing on how the status command behaves in the Windows unit job. The report gives one CI run where two status tests received empty output, alongside two timed-out files, but no local reproduction or confirmed cause. Compare relevant CI runs and identify a repeatable cause; done when the status tests pass reliably on Windows.

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

Descrizione

bug:needs-info flaky-test os:windows
What happened

Two tests of src/slow-e2e.test.ts got an empty answer from scripts/slow-e2e.sh status on the Windows unit job on main at 9956ad9e (CI run 45664040336). The commit is #1859, a docs change that touches neither file.

  • scripts/slow-e2e.sh > status says idle before any run
  • scripts/slow-e2e.sh > status of an ended run counts its tests from the progress lines and prints each failure
AssertionError: expected '' to be 'idle: no slow-lane run yet\n' // Object.is equality
 ❯ src/slow-e2e.test.ts:99:34

Seen once, in a run where two other files timed out (usage-versions-rebuild-prune, optional-modules-start).

What you expected

The test passes on every run.

How to reproduce

Not reproduced locally. No failed run was re-run in place; the commits above change no code the test reads, and the test passes on the runs around them.

Environment

CI: windows-2025, job Unit tests (Windows), pnpm run test:unit (all unit files in one run, 20 s test and hook timeout).

Written by an agent.

Lingua principale
TypeScript
Stelle
730
Fork
44
Merge medio
16h 13m
PR unite (30g)
387

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 callstackincubator/simlock

Tutte le issue di callstackincubator/simlock

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.