Files
codex/codex-rs/core/tests/suite
cooper-oai 7085656b5e Reuse runtime-authenticated Responses WebSockets (#63175)
## Why

Reconnecting for every runtime-authenticated request adds a WebSocket
handshake and forces Codex to resend the full input instead of continuing
from the previous response.

## What changed

Allow requests to reuse an open WebSocket when the request headers,
connection key, runtime ID, and parent routing affinity still match.

## Testing

Cover reuse within and across turns, including incremental input through
`previous_response_id`, and verify that credential replacement and account
switches open new connections. Verify that a paused runtime is rejected on
reconnect after the server closes its WebSocket.

GitOrigin-RevId: cb89b9712f43027482147077a60d5c78fbdfd753
2026-11-22 19:12:31 +00:00
..