Skip to content

Improve remote server project add flow - #4715

Merged
Jinwoo-H merged 1 commit into
mainfrom
Jinwoo-H/remote-server-issue-2
Jun 5, 2026
Merged

Jinwoo-H merged 1 commit into
mainfrom
Jinwoo-H/remote-server-issue-2

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add runtime RPC support for browsing arbitrary server directories before a project exists
  • show a native-style remote server Add Project start screen with Browse server, Clone from URL, and Create on server cards
  • wire clone/create/manual path flows to the server filesystem browser and refresh host clients when remote worktrees change

Verification

  • pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/files.test.ts src/main/runtime/orca-runtime.test.ts src/renderer/src/runtime/runtime-server-directory-browser.test.ts src/renderer/src/components/sidebar/AddRepoStartSteps.test.tsx src/renderer/src/components/sidebar/AddRepoDialogStepContent.test.tsx
  • pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/sidebar/AddRepoStartSteps.test.tsx src/renderer/src/components/sidebar/AddRepoDialogStepContent.test.tsx
  • pnpm exec oxlint src/renderer/src/components/sidebar/AddRepoServerStartStep.tsx src/renderer/src/components/sidebar/AddRepoStartSteps.test.tsx
  • pnpm run typecheck:web
  • pnpm run typecheck:node
  • git diff --check

Manual validation

  • Verified in Electron dev build with a real local runtime environment selected.
  • Confirmed Browse server opens the server filesystem picker.
  • Confirmed manual server path fallback remains available.

Made with Orca 🐋

@Jinwoo-H

Jinwoo-H commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

E2E verification update (June 5, 2026):

Verified against this PR branch in a fresh Electron dev profile with a real local paired runtime environment selected as the remote-server target.

Covered:

  • Add Project opens the remote-server card UI with Browse server / Clone from URL / Create on server.
  • Manual server path fallback added an existing Git repo; it appeared in the sidebar and Explorer showed README.md.
  • Create on server created a new Git repo under the selected server parent path; the new project appeared in the sidebar and existed on disk.
  • Clone from URL cloned a disposable local Git repo through the runtime server flow; the cloned project appeared in the sidebar and existed on disk.
  • Browse server card opened the remote filesystem picker after the add/create/clone flows.

Notes:

  • The local paired runtime exercises the same runtime RPC/renderer paths as a remote server, but it is not a separate physical SSH host.
  • Clone location currently behaves as a parent directory: entering produced . That appears to be existing clone semantics, not a new failure from this PR.

@Jinwoo-H

Jinwoo-H commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

Clean e2e verification note, with shell quoting fixed:

Verified against this PR branch in a fresh Electron dev profile with a real local paired runtime environment selected as the remote-server target.

Covered:

  • Add Project opens the remote-server card UI with Browse server / Clone from URL / Create on server.
  • Manual server path fallback added an existing Git repo; it appeared in the sidebar and Explorer showed README.md.
  • Create on server created a new Git repo under the selected server parent path; the new project appeared in the sidebar and .git existed on disk.
  • Clone from URL cloned a disposable local Git repo through the runtime server flow; the cloned project appeared in the sidebar and .git existed on disk.
  • Browse server card opened the remote filesystem picker after the add/create/clone flows.

Notes:

  • The local paired runtime exercises the same runtime RPC/renderer paths as a remote server, but it is not a separate physical SSH host.
  • Clone location currently behaves as a parent directory: entering .../clone-parent/cloned-server-project produced .../clone-parent/cloned-server-project/existing-remote-git. That appears to be existing clone semantics, not a new failure from this PR.

@Jinwoo-H
Jinwoo-H merged commit 577504f into main Jun 5, 2026
2 checks passed
@Jinwoo-H
Jinwoo-H deleted the Jinwoo-H/remote-server-issue-2 branch June 5, 2026 20:41
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant