Skip to content

After switching Codex Desktop Agent Environment from **Windows Native** to **WSL**, I can no longer create projects. #44507

Closed as duplicate

Description

@denbrazhko

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

26.903.71938

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

After switching Codex Desktop Agent Environment from Windows Native to WSL, I can no longer create projects.

The UI only shows:

Failed to create project

There are no additional details in the UI.

The Codex Desktop logs contain:

[host-app-server-projects] Local app-server project migration failed
errorMessage="Invalid request: AbsolutePathBuf deserialized without a base path"

### What steps can reproduce the bug?

1. Use Codex Desktop on Windows with **Agent Environment = Windows Native**.
2. Create and use several local projects with Windows paths (e.g. `C:\Work\Android\...`).
3. Change **Agent Environment** from **Windows Native** to **WSL**.
4. Restart Codex Desktop.
5. Try to create a new project.
6. Codex Desktop shows **"Failed to create project"** without any additional explanation.

The logs show:

`[host-app-server-projects] Local app-server project migration failed errorMessage="Invalid request: AbsolutePathBuf deserialized without a base path"`

The issue started specifically after migrating the Agent Environment from Windows Native to WSL.

### What is the expected behavior?

_No response_

### Additional information

_No response_

Activity

  1. added
    app
    on Sep 10, 2026
  2. added
    bug
    windows-os
    app-server
    on Sep 10, 2026
  3. Bruce-anle commented on Sep 12, 2026

    @Bruce-anle

    I encountered the same WSL project-add failure and documented a local investigation in #44918. In our reproduction, Windows/WSL UNC project roots were rejected during AbsolutePathBuf deserialization in the Linux app-server. A local patch using the existing LegacyAppPathString representation and wslpath -u passed create/import/update checks and Desktop project-add validation. Implementation details and validation limits are in that report.

  4. 0x464e commented on Sep 15, 2026

    @0x464e

    This is indeed a very bad regression and seeing as how this app seems to receive multiple updates per day, I'm really wondering where the fix for this is? I'm hoping whatever automated agents they have (hopefully) shifting through issues would notice that this is an extremely bad bug (I'd like to say critical, but of course that word is pretty much reserved for security related stuff) and should be prioritized to the max.

    Like I mean c'mon, unable to start a new project/open a folder? How could this possibly pass tests? How is this still not fixed after about a week?
    Anyway, luckily someone under some of these issues said that a workaround is switching to Windows agent, then opening a folder that's under WSL and then switching back WSL agent.

  5. goodman-oai commented on Nov 16, 2026

    @goodman-oai
    Contributor

    Tracked in #41463. Switching from Windows Native to WSL leaves existing Windows project roots in the migration input. Both reports show project creation failing alongside the same AbsolutePathBuf deserialized without a base path error. Matching migration trace

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

    appapp-serverbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions