mirror of
https://github.com/openai/codex.git
synced 2026-11-12 21:20:34 +00:00
## Why The handshake readiness channel only signals success, so a dropped sender does not explain why the handshake failed. ## What changed Emit structured `codex.exec_server.noise_handshake_failed` warnings before harness handshake failures drop the readiness sender, including a failure reason and environment, executor registration, and stream identifiers. Emit the same event on handshake timeout with `timeout_ms`. Preserve the current tracing span when the `noise_relay.stream` debug span is disabled so the relay task retains its trace context. GitOrigin-RevId: 0b1314d5237b7c77a854c2c0a966391bf856e75d