Windows Desktop freezes on large chats and restored threads disappear from sidebar
Summary
Codex Desktop on Windows becomes practically unusable with long-running large chats, and restored chats may disappear from the sidebar after reinstall even when their session files and index entries are intact.
This is a severe workflow and data-visibility problem for users who keep substantial coding and operations projects in one conversation. Competing desktop assistants remain usable with similarly long histories; Codex should not require users to archive or abandon their main working chat just to type reliably.
Environment
- Windows desktop application
- Store package observed before reinstall:
26.707.9564.0 - Session metadata CLI version:
0.144.2 - Affected active transcript: approximately
260.55 MB/273,696,359bytes - Hot session tree before mitigation: approximately
1.168 GB, 53 files
Symptoms
- Manual typing freezes the window or produces visible flicker.
- Voice input from an external dictation application makes the failure easier to trigger, but ordinary typing also freezes.
thread/turns/listoperations take roughly 2-4 seconds repeatedly.- A direct UI-state inspection took approximately 56 seconds and then failed.
- Renderer logs showed recurring
ResizeObserver-related UI errors. - Reinstalling the application did not solve the large-chat problem.
- After restoring a complete backup, several large chats were absent from the normal sidebar even though:
- their
.jsonlfiles were intact; - their SHA-256 hashes matched the backup;
- their thread IDs and index entries existed;
- direct thread reads worked.
- The missing threads became discoverable only after manually toggling their archive state / re-registering them.
Large restored sessions involved
368,333,366bytes273,696,359bytes237,447,022bytes130,293,463bytes122,762,931bytes
Removing these histories from the hot session tree reduced it to about 92 MB and immediately made the application lighter, but hiding or archiving active project history is not an acceptable solution.
Reproduction outline
- Maintain a long-running Codex Desktop task until its rollout JSONL reaches roughly 250-300 MB.
- Reopen that task and type several messages, including longer dictated text.
- Observe increasing input latency, renderer flicker, UI freezes, and slow thread-list calls.
- Back up
%USERPROFILE%\\.codex, reinstall Codex Desktop, and restore the session files and session index. - Observe that some large restored threads do not appear in the regular sidebar even though their files and IDs are readable.
Expected behavior
- Message history should be virtualized, paged, or otherwise loaded incrementally.
- Typing and dictation must remain responsive regardless of transcript size.
- Background thread listing must not repeatedly parse entire multi-hundred-megabyte JSONL files.
- Reinstall + restore should deterministically rebuild the thread database/index and display every non-archived chat in the sidebar.
- The application should clearly distinguish archived, quarantined, unindexed, and corrupted sessions instead of silently hiding them.
- A built-in repair/reindex command should be available.
User impact and feedback
The current behavior wasted hours across diagnosis, backup, failed reinstall attempts, recovery, and manual re-registration of chats. The user described the experience as unacceptable and specifically asked that the developers be told that Codex performs dramatically worse than Claude for large-chat workflows and requires constant manual intervention.
Related issue families
This may overlap with reports around large histories/session scanning and Windows renderer instability, including #18693, #20864, #20544, #20269, #22004, and #24904. The missing-sidebar-after-restore behavior may be a separate indexing defect.
Please treat large-chat responsiveness and deterministic restore/reindex behavior as core data-safety and usability requirements, not as an edge-case optimization.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗