mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
## Why A streamable HTTP MCP handshake could time out while its executor-backed HTTP request continued running, leaving the serial executor blocked for later requests. ## What changed - Track the remaining initialization deadline for streamable HTTP transports. - Apply it to `initialize`, `notifications/initialized`, and discovery HTTP requests, then clear it when the handshake finishes. ## Testing - Added a regression test that stalls the remote MCP endpoint, waits for the handshake timeout, and verifies that a subsequent executor request completes. GitOrigin-RevId: d4980a332e898309c885cbaa4fdd598924b440e1