Skip to content

Windows app mangles extended WSL UNC file links (\\?\UNC\... → /?/UNC/...) #32108

Open

Description

@Adamcf123

Summary

In Codex Desktop for Windows, clicking a Markdown file link whose target is a valid extended WSL UNC path opens a blank file preview with "Unable to open file".

The same file opens normally when clicked from the app's file sidebar. Local diagnostics show that the chat-link path is rewritten before the file-open handler receives it.

Environment

  • Codex Desktop: 26.707.31428
  • Windows 11 x64
  • WSL2 workspace

Reproduction

  1. Open a workspace stored in WSL, for example:
    \\wsl.localhost\<distro>\home\<user>\<repo>
    
  2. Confirm that a file opens normally when clicked in the Codex file sidebar.
  3. Add a Markdown link targeting the same file with an extended UNC path:
    [file](<\\?\UNC\wsl.localhost\<distro>\home\<user>\<repo>\<file>.md>)
  4. Click the link.

Evidence

The original extended UNC path is valid and readable from the Windows host. However, the Codex Desktop log records:

warning [electron-message-handler] Failed to watch open file
errorMessage="Invalid request: AbsolutePathBuf deserialized without a base path"
hostId=local
path=/?/UNC/wsl.localhost/<distro>/home/<user>/<repo>/<file>.md

This shows that the valid path:

\\?\UNC\wsl.localhost\...

is transformed into:

/?/UNC/wsl.localhost/...

before the open-file handler receives it. The transformed value is neither a valid Windows UNC path nor a usable WSL path.

Expected behavior

Chat file links should preserve the extended UNC path or resolve it through the same structured workspace/path context used by the file sidebar.

Related issues

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    on Jul 10, 2026
  2. github-actions commented on Jul 10, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. kendonB commented on Sep 23, 2026

    @kendonB

    still an issue

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 systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions