mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why Retry timing assertions can fail if the test is descheduled before retry telemetry is emitted, and parallel tests can leave shared tracing callsites disabled for the test subscriber. ## What changed - Measure retry intervals from the failed request, filter HTTP observations to `/responses`, and track WebSocket stream requests as well as connections. - Keep a tracing interest-cache guard alive and rebuild callsite interest when installing the telemetry capture. - Reserve the connection-failure test's port with a bound socket until the recovery server starts listening. - Wait for the WebSocket warmup request and assert `generate: false` before submitting user input in connection-limit, rate-limit, and overload tests. GitOrigin-RevId: bba39ea2ac29ac8553ae6184139382f1e6cdc7ac