codex - 💡(How to fix) Fix Codex Desktop freezes when opening large pinned project thread after update

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

After updating Codex Desktop, opening one large pinned project thread freezes the desktop UI. Other threads still open normally. The problematic thread previously worked for months. The app does not appear to be CPU or memory bound during the freeze.

Root Cause

The affected thread is an older long-running project thread. The local rollout JSONL was originally about 1.8 GB because it contained many embedded data:image base64 payloads and a long history. This thread started freezing only after a recent Codex Desktop update.

RAW_BUFFERClick to expand / collapse

Summary

After updating Codex Desktop, opening one large pinned project thread freezes the desktop UI. Other threads still open normally. The problematic thread previously worked for months. The app does not appear to be CPU or memory bound during the freeze.

Environment

  • Codex Desktop: 26.527.31326 (bundle version 3390)
  • Bundle identifier: com.openai.codex
  • Codex CLI bundled with app: codex-cli 0.135.0-alpha.1
  • macOS: 26.3 (25D125)
  • Workspace type: local project thread

Symptoms

  • Clicking the affected pinned thread freezes the Codex Desktop UI.
  • The thread content never renders, and the input box is not usable.
  • In some attempts, the rest of Codex becomes difficult/impossible to navigate away from until restart.
  • CPU and memory remain relatively low, so it looks like a UI/render/state issue rather than resource exhaustion.
  • Other Codex chats open successfully.

What seems to trigger it

The affected thread is an older long-running project thread. The local rollout JSONL was originally about 1.8 GB because it contained many embedded data:image base64 payloads and a long history. This thread started freezing only after a recent Codex Desktop update.

Reproduction

  1. Have a long-running Codex Desktop project thread with many turns and embedded images in its local session history.
  2. Pin the thread.
  3. Update Codex Desktop to 26.527.31326.
  4. Restart/open Codex Desktop.
  5. Click the pinned thread.
  6. Observe that the UI freezes and the thread content/input never becomes usable.

Recovery attempts tried

I tried reducing the local session file size to see whether the UI could recover:

  • Replaced embedded data:image base64 payloads with placeholders.
  • Reduced the active JSONL from ~1.8 GB to ~61 MB with 21,523 valid JSONL rows.
  • Then made a stricter UI-safe copy around ~16 MB with 2,727 valid JSONL rows, keeping turn boundaries and user/assistant content.
  • Validated the repaired JSONL had 0 parse errors.
  • The background thread reader could reconstruct recent turns from the reduced file.
  • Codex Desktop still froze when opening the thread.

This suggests the desktop app may also be using cached/indexed UI state, or the rendering path still cannot handle some historic thread structure even after the raw session was reduced.

Expected behavior

Codex Desktop should either open the large historic thread, progressively render it, or fail gracefully with an option to open a compact/recovered view. It should not freeze the desktop UI.

Actual behavior

The thread freezes on open and the user cannot access the old chat content or continue typing in that thread.

Privacy note

I am not attaching the raw session because it contains private project context and was originally very large. I can provide additional sanitized metadata if useful.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Codex Desktop should either open the large historic thread, progressively render it, or fail gracefully with an option to open a compact/recovered view. It should not freeze the desktop UI.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex Desktop freezes when opening large pinned project thread after update