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

Ouverte
#1,914 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
52/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
node.js, typescript
Domaine
ci-cd, testing-qa

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
TypeScript
Étoiles
730
Forks
44
Merge moyen
16 h 13 min
PR mergées (30 j)
387

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de callstackincubator/simlock

Toutes les issues de callstackincubator/simlock

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.