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

Abierto
#1,914 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
52/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
node.js, typescript
Área
ci-cd, testing-qa

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
730
Forks
44
Merge medio
16 h 13 min
PR fusionados (30 d)
387

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de callstackincubator/simlock

Todos los issues de callstackincubator/simlock

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.