Skip to content

[Bug] Lowercase path casing on /mnt/c/... in WSL & sidebar threads disappearing when opening a chat #62945

Open

Description

@gurubrix

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

Version 26.1117.41037

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26300.0 x64

What issue are you seeing?

Summary

When using Codex Desktop on Windows connected to a WSL backend (Ubuntu-24.04), opening or creating/updating a thread on a workspace under /mnt/c/Codex_Projects writes/normalizes the cwd path with lowercase casing (/mnt/c/codex_projects/...) instead of preserving /mnt/c/Codex_Projects/..., and opening a chat thread can cause other threads in the sidebar to disappear from view.

Environment

  • Client: Codex Desktop (Windows, MSIX)
  • Backend / Runtime: WSL (Ubuntu-24.04)
  • Filesystem: NTFS mounted under /mnt/c/...

Steps to Reproduce

  1. Configure project paths in .codex-global-state.json (remote-projects) using /mnt/c/Codex_Projects/....
  2. Open Codex Desktop connected to remote-wsl:Ubuntu-24.04.
  3. Open an existing thread or create/update a thread on a workspace under /mnt/c/Codex_Projects/....
  4. Observe:
    • Other threads in the sidebar disappear/filter out when opening a conversation.
    • Thread cwd (as well as session/UI entries such as thread-tab-routes-v1, thread-writable-roots, and recent-workspace-files-v3) is written with /mnt/c/codex_projects/... in lowercase instead of /mnt/c/Codex_Projects/....

Expected Behavior

  • Thread cwd and UI/session path metadata should preserve /mnt/c/Codex_Projects/... casing (or match paths case-insensitively on /mnt/c/...).
  • Opening a chat thread should not cause other threads to disappear from the sidebar.

Actual Behavior

  • Opening or creating/updating a thread writes /mnt/c/codex_projects/... in lowercase, creating a casing mismatch against /mnt/c/Codex_Projects/... in remote-projects and session/UI keys.
  • Selecting/opening a thread causes other threads to disappear from the sidebar.

Additional Diagnostic Notes

  • Database integrity checks pass (ok) and rollout_path entries are valid.
  • Normalizing cwd casing in SQLite only holds until a thread is opened/created/updated in that context, at which point /mnt/c/codex_projects/... is written again.

What steps can reproduce the bug?

When using Codex Desktop on Windows connected to a WSL backend (Ubuntu-24.04), opening or creating/updating a thread on a workspace under /mnt/c/Codex_Projects writes/normalizes the cwd path with lowercase casing (/mnt/c/codex_projects/...) instead of preserving /mnt/c/Codex_Projects/..., and opening a chat thread can cause other threads in the sidebar to disappear from view.

Unlike #28094 (which rewrites /home/... paths into invalid C:\home\... Windows paths and reports "Current working directory missing"), the path here stays a valid /mnt/c/... WSL path on NTFS, but its casing changes to lowercase.

Steps to reproduce:

  1. Configure project paths in .codex-global-state.json (remote-projects) using /mnt/c/Codex_Projects/....
  2. Open Codex Desktop connected to remote-wsl:Ubuntu-24.04.
  3. Open an existing thread or create/update a thread on a workspace under /mnt/c/Codex_Projects/....
  4. Observe that other threads in the sidebar disappear/filter out when opening a conversation, and thread cwd (as well as session/UI keys such as thread-tab-routes-v1, thread-writable-roots, and recent-workspace-files-v3) is written with /mnt/c/codex_projects/... in lowercase instead of /mnt/c/Codex_Projects/....

Additional notes:

  • Database integrity checks pass (ok) and rollout_path entries are valid.
  • Normalizing cwd casing in SQLite only holds until a thread is opened/created/updated in that context, at which point /mnt/c/codex_projects/... is written again.
  • Session ID / token limit usage / context window usage: N/A.

What is the expected behavior?

  • Thread cwd and UI/session path metadata should preserve /mnt/c/Codex_Projects/... casing (or match paths case-insensitively on /mnt/c/... backed by NTFS).
  • Opening a chat thread should not cause other threads in the sidebar to disappear.

Additional information

Activity

  1. added
    appIssues related to the Codex desktop app
    on Nov 21, 2026
  2. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    sessionIssues involving session (thread) management, resuming, forking, naming, archiving
    on Nov 21, 2026
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 workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions