Skip to content

threads missing at every single start of codex for windows #15052

Closed as duplicate

Description

@spl1974

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

26.313.41514

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

I am using version 26.313.41514 on Windows 11. Since today (March 18, 2026), all threads have disappeared from the sidebar. The issue affects threads in two different projects.

The PC was restarted between March 17 and March 18, but no updates were installed during that time.

I asked Codex to recover the sessions, and they are still present in the directory .codex/session/yyyy/mm/dd. Codex attempted a recovery, but after restarting the program, the restored threads disappeared again.

What steps can reproduce the bug?

Close the app and restart

What is the expected behavior?

all thread should be in the sidebar.

Additional information

I do not use WLS and I tried to make a news install of codex and a new login of my user. I linked my OPenAI Pro user.

Activity

  1. added
    appIssues related to the Codex desktop app
    on Mar 18, 2026
  2. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    on Mar 18, 2026
  3. spl1974 commented on Mar 18, 2026

    @spl1974
    Author

    Should be the same as #13846 and #13713

  4. Janzstone commented on Mar 19, 2026

    @Janzstone

    This has been happening to me too! I was worried I'd lost all the context of the work I'd done, but it seems to still exist? Thanks @spl1974 for mentioning the directory where to look!

  5. marciocamello commented on Apr 1, 2026

    @marciocamello

    do it this and solve ok on windwows or similar for mac/linux

    setx CODEX_HOME 'C:\Users\your_user.codex'

  6. Janzstone commented on Apr 1, 2026

    @Janzstone

    do it this and solve ok on windwows or similar for mac/linux

    setx CODEX_HOME 'C:\Users\your_user.codex'

    I think you’re missing a \. It doesn’t work though for chat history. Don’t forget “C:\Users\username\.codex” or it won’t load at all.

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 workingwindows-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