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
test(ext): daemon-runtime-spawn polls fast — kills worker-pool flake
ensureBundledDaemon gained an optional { startTimeoutMs } that flows
through to ensureDaemon's existing parameter. Production callers (3
sites) call it with no args; behavior unchanged. The spawn-merge test
suite now passes startTimeoutMs: 200, dropping per-test runtime from
~15s to ~250ms (5 tests × 1s instead of 5 tests × 15s).
Why: the slow test surfaced as a vitest worker-pool crash on Windows
+ Node 24 push-event CI runs ([vitest-pool]: Worker forks emitted
error after the 75s test file completes). The matrix slot's
pull_request run completed identically and passed; the difference was
runner state at worker teardown after a long-running file. Fixing the
test to fail-fast removes the worker stress entirely.
Coverage unchanged: spawn() still observed before ensureDaemon throws.
The 5 cases (provider env merged, empty {} → no passphrase, hard-coded
overrides win, back-compat without provider, no process.env mutation)
all still pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments