Skip to content

fix: cancel Windows sandbox on network denial#19880

Draft
viyatb-oai wants to merge 1 commit intocodex/viyatb/fix-network-proxy-denialsfrom
codex/viyatb/windows-network-denial-cancellation
Draft

fix: cancel Windows sandbox on network denial#19880
viyatb-oai wants to merge 1 commit intocodex/viyatb/fix-network-proxy-denialsfrom
codex/viyatb/windows-network-denial-cancellation

Conversation

@viyatb-oai
Copy link
Copy Markdown
Collaborator

Summary

  • Add a cancellation hook to Windows sandbox capture backends.
  • Thread ExecExpiration cancellation into Windows sandbox execution so Guardian/proxy network denials can terminate without waiting for the timeout.
  • Add Windows regression coverage that cancellation is not reported as timeout.

Testing

  • cargo test -p codex-windows-sandbox
  • cargo test -p codex-core process_exec_tool_call_respects_cancellation_token
  • just fix -p codex-windows-sandbox
  • just fix -p codex-core
  • cargo clippy -p codex-core -p codex-windows-sandbox --tests -- -D warnings

Stacked on codex/viyatb/fix-network-proxy-denials.

Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant