Skip to content

Windows app: WSL agent controls missing despite Settings search results; existing WSL projects open with invalid paths #50392

Open

Description

@Rust-soham

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/wsl also 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

Image Image Image Image Image

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?

  1. Open the Windows desktop app with an existing project stored in Ubuntu WSL2.
  2. Search Settings for wsl.
  3. Select the WSL-related search results and observe that the corresponding controls are absent.
  4. Set the integrated terminal shell to WSL.
  5. Open an existing chat in the WSL project and open its integrated terminal.
  6. 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

  1. added
    app
    on Oct 2, 2026
  2. added
    bug
    windows-os
    on Oct 2, 2026
  3. github-actions commented on Oct 2, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. rbnrong commented on Nov 20, 2026

    @rbnrong

    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, then stage=completed and hostId=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 generated cd. 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.

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

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions