deepseek-harness/packages/subprocess/subprocess-local/tests
Yichen Jiang 32ddfcd89c fix(subprocess): read the process table once per terminal poll
MacProcessInspector answered the descendant tree and every member's
liveness with its own `/bin/ps` fork, so one readiness poll cost N+1
full table reads for N tracked descendants. With execFileSync on that
path and a 50 ms poll interval, any command spawning two or more
children saturated the host event loop until it exited.

ProcessInspector.snapshot() now returns one ProcessSnapshot that
answers tree, session, and alive from a single observation, and
signalProcess takes the caller's observation so its PID-reuse fence
does not re-read the table per member.
2026-08-27 13:06:12 +08:00
..
fixtures Merge remote-tracking branch 'origin/master' into worktree/command-attachment-envelope 2026-08-19 11:11:15 +08:00
local.spec.ts fix(subprocess): read the process table once per terminal poll 2026-08-27 13:06:12 +08:00
process-exit.spec.ts fix(subprocess): read the process table once per terminal poll 2026-08-27 13:06:12 +08:00
process-inspector.spec.ts fix(subprocess): read the process table once per terminal poll 2026-08-27 13:06:12 +08:00
spawn.spec.ts test(subprocess): measure the pipe-drain settle from before the pid-file handoff 2026-08-13 10:47:44 +08:00
terminal.spec.ts fix(subprocess): read the process table once per terminal poll 2026-08-27 13:06:12 +08:00
windows-inspector.spec.ts fix(subprocess): read the process table once per terminal poll 2026-08-27 13:06:12 +08:00