openai / openai/codex

Codex Windows fails to add a WSL project with “Failed to create project”

Open
#43,628 10 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app app-server bug windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

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

26.901.51231

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Codex cannot add an existing Git repository from my Ubuntu WSL filesystem. The UI displays “Failed to create project” without further details.
Environment

  • Windows desktop app, package version 26.901.6511.0
  • Ubuntu on WSL
  • Repository: /home/scoot/git/sellis/nation-game
    otentially related log entry
    At 2026-09-08T00:09:00.725Z, Codex logged:
    [host-app-server-projects] Local app-server project migration failed
    errorMessage="Invalid request: AbsolutePathBuf deserialized without a base path"
    This occurred during startup; I have not confirmed that it causes the project-creation failure. It may indicate a Windows-to-WSL path conversion or project migration issue.
    Please investigate the failure and expose the underlying error in the UI so users can diagnose it.
What steps can reproduce the bug?

Feedback ID: 01a07e5c-c590-7a91-84dd-3330ec49653a

What is the expected behavior?

No response

Additional information

Steps to reproduce

  1. Open Codex and choose Add project.
  2. In the “Select Project Root” dialog, select:\wsl.localhost\Ubuntu\home\scoot\git\sellis\nation-game
  3. Confirm the folder selection.
    Expected: Codex adds the existing repository as a project.
    Actual: Codex displays “Failed to create project.”
    Additional findings
  • The directory exists and is accessible from WSL.
  • git -C /home/scoot/git/sellis/nation-game rev-parse --show-toplevel succeeds.
  • Other saved Codex projects already reference directories under /home/scoot/git/.
  • Entering the Linux path directly into the Windows folder picker produces “The folder name is not valid.”
    P

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Windows desktop Add project flow and the host-app-server project migration path, then reproduce the failure using the reported \wsl.localhost\Ubuntu path and the feedback ID. Done means an existing WSL repository can be added successfully, or the UI exposes the underlying error instead of only “Failed to create project.”

Written by the indexing model from the issue text.

Assessment

Tech stack
git, linux, rust
Domain
desktop, devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.