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
test: CLI multi-spawn tests time out at the 5 s default under load #249
Found while fixing #239 (PR #246). Several CLI tests spawn the built CLI two or more times but keep vitest's 5000 ms default. Under CPU contention each spawn can take 2 to 3 s, so they time out like #239 did.
In packages/cli/test/agents.test.ts, "creates a missing cursor config at the default path and unlinks it" (around line 298) and "registers only the core server by default and the browser relay with --browser" (around line 202) each spawn three times. Tests in the "agents link cursor", "agents link codex" and "agents link claude-code" blocks timed out 4 to 15 times per file run with 8 busy loops on 2 pinned CPUs.
Full coverage runs at load average 17 to 48 also timed out in commands.test.ts ("pickforge-lab artifacts" report tests, the session desktop viewer 8 s bound, desktop env, android fake adb), artifacts-export.test.ts, desktop-windows.test.ts and session-status.test.ts. Each file passes alone.
Activity