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
[Bug]: Remote host filesystem picker cannot navigate to other drives on Windows hosts (locked to C:\) #7438
Client: macOS (Orca 1.4.110), paired to a remote server via Settings → Remote Orca Servers
Remote host: Windows 10/11 x64, advertising via "Advertise this app as a server" (Tailscale address, ws://100.x.x.x:6768)
Host disks: OS on C:\, large storage drive on M:\
Steps to reproduce
Pair a macOS client to a Windows remote Orca server.
On the client, Add Project on the remote host → the "Browse host filesystem" dialog opens (rooted at the host home dir, e.g. C:\Users\Administrator).
Try to reach the M:\ drive:
Click / in the breadcrumb, or
Type M:\ (or M:\dev) into the search box, with and without Enter.
Actual behaviour
The breadcrumb root / maps to C:\ — drives are never listed.
The search box placeholder says "Type to filter or enter a path…", but typing M:\ only filters the current directory's entries — it shows No matches for 'M:\' and never navigates. Enter does not navigate either.
Net result: on a multi-drive Windows host, projects can only be created on C:\ through the UI. A second storage drive is arguably the main reason to use a Windows tower as a remote server for agent fleets, so the primary use case is blocked in the picker.
Expected behaviour
On Windows hosts, the root (/) view lists available drives (C:\, M:\, …), and/or
An absolute typed path (M:\dev\projects) navigates the picker there, as the placeholder implies.
Workaround
The runtime itself handles cross-drive paths fine — from the client CLI this works:
(the path must already be a git repo on the host). Only the picker UI is limited, so this looks like a client-side dialog issue rather than a runtime/RPC limitation.
Reproduced at the source level (Windows host). The "Browse host filesystem" picker (RemoteFileBrowser) is locked to a single drive because its renderer-side path parser is POSIX-only. The Windows backends are already drive-capable — the renderer just never sends a drive-qualified path.
Where:CreateProjectLocationField.tsx ("Browse host filesystem") renders RemoteFileBrowser.tsx, whose search/path box is parsed by remote-file-browser-helpers.ts. Listings go through ssh:browseDir (src/main/ipc/ssh-browse.ts) or files.browseServerDir → OrcaRuntime.browseServerDir (src/main/runtime/orca-runtime.ts).
Defect (a) — no drive enumeration.parsePathInput (remote-file-browser-helpers.ts:107) can only produce bases root (/), home (~), cwd — there is no drive base and no listing of C:\ M:\ …. On Windows the / breadcrumb (RemoteFileBrowser.tsx:643) resolves to the current drive root (resolveServerBrowsePathisAbsolute branch, orca-runtime.ts:1941), and navigateUp dead-ends at / (RemoteFileBrowser.tsx:209). No path exists to reach another drive.
Defect (b) — typed absolute drive path is filtered, not navigated.isPathMode (remote-file-browser-helpers.ts:92) only triggers on /, ~, ., .., so a native M:\dev stays in filter mode (handleInputChange, RemoteFileBrowser.tsx:383) and merely narrows the current directory. A forward-slash M:/dev triggers path mode but parsePathInput (helpers.ts:126-137) only treats a leading / or ~/ as absolute — so M: is resolved as a subfolder of the current directory, never the M:\ drive root.
The backends already handle drives — resolveServerBrowsePath resolves M:\ via isAbsolute, and the SSH branch normalizes drive paths (normalizeWindowsDrivePath, ssh-browse.ts:321). The gap is entirely in the renderer parser.
Contrast — local works: local Add Project uses the native OS directory dialog (src/main/ipc/app.ts:70-77), which exposes This PC / all drives. The capability exists locally and is missing only on the remote-host path.
Proof:
npx vitest run --config config/vitest.config.ts src/renderer/src/components/sidebar/remote-file-browser-windows-drive.repro.test.ts
Repro test (3 passing) pins the buggy behavior — isPathMode('M:\\') === false, parsePathInput('M:/dev').base === 'cwd', and the parser only emits root/home/cwd bases.
Fix direction: teach isPathMode/parsePathInput to recognize ^[A-Za-z]:[\\/]? as a new absolute drive base (backslashes → /) and pass it straight to the (drive-capable) backends; and give the Windows host a drive-enumeration root so navigating up from a drive root lists available drives instead of dead-ending at /.
Full trace in docs/bug-reproductions/7438-remote-fs-picker-drives.md.
🔁 Reproduced via automated Windows bug-reproduction pass.
Activity
OrcaWin commentedon Jul 18, 2026
Reproduced at the source level (Windows host). The "Browse host filesystem" picker (
RemoteFileBrowser) is locked to a single drive because its renderer-side path parser is POSIX-only. The Windows backends are already drive-capable — the renderer just never sends a drive-qualified path.Where:
CreateProjectLocationField.tsx("Browse host filesystem") rendersRemoteFileBrowser.tsx, whose search/path box is parsed byremote-file-browser-helpers.ts. Listings go throughssh:browseDir(src/main/ipc/ssh-browse.ts) orfiles.browseServerDir→OrcaRuntime.browseServerDir(src/main/runtime/orca-runtime.ts).Defect (a) — no drive enumeration.
parsePathInput(remote-file-browser-helpers.ts:107) can only produce basesroot(/),home(~),cwd— there is nodrivebase and no listing ofC:\ M:\ …. On Windows the/breadcrumb (RemoteFileBrowser.tsx:643) resolves to the current drive root (resolveServerBrowsePathisAbsolutebranch,orca-runtime.ts:1941), andnavigateUpdead-ends at/(RemoteFileBrowser.tsx:209). No path exists to reach another drive.Defect (b) — typed absolute drive path is filtered, not navigated.
isPathMode(remote-file-browser-helpers.ts:92) only triggers on/,~,.,.., so a nativeM:\devstays in filter mode (handleInputChange,RemoteFileBrowser.tsx:383) and merely narrows the current directory. A forward-slashM:/devtriggers path mode butparsePathInput(helpers.ts:126-137) only treats a leading/or~/as absolute — soM:is resolved as a subfolder of the current directory, never theM:\drive root.The backends already handle drives —
resolveServerBrowsePathresolvesM:\viaisAbsolute, and the SSH branch normalizes drive paths (normalizeWindowsDrivePath,ssh-browse.ts:321). The gap is entirely in the renderer parser.Contrast — local works: local Add Project uses the native OS directory dialog (
src/main/ipc/app.ts:70-77), which exposes This PC / all drives. The capability exists locally and is missing only on the remote-host path.Proof:
Repro test (3 passing) pins the buggy behavior —
isPathMode('M:\\') === false,parsePathInput('M:/dev').base === 'cwd', and the parser only emitsroot/home/cwdbases.Fix direction: teach
isPathMode/parsePathInputto recognize^[A-Za-z]:[\\/]?as a new absolutedrivebase (backslashes →/) and pass it straight to the (drive-capable) backends; and give the Windows host a drive-enumeration root so navigating up from a drive root lists available drives instead of dead-ending at/.Full trace in
docs/bug-reproductions/7438-remote-fs-picker-drives.md.🔁 Reproduced via automated Windows bug-reproduction pass.
Support Windows drives in the remote host filesystem picker (stablyai…