mirror of
https://github.com/openai/codex.git
synced 2026-12-06 01:10:58 +00:00
## Why The routing test needs to verify that Guardian's decision controls whether a request reaches its destination. Loopback addresses are covered by `NO_PROXY`, so the probe must explicitly use the managed proxy. ## What changed Send both probes through `HTTP_PROXY` to a local mock origin. Assert that the approved command exits successfully and receives the origin's response, and that the denied command reports Guardian's denial without sending a second request to the origin. Collect output across the initial `exec_command` response and subsequent polls so the test can check stdout even when it arrives before the process exits. GitOrigin-RevId: aa32a588e9ad9a049621242d8b8a567462237cca