Worktree development is unusable
What version of the Codex App are you using (From “About Codex” dialog)?
26.311.21342
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What issue are you seeing?
When selecting the worktree option for a new thread the location cannot be discovered and breaks various parts of the app.
<img width="1469" height="630" alt="Image" src="https://github.com/user-attachments/assets/7e4ac4bc-1e54-49b3-9e12-dc30b0d640f6" />
<img width="830" height="185" alt="Image" src="https://github.com/user-attachments/assets/fc857728-a0b8-41f4-aad1-76c3579b1713" />
<img width="598" height="598" alt="Image" src="https://github.com/user-attachments/assets/855eca6d-44e6-482d-82b3-11c71df1020c" />
<img width="1540" height="918" alt="Image" src="https://github.com/user-attachments/assets/35b8ba38-5f19-47dc-869c-d2bf2fda30aa" />
What steps can reproduce the bug?
- Start a new thread with the Worktree option instead of the Local option
- Instruct a model to interact with the filesystem in any way like creating a new file
- Observe
What is the expected behavior?
_No response_
Additional information
The root cause is https://github.com/openai/codex/issues/10347
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
#13582 is similar but this has a slightly different manifestation and there is more context
Same/similar problem here:
Windows desktop app 26.313.41514
Repro:
“Current working directory missing / This thread's working directory no longer exists”.
Observed:
git worktree listshows it.%USERPROFILE%\.codex\config.tomlcontains project entries in mixed path forms, including\\?\C:\....Possible clue:
Could be like a Windows path identity/normalization issue between normal drive-letter paths and
\\?\raw namespace paths?For windows users, worktrees development are not functioning. this issue is applied to me currently since the first launch of codex. This situation getting us worse in productivity and ci/cd. Those who see this issue and are on the same situation, give thumbs up to the issue; otherwise we won't get a full functionality with codex.