mirror of
https://github.com/openai/codex.git
synced 2026-12-05 01:00:54 +00:00
Replace fixed 500 ms sleeps in `helper_attempt_is_shared_after_cancellation` with polling of the helper completion marker every 10 ms, bounded by a five-second timeout. This lets the test observe completion independently of the cancelled headers or refresh request without assuming the helper finishes within 500 ms. Preserve the assertions that subsequent calls reuse the same helper attempt. GitOrigin-RevId: 2612679aff756306ea3e05ef7bb9b4db02633fd5