mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
## What changed - Wait for the authenticated Noise handshake before sending the JSON-RPC `initialize` request. - Share the configured initialization timeout across the handshake and RPC, while preserving the configured duration in timeout diagnostics. - Record the handshake and initialization RPC as child spans of the existing initialization span, and terminate transport tasks when handshake readiness fails. ## Testing - Cover stalled handshake timeouts and cleanup of the underlying WebSocket. - Cover timeout reporting after the handshake has consumed part of the budget. GitOrigin-RevId: c3eb5f7cfedd8d155fde5b7614fc2eb399ce337c