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
Windows: two packages/codev unit tests flake on the Node 24 job (ide-server-stub npm-style shim; pir-1233 session launch loop) #1973
Two packages/codev unit tests fail intermittently on the on-demand Windows workflow (Node 24 unit job), on branches that change nothing in the code they test. A red Windows run then has to be explained by hand on every PR that dispatches the workflow.
pir-1233-session-launch-loop.test.ts › "resumes the spawn-pinned session after an unnatural exit…"
1
failed — "IDE server on port … was not stopped: the port query failed"
passed
2
passed
failed — start.sh command failed
Every other job in the run passed on both attempts (Node 22 unit tests, CLI tests, install verification, all probes).
pir-1233-session-launch-loop.test.ts also failed on the Windows run for spir-1940 (run 45311869550), and is one of the spawn-heavy tests that time out on macOS under load (#1956) — so it may be the same timing sensitivity showing on a slower runner, not a Windows-only defect.
What is wanted
Find out whether each failure is a timing assumption in the test (a fixed wait, a port query racing process exit) or a real product race on Windows.
Fix the test or the product accordingly. Don't paper over it with a blanket retry.
Both files are under packages/codev/src/agent-farm/__tests__/.
Activity