You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flaky: optional-modules-start.test.ts failed-start cases time out at 20 s on the Windows unit job #1914
bug:needs-infoCould not reproduce. Waiting on the reporter.flaky-testNames a test that fails without a code change. Delivery skips its base-commit check.os:windowsRuns on, or affects, Windows hosts
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 9956ad9 (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).
Not reproduced. The log of run 45664040336 points to the whole runner stalling for about two minutes, not to this test.
What I tried
pnpm exec vitest run --project unit src/daemon/optional-modules-start.test.ts on macOS at 7efa617: 16 of 16 passed in 4.2 s.
I checked the 13 later main runs that ran this file on Windows (45677994795 through 46061249516). It passed in every one, in 17 to 27 s, with each failed-start case taking about 2 s.
The failing job's log: in the 126 s from 17:31:51.9 to 17:33:58.3, no file in the job finished. The three files running then all failed, and they are the three failures of the run:
17:31:51.89 last file to finish before the gap (delivery-stats.test.ts)
17:33:58.26 slow-e2e.test.ts 2 failed: `bash slow-e2e.sh status` gave empty stdout after its 60 s spawnSync timeout (#1915)
17:34:07.35 optional-modules-start.test.ts cases 1-3: 36.0 s, 49.2 s, 38.2 s; cases 4-16 after the gap: 0.7-1.8 s each
17:34:18.11 usage-versions-rebuild-prune.test.ts 3 timed out (#1911)
A trivial status call from a shell script hanging for 60 s means process spawning on the host was stalled. The cases that failed are just the ones that were running during that window. The cases after it ran at normal speed, so nothing was left stuck.
A failure of this file on a run where other files kept finishing while these cases hung. Or the runner's CPU and disk use for 17:31 to 17:34 on 2026-11-25. Without either, I suggest closing this as a runner stall, alongside the same check for #1915.
bug:needs-infoCould not reproduce. Waiting on the reporter.flaky-testNames a test that fails without a code change. Delivery skips its base-commit check.os:windowsRuns on, or affects, Windows hosts
Activity
V3RON commentedon Nov 28, 2026
Not reproduced. The log of run 45664040336 points to the whole runner stalling for about two minutes, not to this test.
What I tried
pnpm exec vitest run --project unit src/daemon/optional-modules-start.test.tson macOS at 7efa617: 16 of 16 passed in 4.2 s.mainruns that ran this file on Windows (45677994795 through 46061249516). It passed in every one, in 17 to 27 s, with each failed-start case taking about 2 s.A trivial
statuscall from a shell script hanging for 60 s means process spawning on the host was stalled. The cases that failed are just the ones that were running during that window. The cases after it ran at normal speed, so nothing was left stuck.starthelper intest-optional-modules.ts:126already passedhostLoadProbe: nullat 9956ad9. In this file, fix(daemon): test daemons start without the host's real load probe #1887 only changed the socket-race test.What would let me reproduce it
A failure of this file on a run where other files kept finishing while these cases hung. Or the runner's CPU and disk use for 17:31 to 17:34 on 2026-11-25. Without either, I suggest closing this as a runner stall, alongside the same check for #1915.
Written by an agent.