Skip to content

Codx Chat History Bug after updating #22971

Closed

Description

@muyi19950811

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-.jsonl,
active \?\C:\Users<user>.codex\sessions...\rollout-.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

Activity

  1. added
    appIssues related to the Codex desktop app
    on May 16, 2026
  2. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    sessionIssues involving session (thread) management, resuming, forking, naming, archiving
    on May 16, 2026
  3. Avaxerrr commented on May 16, 2026

    @Avaxerrr

    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".

    Image Image
  4. andkondev commented on May 16, 2026

    @andkondev

    Same issue here: #22956 (comment)

  5. salaviana commented on May 16, 2026

    @salaviana

    same problem. cannot chat.

  6. etraut-openai commented on May 16, 2026

    @etraut-openai
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions