Repository navigation
refactor(relay): delete the SSH relay server, its build assets and tests - #27215
Merged
Merged
Conversation
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-server
branch
2 times, most recently
from
October 10, 2026 10:41
9ebe302 to
974458f
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-client
branch
from
October 10, 2026 16:28
7e8b88b to
734dd99
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-server
branch
2 times, most recently
from
October 10, 2026 16:53
016c6f3 to
3584900
Compare
This was referenced Oct 10, 2026
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-client
branch
from
October 10, 2026 22:52
2b56a04 to
7b105e8
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-server
branch
from
October 10, 2026 22:54
3584900 to
e2f9efd
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-client
branch
from
October 10, 2026 23:19
7b105e8 to
aed15c5
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-server
branch
from
October 10, 2026 23:20
e2f9efd to
93311dd
Compare
8 of 9 tasks
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-client
branch
from
October 11, 2026 00:10
aed15c5 to
8c3c846
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-server
branch
from
October 11, 2026 00:11
93311dd to
21c9b20
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-client
branch
from
October 11, 2026 01:12
8c3c846 to
aa49420
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-server
branch
2 times, most recently
from
October 11, 2026 01:37
899a28e to
413777a
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-client
branch
from
October 11, 2026 04:44
d4cf0c1 to
89e3d54
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-server
branch
2 times, most recently
from
October 11, 2026 05:12
eaca551 to
37b26e7
Compare
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-server
branch
from
October 11, 2026 05:14
37b26e7 to
667f067
Compare
added 6 commits
October 10, 2026 22:35
OrcaWin
force-pushed
the
OrcaWin/ssh-relay-retire-server
branch
from
October 11, 2026 05:36
667f067 to
e1e70df
Compare
8 of 9 tasks
This was referenced Oct 15, 2026
6 of 9 tasks
Merged
7 of 9 tasks
This was referenced Oct 17, 2026
Closed
nwparker
added a commit
that referenced
this pull request
Oct 22, 2026
…H file watcher Nothing in production has registered an SSH filesystem provider since the relay removal (#27214/#27215), so every getSshFilesystemProvider read returned undefined. Delete the provider table and the remote watcher subsystem, and collapse the call sites to that always-undefined behaviour: fs:watchWorktree/fs:unwatchWorktree ignore SSH roots, the worktree base watcher only resolves local repos, and worktree removal skips the desktop watcher for SSH paths.
nwparker
added a commit
that referenced
this pull request
Oct 22, 2026
…H file watcher (#31922) * refactor(ssh): remove the dead SSH filesystem provider and desktop SSH file watcher Nothing in production has registered an SSH filesystem provider since the relay removal (#27214/#27215), so every getSshFilesystemProvider read returned undefined. Delete the provider table and the remote watcher subsystem, and collapse the call sites to that always-undefined behaviour: fs:watchWorktree/fs:unwatchWorktree ignore SSH roots, the worktree base watcher only resolves local repos, and worktree removal skips the desktop watcher for SSH paths. * test: drop the nested SSH watcher catalog case that can no longer occur The base-directory watcher never carries a connection id now, so the host-blind-event guard it exercised is gone. Also prune the deleted remote watcher suites from the shard timings and the nested-SSH wording from the worktree catalog reliability gate.
5 of 7 tasks
This was referenced Oct 25, 2026
8 of 9 tasks
This was referenced Nov 5, 2026
9 tasks
lourot
pushed a commit
to lourot/orca
that referenced
this pull request
Nov 17, 2026
Browse, create and edit project-backed tasks using the pinned Backlog CLI, then open the existing workspace composer. Preserve execution-host ownership, legacy statuses, configured mutation safeguards and unknown-result handling. Document the host-user relay trust boundary and test runtime authentication, registered-repository routing, mobile admission and relay schema rejection. Retain CLI, capability and hidden Electron regression coverage. Fixes stablyai#25955 (cherry picked from commit a27ee71, stablyai/orca PR stablyai#25990) Ported onto the fork: - SSH projects are refused: the SSH relay that served backlog.execute was removed upstream (stablyai#27215). Local and paired runtime projects work as before. - tasks.backlog.v1 is advertised through the existing TASK_SOURCE_RUNTIME_CAPABILITIES list instead of a new workspace-context capability module. - backlog.execute declares the workspace RPC permission. - runProcess now comes from @orca/process-host. - The launch guard compares the launched repo ID and host ID, as the composer no longer passes the whole repo. - The quick-create ephemeral VM recipe moved into its own hook (quick-create-ephemeral-vm-recipe.ts) to keep quick-creation-execution.ts under the 300-line limit. Includes: - docs(T-1795): explain Backlog verification fixture contracts
Closed
8 of 9 tasks
7 of 9 tasks
This was referenced Nov 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
This deletes the SSH relay itself: the program Orca used to upload to SSH hosts, plus its build, packaged assets and tests. After #27214 nothing on the desktop deploys it any more.
Stacked on #27214 (base
OrcaWin/ssh-relay-retire-client). Do not merge; the owner decides when.What Changed
src/relay(379 files): the relay daemon, its fs/git/pty/watcher/AI Vault handlers, and their tests. The WSL guest code it used to share already lives insrc/wsl-guest(refactor(wsl): move the WSL guest bundle sources out of src/relay #27174).config/scripts/build-relay.mjsbuilds only the WSL guest bundles: the hook relay, browser network relay, Claude profile helper, and the OpenCode SQLite reader. The reader moves from the per-platform relay dirs intoout/relay/wsl, andopencode-wsl-runtime-preparation.tslooks there. The script name stays because it still builds the WSL hook relay. Its bundle and version stamp are byte-identical (0.1.0+eb7001341c70), so existing WSL guests are not redeployed. Packaging still shipsout/relay→resources/relay(now onlywsl/).config/relay-assets(relay-only node-pty patches) and their tests; the relay artifact manifest, staging and line-ending tests; the relay watcher fault harness (and its release-cut and mac-release gates); the Node 18 managed-hook smoke andmanaged-hook-runtime.ts; relay benchmarks and repros;tsconfig.relay.json; and thesrc/relayimport-boundary test, which has nothing left to guard.src/relaythat compared desktop main with the relay (real-git parity, plugin host conformance, shell-wrapper snapshots, quick-open options): the relay half is removed; tests that were only parity are deleted. The managed-hook installer tests keep a local-filesystem adapter, now a test fixture.src/relayremoved from tsconfig, knip, max-lines, process-host baselines, Node-runtime/performance file lists, CI routing prefixes, path filters, the git-compat lane, reliability gates (two relay-only gates removed) and shard timings. The cross-version harness extracts a release'ssrc/relayonly when that release has one.Net lines (vs #27214): production −27,883 (+5 / −27,888); tests −54,228 (tests that also ran a local half keep it); config/CI −3,223.
Stack total vs main: production −46,924; tests −105,412; config/CI/locales −4,738.
Why
The owner decided on 2026-10-10 to delete the relay outright. With #27214 the relay is never deployed, so the server, its build and its CI lanes are dead weight.
I kept
build:relay,out/relay/wslandresources/relay/wslas-is because the WSL hook relay still uses them. Renaming them would touch packaging and many workflows with no user-visible gain.Linked Issue
Phase 6 (relay retirement) of the Node runtime plan. No issue.
Visual Proof
N/A, no UI change.
Testing
pnpm tc(node, web, cli): passnode config/scripts/build-relay.mjsinto a temp dir: emits onlywsl/with the four bundles; the hook relay version is unchangedAffected suites (
config/scripts,src/main/{ai-vault,agent-hooks,hermes,kiro,git,plugins,ssh},src/shared,src/wsl-guest, the cross-version checkout test): pass, apart from a local bash-version test that also fails on mainReliability gates check: pass
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Left for a follow-up (CI-only): the
relay-windows-process-treereusable workflow is still called by the release, hourly, daily and adhoc builds. Its artifact is no longer staged bybuild:relay, so it is now unused work. Removing it touches six release workflows plus their contract tests, so it belongs in a CI PR that can be validated on a release dry run.Agent skill upstream boundary
Notes
SSH/remote: hosts no longer receive a relay. WSL: the guest bundles are unchanged. Windows packaging:
resources/relay/wslis unchanged. Mobile and the cloud Relay pairing service are untouched.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)