You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generate commit message with copilot functionality broke for wsl repos #23092
bugConfirmed bugs or reports that are very likely to be bugspriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
This is a regression: the reporter states commit-message generation worked in the previous release for a WSL path ((wsl.localhost/redacted)\Ubuntu\...) and now fails with session construction failed: UNC paths are not supported by this session filesystem provider, pointing specifically to a recent Copilot backend change. I'm suggesting bug and priority-2 since it blocks a documented feature (Copilot commit message generation) for all users with repositories on WSL/UNC paths on Windows, with no workaround other than drive-letter mapping, which the reporter explicitly rejects as unacceptable.
Initial hypothesis: The workingDirectory and sessionFs.initialCwd passed to the Copilot SDK client are derived directly from the repository's filesystem path without special-casing UNC paths. In createClient, workingDirectory: repositoryPath and sessionFs: getCopilotInMemorySessionFsConfig(repositoryPath, __WIN32__ ? 'windows' : 'posix') pass the raw repository path straight through. For a WSL repo this path is a UNC path ((wsl.localhost/redacted)\...). In copilot-in-memory-session-fs-provider.ts, normalizeCopilotInMemorySessionFsInitialCwd calls win32.normalize(path) on Windows, which leaves UNC paths syntactically intact but does not rewrite them into a form the session filesystem provider in the Copilot SDK/runtime accepts — the SDK's session.create call appears to reject UNC-style paths outright. This is consistent with the reporter's note that the failure correlates with "the copilot backend update," since the SDK/runtime version bump could have introduced or tightened this UNC rejection. I can't confirm from the Desktop repo alone whether the limitation lives in @github/copilot-sdk (currently pinned to 1.0.27-preview.1) or the native runtime binary, since that dependency's source isn't in this repository — diagnostic next steps would be checking the SDK/runtime changelog for UNC path handling and reproducing with a UNC-path repo versus a WSL repo mapped to a drive letter.
Duplicate Check: No exact duplicate found. Related but distinct: #22044 (WSL repos are slow due to 9P filesystem bridge — a performance issue, not this UNC/session-construction failure) and several older Copilot commit-message issues (#23080 LoadLibrary failure, #22958 invalid JSON, #23037 "Unknown parameter: 'snippy'") which describe different failure modes unrelated to UNC paths.
Suggested Next Steps: Ready for engineering review — reproduce with a repository on a UNC/WSL path to confirm the session.create UNC rejection, and determine whether the fix belongs in Desktop's path handling before invoking the SDK or needs to be addressed upstream in @github/copilot-sdk.
After exploring this with Copilot, this is what I got: (leaving it here for future reference)
Assessment
This is a Desktop compatibility regression triggered by the Copilot SDK upgrade—not a recent change to Desktop’s path handling. The runtime’s UNC rejection is intentional behavior.
Root cause
Upstream github/copilot-agent-runtime#21056, merged September 17, changed custom session filesystem providers to also own permission-path resolution. It added an explicit rejection of Windows UNC paths:
UNC paths are not supported by this session filesystem provider
That rejection remains in the runtime bundled with Desktop 3.6.10. During session construction, resolve_primary applies this check to the repository directory and the provider’s initialCwd. A WSL path such as \\wsl.localhost\Ubuntu\... fails this check.
Desktop already supplied the repository path as both workingDirectory and sessionFs.initialCwd, using Windows path conventions. That configuration and the in-memory provider implementation are unchanged between Desktop 3.6.7 and the current code.
Which upgrade introduced it?
Desktop release
Shipped SDK
Bundled runtime
Relevant behavior
3.6.7
1.0.13
1.0.83
Predates the provider-specific UNC rejection
3.6.8
1.0.25
1.0.102
Contains the rejection
3.6.9 / 3.6.10
1.0.27-preview.1
1.0.104-1
Same rejection remains
The first affected stable release should therefore be Desktop 3.6.8, through SDK update #23058. The later preview upgrade, #23066, retained the restriction rather than introducing it. Desktop 3.6.10’s Git update is unrelated.
The rejection already exists in the runtime bundled with SDK 1.0.18, so downgrading only to that version would not resolve the underlying cause.
Is this a runtime bug or expected behavior?
The rejection is expected runtime behavior. It is an explicit restriction, with an upstream test enforcing UNC rejection, rather than an accidental failure.
Desktop uses a custom filesystem provider to keep session state in memory. The changed runtime behavior also makes that provider responsible for repository permission-path handling, exposing a limitation that Desktop’s existing integration previously avoided.
The appropriate classification is therefore:
Desktop compatibility bug triggered by an SDK/runtime behavior change.
There is insufficient evidence to call the upstream restriction itself a bug without an upstream commitment to supporting UNC paths with custom providers. Upstream UNC support could solve the problem, but Desktop needs to adapt its integration or coordinate a supported solution.
bugConfirmed bugs or reports that are very likely to be bugspriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
Activity
desktop-triage commentedon Oct 28, 2026
Classification: Bug
Priority: P2
This is a regression: the reporter states commit-message generation worked in the previous release for a WSL path (
(wsl.localhost/redacted)\Ubuntu\...) and now fails withsession construction failed: UNC paths are not supported by this session filesystem provider, pointing specifically to a recent Copilot backend change. I'm suggestingbugandpriority-2since it blocks a documented feature (Copilot commit message generation) for all users with repositories on WSL/UNC paths on Windows, with no workaround other than drive-letter mapping, which the reporter explicitly rejects as unacceptable.Initial hypothesis: The
workingDirectoryandsessionFs.initialCwdpassed to the Copilot SDK client are derived directly from the repository's filesystem path without special-casing UNC paths. IncreateClient,workingDirectory: repositoryPathandsessionFs: getCopilotInMemorySessionFsConfig(repositoryPath, __WIN32__ ? 'windows' : 'posix')pass the raw repository path straight through. For a WSL repo this path is a UNC path ((wsl.localhost/redacted)\...). Incopilot-in-memory-session-fs-provider.ts,normalizeCopilotInMemorySessionFsInitialCwdcallswin32.normalize(path)on Windows, which leaves UNC paths syntactically intact but does not rewrite them into a form the session filesystem provider in the Copilot SDK/runtime accepts — the SDK'ssession.createcall appears to reject UNC-style paths outright. This is consistent with the reporter's note that the failure correlates with "the copilot backend update," since the SDK/runtime version bump could have introduced or tightened this UNC rejection. I can't confirm from the Desktop repo alone whether the limitation lives in@github/copilot-sdk(currently pinned to1.0.27-preview.1) or the native runtime binary, since that dependency's source isn't in this repository — diagnostic next steps would be checking the SDK/runtime changelog for UNC path handling and reproducing with a UNC-path repo versus a WSL repo mapped to a drive letter.Duplicate Check: No exact duplicate found. Related but distinct: #22044 (WSL repos are slow due to 9P filesystem bridge — a performance issue, not this UNC/session-construction failure) and several older Copilot commit-message issues (#23080 LoadLibrary failure, #22958 invalid JSON, #23037 "Unknown parameter: 'snippy'") which describe different failure modes unrelated to UNC paths.
Suggested Next Steps: Ready for engineering review — reproduce with a repository on a UNC/WSL path to confirm the
session.createUNC rejection, and determine whether the fix belongs in Desktop's path handling before invoking the SDK or needs to be addressed upstream in@github/copilot-sdk.sergiou87 commentedon Oct 29, 2026
After exploring this with Copilot, this is what I got: (leaving it here for future reference)