Codex app update lost local thread history

Open 💬 2 comments Opened Jun 10, 2026 by YangchenxiWu
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

I already submitted in-app feedback. Feedback/session ID:
019eafa9-7bd1-7370-b528-91aba7f70533

After updating Codex app, my previous Codex app thread history disappeared from the sidebar. This is not ChatGPT history.

Current visible local threads only start from 2026-06-04, about 17 threads. My Codex usage is around 390M lifetime tokens and I had many more Codex app conversations before the update.

Same account/workspace. Current version: codex-cli 0.138.0-alpha.7.

Current local store:

  • ~/.codex/state_5.sqlite only contains the new 17 threads
  • ~/.codex/sessions only contains sessions from 2026-06-04 onward
  • session_index.jsonl only has the current/new index

I also found an older Codex thread id in a crash dump:
019e6e80-2278-7dc1-a061-d53c4cd5b2de

Please help recover or reindex the old Codex app local thread history.

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 2 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #26236
  • #26157
  • #27251
  • #27159
  • #27314

Powered by Codex Action

YangchenxiWu · 2 months ago

Potentially related to #26236 and #27251. I’m leaving this open for now because my case includes a feedback/session ID and local-store details that may help debugging.

Feedback/session ID:
019eafa9-7bd1-7370-b528-91aba7f70533

In my case, only threads from 2026-06-04 onward are visible after the update, while older Codex app history is missing from the sidebar.