flaky: optional-modules-start.test.ts failed-start cases time out at 20 s on the Windows unit job

Aperta
#1,914 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
node.js, typescript
Ambito
ci-cd, testing-qa

Direzione di ricerca

Start with src/daemon/optional-modules-start.test.ts and inspect the three named start-failure cases and the setup at lines 33 and 90. Compare their daemon startup behavior with the change in #1887, then run pnpm run test:unit on the Windows unit job or reproduce the relevant cases repeatedly. Done means the cases and their hooks complete within the 20-second timeout on repeated Windows runs.

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

Descrizione

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

Three cases of src/daemon/optional-modules-start.test.ts, "optional modules: a start that cannot go on > the start fails, naming the module, for …" (a capability name that differs from the…, two definitions with one name, two definitions named agent-device), timed out on the Windows unit job on main at 9956ad9e (CI run 45664040336). The commit is #1859, a docs change.

Error: Test timed out in 20000ms.
 ❯ src/daemon/optional-modules-start.test.ts:90:17
Error: Hook timed out in 20000ms.
 ❯ src/daemon/optional-modules-start.test.ts:33:1

Seen once, on 2026-11-25, in a run where two other files failed too (usage-versions-rebuild-prune, slow-e2e). #1887 has since made this file's daemons start without the host's real load probe; triage may find it fixed.

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.