mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why MCP runtime refreshes waited for capability discovery and host MCP configuration to finish before requesting HTTP MCP servers from the selected remote environment. That serialized two reads that can be in flight together. ## What changed Start the remote environment config read alongside host MCP configuration, including executor capability discovery. Start the read's 10-second timeout after host configuration is ready so a serial executor can queue the read behind discovery without consuming its timeout. Merge the results with host server precedence and requirements still enforced. ## Testing Add V1 and V2 integration cases that hold both executor replies until both requests arrive, then verify host precedence and requirements. Add a paused-clock test that covers a queued read and confirms a stalled read times out 10 seconds after discovery completes. GitOrigin-RevId: d974f0f575559bfe6b756de11aa460399fdabf25