mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
## Why A Windows breakaway launch can leave an outer Job Object attached after escaping an inner job. Job membership alone does not establish whether the daemon will be terminated, so rejecting all remaining membership can block valid launches. ## What changed Remove the job-membership checks from the launch preflight and the spawned daemon. Keep the suspended breakaway probe to verify that launch is permitted before stopping an existing daemon, and terminate and reap the probe afterward. ## Testing Add a Windows regression test with nested jobs that verifies the probe and daemon leave the inner job while retaining the outer job, and that daemon startup succeeds. GitOrigin-RevId: 4c6aafd158300fa428ec398d72dc5d3411c0d8b8