mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## Why History paging failures can prevent the TUI from opening a conversation that is already open elsewhere, even when its prompts and final replies are available through turn summaries. ## What changed - When paginated read-only history loading fails, request the latest 100 turns from `thread/turns/list` with `itemsView: summary` and display them in chronological order. - Clear history pagination state and show a notice that intermediate messages and tool activity are unavailable. Surface the notice during startup, session selection, and command center selection. - Show a concise retry message when the command center cannot load the conversation, preserving the current conversation. ## Testing Extend read-only history tests to cover summary recovery, the 100-turn limit and ordering, the user notice, and preservation of the current conversation when both history loading methods fail. GitOrigin-RevId: c9f06ad58ed5573ce0b4578f429558bfd475830f