[Windows][WSL] 26.721.3404 marks valid WSL repositories as non-Git and reports "Git is unavailable"
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- git, rust
- Domain
- desktop, devtools, operating-systems
Research direction
Start with the Desktop Git worker entry point for turn-diff-capture-start and the project API path that sets isGitRepository. Reproduce with the listed Windows, WSL2, and app versions, then compare the Git-worker/WSL handoff with the previous working versions and inspect the bundled bwrap relocation errors. Done means valid repositories under /home are detected as Git, remain a single project, and support native worktree threads.
Written by the indexing model from the issue text.
Description
Codex App version
- Microsoft Store package:
OpenAI.Codex_26.721.3404.0_x64__2p2nqsd0c76g0 - App server:
0.146.0-alpha.3 - Previous working package:
26.715.10079.0 - Previous working app server:
0.145.0-alpha.30
Platform
- Windows 11 + WSL2 (Ubuntu)
- Repository is on the WSL ext4 filesystem:
/home/<user>/<repo> - Codex agent environment: WSL
Problem
Immediately after the Microsoft Store update from 26.715.10079.0 to 26.721.3404.0, the Desktop Git worker began returning:
worker_rpc_response_error errorMessage="Git is unavailable" method=turn-diff-capture-start workerId=git
The same repository is then returned by the Desktop project API as:
isGitRepository: false
Adding the project again creates a second project entry for the same normalized Linux path, also with isGitRepository:false. Native worktree-thread creation is therefore unavailable.
Git inside WSL remains healthy:
git --versionsucceeds (2.43.0)git rev-parse --show-toplevelreturns the expected repository rootgit statussucceeds and the worktree is cleangit fsck --connectivity-onlysucceeds
The repository directory is writable ext4. Inside the Codex workspace-write sandbox, .git is mounted read-only as documented, but all read-only Git commands still work, so that protected mount does not explain why Desktop classifies the project as non-Git.
Regression timeline
- Before the update, Codex Desktop successfully created WSL-native worktree threads under
/home/<user>/.codex/worktrees/...; the most recent was created the previous evening. - At startup,
26.715.10079.0detected and downloaded Store package26.721.3404.0. - About two minutes later,
26.721.3404.0launched with app server0.146.0-alpha.3. - Within four minutes, the first
Git is unavailableerror appeared and then repeated for every diff-capture attempt. - Existing worktree directories and Git metadata remain intact.
Additional diagnostics
The WSL runtime inherits:
CODEX_HOME=/mnt/c/Users/<user>/.codexCODEX_INTERNAL_ORIGINATOR_OVERRIDE=Codex DesktopWSLENVincludesCODEX_HOME/p
The same values were present in earlier successful worktree sessions, so this appears to be a regression at the 26.721 Desktop Git-worker / WSL handoff boundary rather than a new local configuration change.
The new Desktop log also records:
bundled_executable_relocation_failedfor the packaged WSLbwrapresource- repeated
primary_runtime_update_poll_failedarchive extraction errors
The updater currently sees manifestBuildVersion=26.721.3996.0, but reports hasUpdate=false / NoUpdates.
Steps to reproduce
- Open Codex Desktop
26.721.3404.0on Windows with the agent environment set to WSL. - Add a valid Git repository located under
/home/<user>/.... - Open the project or try to create a native worktree thread.
- Observe
Git is unavailablein Desktop logs andisGitRepository:falsein the project record. - Run the Git commands above in WSL and observe that the repository is healthy.
Expected behavior
A valid Git repository on the WSL Linux filesystem should be detected as Git, associated with a single project entry, and support native Codex worktree threads.
Related issues
- #35088 (same Desktop/app-server versions; project/thread catalog regression)
- #35073 (26.715 works, 26.721 broken)
- #14182
- #13762
- #13618
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·