mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why Runtime updates reuse unchanged MCP connections, so an explicit `RefreshMcpServers` operation could leave existing server connections intact. ## What changed - Mark explicit MCP refreshes to rebuild connections for every configured server on the next runtime replacement. - Preserve the reconnect request if that replacement is cancelled before it finishes. - Continue reusing connections for ordinary runtime updates. ## Testing Update the transient Apps startup recovery test to wait for both turn completion and the MCP server's ready event before checking the recovered tool. GitOrigin-RevId: cb9fd978b3c07543058a2393a154fb70911531de