[Windows/WSL] Project chat history disappears after update; duplicate empty WSL projects appear
What version of the Codex App are you using (From “About Codex” dialog)?
26.1117.4957.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows 11 专业版 10.0.26200 64 位/WSL2 Ubuntu 24.04
What issue are you seeing?
After updating the Codex desktop app on Windows, my existing project-to-conversation associations were lost. Enabling the WSL connection also causes duplicate, empty WSL projects to appear in the sidebar.
My primary concern is recovering historical conversations under their original projects. The project files still exist, and many conversation records are still present locally, but Codex no longer displays them correctly.
What steps can reproduce the bug?
Use Codex Desktop on Windows with multiple existing Windows projects and WSL2 (Ubuntu 24.04) projects.
Update the desktop application.
Open Codex and enable the WSL connection under Settings → Connections → WSL.
Wait approximately 30–60 seconds.
Observe that duplicate copies of Windows projects appear, labeled WSL: Ubuntu-24.04, with green connection indicators.
Open an affected project
What is the expected behavior?
Two sets of projects appear: normal Windows projects and WSL-labeled duplicates.
The WSL-labeled duplicates generally show no conversations.
Some original projects are greyed out or lose their conversation grouping.
The BREEZE_HCR_MPC project appears twice, but both entries show empty conversation lists.
Disabling the WSL connection removes the duplicate projects, but also prevents me from accessing the WSL project normally.
Re-enabling the connection brings the duplicates back.
Restarting Codex does not resolve the problem.
Existing project-to-conversation associations should survive application updates.
Windows projects should not be duplicated as WSL projects.
Existing WSL project conversations should remain accessible.
Enabling or disabling a WSL connection should not corrupt other project associations.
Additional information
Diagnostic findings
I inspected the local Codex data and found:
Approximately 192 conversation records in the Windows Codex SQLite database.
No conversation records in the separate WSL Codex database.
Earlier backups containing 13 local project definitions and more than 120 explicit project-to-conversation assignments.
Later application state files in which those assignments had disappeared.
Some existing session files under the Windows .codex/sessions directory, despite the corresponding conversations no longer appearing under their projects.
Some historical WSL conversation records containing an unexpected Windows-style working directory, such as C:\home<user>\writing\BREEZE_HCR_MPC, rather than the actual Linux directory /home/
The affected WSL project directory still exists. The WSL Codex CLI is also authenticated, reporting Logged in using ChatGPT.
These findings suggest a possible regression in project/thread migration, host identification, or Windows/WSL path handling.
Workarounds attempted
I tried restoring project definitions and conversation associations using older local configuration backups and custom recovery scripts.
Some project entries could be restored temporarily, but the historical conversations were not reliably displayed. Duplicate projects continued to appear after reconnecting WSL.
These recovery attempts modified local metadata, so the current state is no longer an untouched post-update installation. However, the initial project association loss and duplicate WSL project behavior occurred before these recovery attempts.
Request
Could the maintainers investigate the migration and project association handling for Windows installations using WSL connections?
I would particularly appreciate:
A supported way to restore existing conversations to their original projects.
A fix preventing Windows projects from being duplicated under the WSL connection.
Consistent handling of Windows and WSL paths and project identities.
A migration recovery mechanism that does not require manually editing internal databases.
I can provide additional redacted diagnostic logs and screenshots if needed.
The highest-priority issue is that my historical conversations still exist locally but are no longer accessible under their original projects.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #62735
- #62766
Powered by Codex Action
same fucking problem again. fuck openai. why the fuck does openai not give a shit about backward compatibility? openai new fuckshit model is getting absolutely fucking destroyed by anthropic new flagship model
same problem
same, fix please
I saw the same loss of project associations on Windows 11 Pro 25H2 x64 (build 26200.9711), WSL 2 / Ubuntu 24.04.3 LTS, ChatGPT Pro. My desktop displayed 26.1117.41037, Windows package 26.1117.4957.0.
Since you still have backups of the original assignments, one check that helped me was to follow one previously active chat by its original thread ID. I checked two things:
- Could the Ubuntu app-server open that ID and read its conversation history after a restart?
- Did Desktop map that same ID to the intended project in
thread-project-assignmentsand toremote-wsl:Ubuntuinthread-project-membership-host-ids?
In my case the Windows store still had the expected transcript and saved title. I backed up both stores, tested one small project in an isolated copy, then restored both the WSL history and the Desktop assignments. Once both checks passed, the chat opened from its project with the title I had given it. I repeated this for the other two WSL projects.
That recovered my historical WSL chats. I’d also welcome a supported repair that performs these checks, especially for installations like yours that have both Windows-native and WSL projects. The recovery in #62766 is consistent with what worked for me.
I posted my full recovery steps and verification results, including where I found my saved chat titles, how I checked the archived histories, and how I restored live iPhone access.