mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## Why Repeated turn diff updates can fill the bounded replay buffer with large payloads and evict events needed to restore the thread. The updates only refresh the status line, which thread replay already refreshes after rebuilding the chat widget. ## What changed Skip `TurnDiffUpdated` notifications when storing events for thread replay. ## Testing Extend the replay buffer regression test with repeated 1 MiB turn diff updates. The test checks that the store retains the pending approval and active turn. GitOrigin-RevId: 371bb1fc989bbb61c498840896779c5ff6479fdf