[Windows][WSL] Switching Agent Environment from Windows Native to WSL hides existing project sessions
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.803.81509
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Windows 11 x64, WSL2 with Ubuntu
What issue are you seeing?
When I switch Codex App Settings → Agent Environment from Windows Native to Windows Subsystem for Linux (WSL), some existing sessions under my projects are no longer visible.
The sessions do not appear to be deleted. Pinned sessions remain visible, while some non-pinned sessions disappear.
If I pin an affected session, it becomes visible again.
I first noticed this issue about 2–3 weeks ago, and it is still present in Codex App 26.803.81509.
What steps can reproduce the bug?
- Open Codex App on Windows.
- Set Settings → Agent Environment to Windows Native.
- Open a project that already contains multiple sessions.
- Confirm that the sessions are visible.
- Pin one or more sessions for comparison.
- Change Settings → Agent Environment to Windows Subsystem for Linux (WSL).
- Open the same project again.
- Some previously visible non-pinned sessions are no longer shown, while pinned sessions remain visible.
- Pinning an affected session makes it visible again.
What is the expected behavior?
Changing the Agent Environment should change where the agent executes commands, but existing project sessions and conversation history should remain visible.
Existing sessions should remain accessible regardless of whether they were originally created using Windows Native or WSL.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Windows desktop Settings → Agent Environment flow and the project-session listing used after switching between Windows Native and WSL. Reproduce the issue with pinned and non-pinned sessions, then trace why the same project shows different sessions; done means existing sessions remain visible in both environments and pinning is no longer required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100