mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## Why With `NonfatalClockReadErrors` enabled, a clock failure after a successful read could be suppressed if an earlier failure had already been reported in the same turn and context window. This left the model without a fresh notice that the clock was unavailable again. ## What changed Clear `last_clock_failure` after a successful clock read so a subsequent outage produces a new notice while consecutive failures remain deduplicated. ## Testing Add a regression test that scripts two failures, a successful read, and another failure within one turn. It verifies that the consecutive failures share one notice, recovery delivers a time reminder, and the later failure adds a new notice. GitOrigin-RevId: f2a9c4d7b63f2e8408a47b1803b0bc4577f23f32