mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
## Why A delayed conversation classification can reach execution after a newer request has already published a score and committed history, leaving it with no useful work to contribute. ## What changed Pass the classification's sampling timestamp into conversation requests and check for newer scores and retained history before starting inference. Return `Superseded` only when both have advanced; keep requests that can still contribute either a score or history. ## Testing Add regression tests covering supersession of scores and history separately and together, including a classification delayed by permissions. Verify skipped requests send no inference request and preserve cached scores, approvals, and score progress. GitOrigin-RevId: ef78a59e2010a82ac4f1fb93568a562447187099