Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Codex App: 26.930.21537 Windows package: 26.930.2377.0
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26300.0 x64, WSL2, Ubuntu. Codex CLI inside WSL: 0.159.2.
What issue are you seeing?
I previously could select whether the agent ran natively on Windows or inside WSL. That setting is now absent.
Searching Settings for wsl still returns:
- “WSL” under Connections.
- “Run the agent inside WSL” under General.
However, selecting these results does not expose either control:
- General has no agent environment selector.
- Connections only shows “Control this PC,” “Control other devices,” and “SSH,” with no WSL tab.
- Opening
codex://settings/connections/wslalso opens Connections without a WSL tab.
The integrated terminal can still be set to WSL, but existing WSL project chats generate invalid Windows-style paths when opening it.
For example, a saved project at:
\\wsl.localhost\Ubuntu\home\<user>\projects\effect-rs
opens a WSL terminal and automatically runs:
cd 'C:\home\<user>\projects\effect-rs'
Bash returns:
-bash: cd: C:\home\<user>\projects\effect-rs: No such file or directory
The shell remains in the app’s WindowsApps installation directory instead of the project directory. The same behavior occurs with another WSL project, baithak.
What steps can reproduce the bug?
- Open the Windows desktop app with an existing project stored in Ubuntu WSL2.
- Search Settings for wsl.
- Select the WSL-related search results and observe that the corresponding controls are absent.
- Set the integrated terminal shell to WSL.
- Open an existing chat in the WSL project and open its integrated terminal.
- Observe the generated cd 'C:\home...' command and Bash error.
What is the expected behavior?
Settings should provide a working way to select or connect to a WSL agent environment. Search results should navigate to controls that actually exist.
Opening a WSL project’s terminal should use its Linux path, such as /home/<user>/projects/effect-rs, and start in that directory.
Additional information
The WSL project directories exist, and Codex CLI works when launched directly inside WSL.
This reproduces in older chats across multiple projects. I have not confirmed the underlying cause or whether the missing controls and terminal path error share one cause.
Related reports: #14925 (closed, missing WSL runtime setting) and #50223 (open, malformed Windows/WSL paths).
Screenshots attached show the stale Settings search results, missing controls, and terminal errors.
Activity
github-actions commentedon Oct 2, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
rbnrong commentedon Nov 20, 2026
Your screenshots pin down an early version of the settings problem: on 26.930 the search index knew about Connections → WSL, but following the link still showed only the other tabs. There’s a useful comparison in the November 7 report: that installation logged
enrollment=rollout, thenstage=completedandhostId=remote-wsl:Ubuntu. After the reporter switched back to legacy mode, the WSL link also landed on the SSH tab. I wouldn’t infer that your October installation had migrated just from the search result.I saw the same
/home/…→C:\home\…symptom on 26.1117 in a chat that the Windows host had picked up. If you're still seeing this, one comparison that leaves the old chat untouched is to look at an existing startup log for the host ID and migration stage, alongside the WSL terminal’s generatedcd. The terminal command shows the bad path directly; the host ID helps distinguish a missing settings tab from a chat being opened on the wrong host.