Files
codex/codex-rs/core/tests/suite
jif 490e213e17 Terminate unregistered exec processes on startup interruption (#63415)
## Why

Interrupting `exec_command` after launch but before terminal registration
can leave the process running. The network denial monitor holds a strong
reference that prevents startup cleanup from dropping the process.

## What changed

Give the network denial monitor a weak reference so startup cleanup can
terminate the process on interruption. The monitor can still terminate a
registered process when a deferred network approval is denied.

## Testing

Add a regression test that interrupts startup while plugin attribution
is waiting on the exec server and checks that the server receives
`process/terminate` for the launched process.

GitOrigin-RevId: 54eb237028f9057d8520098b640782fe85c58331
2026-11-23 19:32:41 +00:00
..