Repository navigation
[Desktop] Long conversations show only recent turns after update although full rollout history remains local #31995
Description
Summary
After updating to the ChatGPT desktop app that includes Codex, opening existing long conversations shows only the most recent turns. Older turns are not accessible in the conversation UI, even though the complete rollout files remain present and the app-server successfully pages through stored turns.
This reproduces across multiple existing long conversations and looks like a Desktop transcript hydration/rendering regression rather than data loss.
Environment
- Product: ChatGPT desktop app with Codex
- Desktop app version:
26.707.31428 - Bundled Codex version:
codex-cli 0.144.0-alpha.4 - OS: macOS 15.7.3
- Architecture: arm64
- Local thread history mode: existing threads are marked
legacy
Steps to reproduce
- Have one or more existing Codex conversations with substantial history.
- Update to the ChatGPT desktop app build above.
- Open an existing long conversation.
- Scroll upward and try to reach the beginning of the transcript.
- Only the recent portion of the conversation remains visible; earlier turns cannot be reached.
Expected behavior
The complete stored conversation should be viewable. Incremental history loading may be used for performance, but all older pages should eventually be merged into the transcript while preserving a usable scroll position.
Actual behavior
Only the recent turns are rendered in the conversation view. The UI behaves as if older history is unavailable, even though the storage and app-server layers still contain and return it.
Local diagnostics
The following checks were performed without modifying any Codex data:
PRAGMA integrity_checkon~/.codex/state_5.sqlite:ok- Thread rows in the state database: 1,504
- Corresponding rollout files found: 1,504
- Missing rollout files: 0
- Empty rollout files: 0
- Active session storage: approximately 1.9 GB
- Archived session storage: approximately 705 MB
- A
threads history modemigration was applied during the update; all existing rows currently reporthistory_mode = legacy - Desktop logs recorded 40 successful
thread/turns/listresponses witherrorCode=null - No
Failed to load older thread turnsorFailed to load remaining thread turns after resumemessages were found - The renderer repeatedly logged:
ResizeObserver loop completed with undelivered notifications. - In one long-conversation window, 21 successful history-page responses were followed by 129 of those renderer errors
This suggests the rollout reader and pagination API are working, but the Desktop renderer or virtualized transcript state is not reliably exposing the hydrated older turns.
Suggested areas to inspect
- Merging
thread/turns/listpages into canonical transcript state - Virtualized-list scroll anchoring when older pages are prepended
- Whether repeated
ResizeObservererrors prevent older entries from becoming reachable - Compatibility between
history_mode = legacy, tail hydration, and canonical turn history - A visible recovery/loading state when older turns cannot be rendered
Related issue
#21211 discusses large-thread hydration and rendering performance, but this report is specifically about successful history-page responses not becoming accessible in the Desktop transcript.
Raw session transcripts and full logs are intentionally not attached because they may contain sensitive data. Sanitized excerpts can be provided if needed.
Activity
github-actions commentedon Jul 10, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
xiaoliuxiaoliu commentedon Jul 10, 2026
I reviewed #31047 and believe this is a different failure mode. In #31047, existing threads render completely blank and the report includes intermittent SIGKILL crashes. In this issue, existing long threads open successfully and recent turns render normally, but older paginated turns cannot be reached. The
thread/turns/listrequests complete successfully, and no thread-loader failure or crash was observed.This appears to be a transcript hydration/virtualized-rendering issue rather than a blank-thread or process-crash issue. If maintainers determine that both share the same root cause, I am happy to consolidate this report.
caokaizz commentedon Jul 30, 2026
I can confirm the same failure mode on another long local Codex Desktop thread.
Additional diagnostics
0.146.0-alpha.3.1history_mode: legacythread/rollbackwarning appears unrelatedExpected behavior: every stored user/final-agent message should remain reachable in the Desktop conversation, including the tail of a long legacy thread after compaction.
I am intentionally not attaching the raw transcript or local paths because they contain private project information. Sanitized event summaries can be provided if useful.
nos1609 commentedon Aug 28, 2026
Additional sanitized Remote SSH reproduction on current Codex Desktop for Windows.
The Desktop transcript again omitted task text, but the supported task-reading path showed that the data was still present:
read_threadreturned the recent turns;27, 15, 71, 2, 3, 5, 15;This narrows the failure to Desktop transcript hydration/rendering. It is not missing model output, an empty rollout turn, a wrong-host lookup, or a stale native task projection. The failure also affects recent text in a Remote SSH-backed task, not only old pages in a local legacy conversation.
Environment:
26.825.4187.0codex@26.825.321470.150.1Expected: all items returned by the supported task reader should remain visible in the Desktop transcript.
No thread IDs, turn IDs, paths, hostnames, addresses, repository names, prompts, credentials, account data, or raw transcripts are included.
sinadarvi commentedon Aug 31, 2026
Additional sanitized reproduction from Codex Desktop on macOS:
01a05285-49c2-7f62-bccd-606b2470e6cbExpected: every completed user and assistant turn remains visible and paginatable after compaction.
Actual: earlier completed turns disappear from the Desktop transcript/index even though their local records remain present.
This appears consistent with transcript hydration/pagination/rendering behavior rather than data loss. No raw message content, repository data, paths, credentials, or log attachment is included.
rowbradley commentedon Sep 4, 2026
Confirming that this persists on a newer ChatGPT Desktop build and is causing material loss of visible working context.
Environment:
26.901.22334, build7746codex-cli 0.153.015.7.9build24G830, arm64history_mode=paginated, unlike the original report'slegacyhistorySymptom:
Previously visible portions of a task disappear from the transcript UI. I have seen this across multiple tasks, including shorter tasks, so it does not appear limited to context compaction or exceptionally long transcripts.
Read-only local diagnostics on one affected task:
PRAGMA integrity_checkon~/.codex/state_5.sqlite:okthread/turns/listresponse and four successfulthread/items/listresponses, all witherrorCode=nullResizeObserver loop completed with undelivered notificationserrorsThis looks like transcript hydration or rendering failure after successful pagination, rather than data deletion.
Product impact:
This is disrupting active work. Decisions and prior instructions disappear from view, making it difficult to verify what was agreed, forcing premature handoffs into new tasks, and reducing confidence that Codex can act as a reliable project record.
I have not modified or rebuilt the local state database. I can share an affected session through the in-app feedback flow, but I will not post raw transcripts or logs publicly because they contain private project data.
Could maintainers confirm whether recent history/rendering fixes cover paginated threads as well as legacy threads?
furkancak1r commentedon Sep 9, 2026
Additional report from ChatGPT Desktop on macOS, checked on 2026-09-09.
The user reports that an existing Codex conversation is present in the app, but the rest of its history does not load.
Read-only checks on the affected local task:
This supports a similar symptom: persisted history is readable through the task-reading API while the user cannot access the remaining history in the UI. It does not establish the exact renderer/root cause, and I have not independently reproduced the visual failure or verified every history page.
Expected: the conversation view should expose the persisted older history, or show an actionable loading error.
Raw transcripts, message contents, private project paths and task identifiers are omitted.