Codx Chat History Bug after updating

Resolved 💬 5 comments Opened May 16, 2026 by muyi19950811 Closed May 16, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

OpenAI.Codex_26.513.3673.0_x64__2p2nqsd0c76g0

What subscription do you have?

After updating Codex Desktop on Windows, all local historical sessions across multiple projects fail to resume.

What platform is your computer?

_No response_

What issue are you seeing?

This is what the codex ask me to copy.

Observed error:
cannot resume running thread ... with stale path:
requested C:\Users\<user>\.codex\sessions\...\rollout-<id>.jsonl,
active \\?\C:\Users\<user>\.codex\sessions\...\rollout-<id>.jsonl

Environment:

  • Windows Codex Desktop: OpenAI.Codex_26.513.3673.0_x64__2p2nqsd0c76g0
  • New session cli_version: 0.131.0-alpha.9
  • Older affected sessions: 0.130.0-alpha.5

Evidence:

  • rollout .jsonl files exist and parse correctly
  • state_5.sqlite contains mixed path spellings
  • .codex-global-state.json also contains mixed workspace roots
  • reopening the new client rewrites paths back to \\?\...

Expected:
Codex should canonicalize Windows paths before stale-path comparison.
C:\...\file.jsonl and \\?\C:\...\file.jsonl should be treated as the same file.

What steps can reproduce the bug?

Just Open the history chat.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 3 months ago

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

  • #22854
  • #22403
  • #21898

Powered by Codex Action

Avaxerrr · 3 months ago

I have the same issue I just updated to the newest version 25.513.31313. Previous chat wont open it will just says "Oops, an error has occurred".

<img width="725" height="567" alt="Image" src="https://github.com/user-attachments/assets/8be9449c-dd96-4f8a-a4c3-a71bf8cf4ea2" />

<img width="443" height="167" alt="Image" src="https://github.com/user-attachments/assets/511d3dc6-c4a6-4f8c-9d0f-26d2e8f3088f" />

salaviana · 3 months ago

same problem. cannot chat.

etraut-openai contributor · 3 months ago

We've issued a hotfix to address this. Please update to the latest version.