Files
codex/codex-rs
Benjamin Carlsson f7184ab849 Recover cloud conversation history on idle TUI reconnect (#64770)
## Why

Reattaching a cloud reply stream after a disconnect can leave gaps in
the transcript. Queued follow-ups also need to wait until the TUI has
caught up and knows whether a turn is already running.

## What changed

- Automatically resume eligible idle cloud conversations with history
  recovery. Replay missed items and repair partial replies in place while
  preserving the draft and native terminal scrollback.
- Hold queued follow-ups until the reattached stream has delivered its
  pending events and any active turn has settled.
- Reconcile queued async question answers against recovered history.
  Drop answers already recorded and return unresolved unsent answers
  to the composer for review.

## Testing

Add regression coverage for transcript repair, scrollback preservation,
queued input during catch-up, and async question answer recovery.

GitOrigin-RevId: 3378479ff886204cdc473a701ef51b3fc8b6b5c0
2026-11-30 17:27:17 +00:00
..
…
…
…
…