mirror of
https://github.com/openai/codex.git
synced 2026-11-09 20:50:33 +00:00
## Why After Cloud thread history is replayed in the TUI, notifications for the same completed assistant items can render their text again. ## What changed Track completed assistant items rendered from Cloud history by turn and item ID, and ignore subsequent starts, text deltas, and completions for those items. Apply this tracking when resuming threads and replaying thread snapshots, while allowing unfinished items and new turns to continue streaming. ## Testing Extend the Cloud resume picker test to cover repeated notifications for completed messages, continued streaming in an active turn, and responses in a later turn. Retain coverage for queued user message reconciliation without resubmission. GitOrigin-RevId: 1a829a2964586d876339c7c759022e4d366c8b2e