Skip to content

Creating any local project fails with the WSL agent enabled. #45008

Closed as duplicate

Description

@IMesche

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

26.908.4834.0

What subscription do you have?

Pro x20

What platform is your computer?

Windows

What issue are you seeing?

Bug: Creating any local project fails with the WSL agent enabled.

Windows Codex: 26.908.4834.0
Bundled WSL backend: 0.154.0-alpha.6.2
Also occurred before updating: 26.903.8094.0.

Existing projects were originally registered using Windows paths.
With the agent now running in Ubuntu WSL2, selecting a valid folder
works, but clicking Create project shows “Failed to create project.”
A test project using a standard Windows folder also fails.
Restarting and updating did not resolve it.

Startup log:
[host-app-server-projects] Local app-server assignment sync failed
Invalid request: AbsolutePathBuf deserialized without a base path

Suspected cause: project migration/import passes Windows-format
root paths directly to the Linux backend without normalization.

Expected: create projects in WSL mode while preserving existing
projects and their Linux execution environment.

What steps can reproduce the bug?

Feedback ID: 01a0949b-a9b0-7531-8b68-f64506084609

What is the expected behavior?

No response

Additional information

my subscription is on [email protected]

Activity

  1. added
    app
    on Sep 12, 2026
  2. added
    bug
    windows-os
    app-server
    on Sep 12, 2026
  3. austin42 commented on Sep 16, 2026

    @austin42

    Confirmed on a newer build with the same bundled WSL backend:

    • Windows Codex Desktop: 26.908.9136.0
    • Bundled app-server: 0.154.0-alpha.6.2
    • Windows with Ubuntu WSL2; Agent Environment set to WSL

    Selecting a valid repository through \\wsl$\Ubuntu\home\<linux-user>\src\<repo>, supplying a project name, and clicking Create project produces only the generic Failed to create project toast. No project row is written.

    Local isolation performed:

    • The directory exists, has ordinary ownership and permissions, and is a valid Git repository.
    • Windows can access it through both \\wsl$\Ubuntu\... and \\wsl.localhost\Ubuntu\....
    • It is not already registered as a project.
    • The Windows and WSL Codex SQLite state databases pass integrity checks.
    • The same behavior occurred with a different WSL repository on Desktop 26.901.6511.0 on September 8, so this is not repository-specific.

    The current startup log contains the same underlying failure reported here:

    [host-app-server-projects] Local app-server assignment sync failed
    Invalid request: AbsolutePathBuf deserialized without a base path
    

    The Windows desktop process also repeatedly attempts to watch native Linux paths such as /home/<linux-user>/src/<repo> and receives ENOENT, which is additional evidence that host/path namespaces are being mixed.

    This confirms that the issue persists in 26.908.9136.0; updating and selecting the folder through the documented \\wsl$ route does not resolve it.

  4. diegaless commented on Sep 26, 2026

    @diegaless

    Environment:

    • Codex Desktop: 26.917.9434.0
    • WSL: 2.7.14.0
    • WSL kernel: 6.18.33.2-2
    • Distribution: Ubuntu
    • Windows build: 10.0.26200.9457
    • Codex Agent Environment: WSL
      Steps:
    1. Set the Agent Environment to WSL.
    2. Try to create/open a project located inside the WSL filesystem, e.g.
      \wsl$\Ubuntu\home<user>\projects\cv
    3. Mark the folder as trusted.
    4. Codex shows "Failed to create project".
      The desktop logs consistently show:
      Invalid request: AbsolutePathBuf deserialized without a base path
      In particular:
    warning [host-app-server-projects] Local app-server assignment sync failed
    errorMessage="Invalid request: AbsolutePathBuf deserialized without a base path"
    

    After this happens, other app-server operations start failing with the same error, including fs/watch, fs/readFile, plugin/installed and thread/start.
    For example:

    error [electron-message-handler] Request failed
    error={"code":-32600,"message":"Invalid request: AbsolutePathBuf deserialized without a base path"}
    method=thread/start
    

    and:

    warning [electron-message-handler] Failed to prewarm conversation
    cwd=/home/<user>/projects/...
    errorMessage="Invalid request: AbsolutePathBuf deserialized without a base path"
    

    I can reproduce this even with WSL fully updated (wsl --update reports that the latest stable version is already installed).
    The issue therefore still appears to be present in Codex Desktop 26.917.9434.0.

  5. goodman-oai commented on Nov 16, 2026

    @goodman-oai
    Contributor

    Tracked in #41463. On Windows package 26.908.4834.0, both reports show WSL project creation failing with an accessible repository and assignment sync logging AbsolutePathBuf deserialized without a base path. Same-build assignment-sync 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