#1666

Keep the persistent child SIGKILL test off the runner's process group

Draftfazxeswants to merge intofrom

Summary

  • The persistent child SIGKILL test in gateway-stream-lifecycle.test.ts writes its pid file before the marker it waits for, so it no longer reads a missing or empty pid file.
  • The test's cleanup signals only a recorded pid above 1 that is not the runner, so an empty pid file can no longer send SIGKILL to pid 0 and kill the runner's own process group.
  • Cleanup skips the recorded pids once they have exited, so it never signals a pid the system has given to another process.

Activity

1
fazxes7d ago

E2E shard 1/4 reported tui-file-picker.test.ts as passing only on retry: the first run failed at tests/e2e/tui-file-picker.test.ts:976 (expected less than 4096, received 5108). This PR changes only gateway-stream-lifecycle.test.ts, so that failure is unrelated to it.

This pull request is a draft

Merging is unavailable until it is marked ready for review.