mirror of
https://github.com/openai/codex.git
synced 2026-09-10 20:26:47 +00:00
## Why A remote process can finish while a network policy review is still pending. Normal process cleanup should withdraw that review without turning the completed command into a review failure or losing its output. ## What changed - Record whether a network policy request was withdrawn because the process finished, was cancelled, lost its executor connection, or timed out. - Treat normal process completion as cleanup while retaining fail-closed behavior for other cancellation causes. - Preserve explicit network denials before policy persistence so cleanup cannot replace the reported call outcome. ## Testing Add an integration test that completes a remote process during a pending network review and verifies that the command reports its successful exit and output without approving the withdrawn request. GitOrigin-RevId: 7f42d75631ee29eba43bf04cc953eea490f553fc