Repository navigation
Description
Operating system
macOS
Orca version
client v1.4.221 (macOS), server v1.4.219 (Linux)
Details
Summary
A desktop client paired to a Remote Orca Server cannot create workspaces in a project that lives on one of the server's SSH targets. The UI always says "Reconnect SSH target before creating workspaces", even though the server reports the target as connected. The same operation succeeds through the CLI (--environment), and the mobile app can open terminals there.
Environment
- Server: Orca 1.4.219 desktop app on Linux, owns SSH target
dike(orca host liston the server:ssh target dike linux connected) - Client: Orca 1.4.221 on macOS, server added under Remote Orca Servers, Advanced → Active Server = that server
- Project
dikewas created on the server with Host = the SSH target; its repo hasconnectionId: ssh-…(the server's target id)
Steps to reproduce
- On the server, add an SSH target and create a project on it.
- On the client, open the sidebar project header + for that project (or New Workspace with that project).
- Restarting the client does not change anything.
Expected
The workspace is created on the server's SSH target, the same as when the server's own UI or the client's CLI does it.
Actual
The UI blocks with "Reconnect SSH target before creating workspaces" (ko: "워크스페이스를 만들기 전에 SSH 대상을 다시 연결하세요"). There is no reconnect action that clears it. Meanwhile:
orca worktree create --environment <server> --repo id:<repo> --name xfrom the client succeeds, and the worktree appears in the client's sidebar.orca terminal create --environment <server> --worktree path:<remote path>succeeds.- Opening a new terminal in that workspace from the mobile app succeeds.
Cause (from reading the source at a2f197f)
The create gates read the client's local SSH map, which never contains server-owned target ids:
src/renderer/src/components/sidebar/worktree-list/rows/SectionHeader.tsx:sshStatus: ctx.sshConnectionStates.get(row.repo.connectionId)?.status→getRepoHeaderCreateState→getSelectedRepoSshGatesrc/renderer/src/hooks/composer-state/composer-target-store.ts/runtime-target-selection.ts:sshConnectionStates.get(selectedRepoConnectionId)
Terminal panes already use the runtime-aware selectors (selectRuntimeAwareSshStatus in lib/worktree-host-connection-phase.ts, fed by runtime/runtime-environment-ssh-state.ts), so existing terminals on that host work. Only creation is blocked.
Related: in the client's "Run on" list, a server's SSH targets only appear once a project already exists on them (buildExecutionHostRegistry adds SSH hosts from client-owned targets or from repo connectionIds, with health taken from the same client-local map). The first project on a server SSH target therefore has to be created in the server's own UI.
Suggestion
For repos owned by a runtime environment, resolve the SSH gate with the runtime-aware status (selectRuntimeAwareSshStatus(state, environmentId, targetId)) in SectionHeader and the composer target store, as the terminal pane already does.
Activity
AmethystLiang commentedon Oct 6, 2026
Thanks for reporting. Looking into it