mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## What changed - Add sampling retry counters that distinguish transport retries from authentication recovery, with failure reasons. - Record attempt counts and final outcomes for successful, failed, cancelled, and superseded sampling requests. - Carry retained-score telemetry until the consumer accepts or discards the score, so queued scores that expire are recorded as superseded and accepted early scores remain successful even if response draining fails. ## Testing Add metric assertions for transient recovery, retry exhaustion, authentication recovery, cancellation, supersession, and retained-score acceptance or discard, including expiry while a score is queued. GitOrigin-RevId: 36babd6f431f22cf15b73355e6e026a256a81004