mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## What changed - Record review attempt counts and final outcomes with a `retried` tag. - Measure retry waits by failure reason and whether the wait ends in a retry, cancellation, or deadline; count retries only when another attempt will run. - Count required synchronous reviews with the `required_sync` route. - Use the originating turn's telemetry for Guardian reviews so metrics retain that turn's model attribution. ## Testing Add metric assertions for attempt counts, retry outcomes, and waits interrupted by cancellation or deadlines. Extend the delayed cached-score integration test to verify route and retry-wait metrics use the originating turn's model after a model override. GitOrigin-RevId: 681a719ad5dd9e4436cb37b6f5f972cb11a5c890