Skip to content

Windows desktop + WSL: creating a project fails with AbsolutePathBuf deserialized without a base path #45658

Open

Description

@MikeeeGit

Environment

  • Windows desktop app package: OpenAI.Codex_26.908.9136.0_x64
  • Bundled WSL agent: codex-cli 0.154.0-alpha.6.2
  • Agent environment: WSL2 (Ubuntu 22.04)
  • Project folder on a Windows drive, accessible from WSL through /mnt/<drive>/...

Reproduction

  1. Use the Windows desktop app with the agent running in WSL.
  2. Select Create project, enter a name and submit without selecting a source folder.
  3. Alternatively, add an existing Windows folder as the source and submit.

Both routes show Failed to create project. Restarting the app does not fix creation of subsequent projects.

Expected

Create the project and display it in the sidebar, converting source paths into the execution host's path format where required.

Actual / evidence

  • The no-source-folder flow creates the directory and initializes .git, but project registration fails.
  • Retrying creates additional numbered directories without registering the project.
  • Startup logs also show [host-app-server-projects] Local app-server assignment sync failed with Invalid request: AbsolutePathBuf deserialized without a base path.
  • A diagnostic request to the bundled Linux app-server reproduces that exact error when project/import receives a Windows-style root such as F:\\Projects\\Example.
  • project/create / project/import succeed when the same location is supplied as /mnt/f/Projects/Example.
  • The installed desktop project backend passes rootPaths directly as roots: [{path: ...}] for project create/import. This suggests native Windows paths are reaching the Linux path parser without translation.

There also appears to be a migration issue when changing execution environments: the desktop's project-ID mappings are keyed by the native versus WSL Codex home identity, while each environment can use a different SQLite location. Existing project mappings must resolve against the active backend.

Impact

Basic project creation is blocked, the UI exposes only a generic error, and retries leave duplicate folders. Please handle host path conversion for both create and import and surface the underlying error without leaving orphaned folders.

This report intentionally excludes personal paths, screenshots, conversation contents, and credentials.

Activity

  1. added
    bug
    app
    windows-os
    app-server
    on Sep 15, 2026
  2. MikeeeGit commented on Sep 15, 2026

    @MikeeeGit
    Author

    Customer escalation: recurring Windows/WSL failures and an unexpected restart

    Posted at the user's explicit request on 15 September 2026.

    The user reports paying $200 per month, repeatedly encountering incorrect paths when using Windows with WSL, and losing substantial working time on the basic task of creating a project. They consider this unacceptable for the subscription price and request that OpenAI investigate and provide a reliable fix.

    Failure remains reproducible

    The earlier recovery registered individual projects but did not fix normal project creation. A later attempt to create another project encountered the same failure. Translating the folder to its /mnt/<drive>/... path allowed direct backend registration, but that is a recovery workaround, not a resolution of the desktop creation bug.

    Complaint about the assistant-initiated restart

    During the later recovery, the assistant initiated another desktop restart. The user describes this as an unannounced/unexpected restart and explicitly objects to it. The assistant relied on an earlier "yes restart it" given during an earlier recovery attempt, rather than obtaining agreement for this later restart. A preparatory progress message was sent, but the user did not consider this acceptable notice or authorization. This complaint concerns the assistant's handling of restart consent as well as the original application defect; the restart was not a spontaneous app crash.

    The user has now made clear that further restarts are not authorized. Please include this disruption and the user's dissatisfaction in triage, alongside the repeated Windows/WSL path conversion failures. Successfully registering one project must not be treated as proof that subsequent project creation is fixed.

    No private local paths, account credentials, or full conversation logs are included in this escalation.

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