Skip to content

Worktree development is unusable #14703

Open

Description

@ofek

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.

Image Image Image Image

What steps can reproduce the bug?

  1. Start a new thread with the Worktree option instead of the Local option
  2. Instruct a model to interact with the filesystem in any way like creating a new file
  3. Observe

What is the expected behavior?

No response

Additional information

The root cause is #10347

Activity

  1. added
    appIssues related to the Codex desktop app
    on Mar 14, 2026
  2. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    on Mar 14, 2026
  3. ofek commented on Mar 14, 2026

    @ofek
    Author

    #13582 is similar but this has a slightly different manifestation and there is more context

  4. Aaron-Lutz commented on Mar 18, 2026

    @Aaron-Lutz

    Same/similar problem here:

    Windows desktop app 26.313.41514

    Repro:

    1. Open normal local Git repo on Windows.
    2. Start new thread and choose “New worktree”.
    3. Codex creates the worktree successfully.
    4. As soon as the model starts working/thinking, the thread shows:
      “Current working directory missing / This thread's working directory no longer exists”.

    Observed:

    • The worktree folder physically exists.
    • git worktree list shows it.
    • Changes someimtes land in the main worktree and/or don't appear in the new worktree.
    • %USERPROFILE%\.codex\config.toml contains 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?

  5. mickitty0511 commented on Apr 22, 2026

    @mickitty0511

    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.

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

    appIssues related to the Codex desktop appbugSomething isn't workingwindows-osIssues related to Codex on Windows systemsworktreesIssues related to worktree management

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions