openai / openai/codex

Old Codex chats cannot open after desktop app update

Open
#44,947 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug session
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

After updating the ChatGPT desktop app, all of my older Codex chats stopped opening.

Error:
invalid paginated history lineage: missing source rollout

Environment:

  • macOS 26.6.2
  • ChatGPT desktop app 26.901.51231
  • Bundled Codex CLI 0.153.4

Diagnostics:

  • Codex Doctor reports: state DB rows point at missing or unusable rollout files
  • 142 rollout DB rows
  • 134 stale rollout DB rows
  • ~/.codex/sessions appears to have been recreated around 2026-09-12 08:33 JST
  • thread_history_1.sqlite still contains the older chat contents

Restarting the app and restarting the Mac did not fix the issue.

Expected:
Older chats should open normally.

Actual:
The chats remain listed in the sidebar, but opening them fails.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Codex Doctor and inspect ~/.codex/sessions alongside thread_history_1.sqlite, focusing on the missing or unusable rollout files and the recreated sessions directory. Done means the older chats listed in the macOS desktop app open successfully without the lineage error.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust, sqlite
Domain
databases, desktop-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.