mirror of
https://github.com/openai/codex.git
synced 2026-11-29 00:00:54 +00:00
## Why The automatic test builder registers only the selected execution environment. When that environment is remote, the Python MCP fixtures need access to the local environment. ## What changed Use `build_with_remote_and_local_env` for the guardian elicitation tests and set each Python MCP fixture's `cwd` to the test process's current directory. Attach the in-memory metrics client through `with_thread_extension` so the yielded Code Mode elicitation test can use the thread created by the builder. GitOrigin-RevId: edc65db60665970e1c98686ab01e0012b47f5c79