Files
codex/codex-rs
Krish Chainani 33811295ff Treat Noise relay handshake failures as retryable disconnects (#65114)
## Why

A malformed reply during the Noise relay handshake could surface as a
protocol error and stop connection preparation from retrying.

## What changed

Report handshake failures as disconnects and preserve the reason when the
connection fails before it is ready. Keep authenticated registry rejections
as a distinct error that stops retries.

## Testing

Update the transport test to assert the disconnect reason for both an
unexpected WebSocket text frame and a relay stream reset.

GitOrigin-RevId: 2ad2dbcce5518dcfd35141dd234c87c0d86aa1ae
2026-12-02 00:11:21 +00:00
..
…
…
…
…