Skip to content

refactor(devbox): remove the ssh, scp, rsync and tunnel commands - #250

Merged
wall-rl merged 1 commit into
mainfrom
remove-devbox-ssh
Nov 5, 2026
Merged

wall-rl merged 1 commit into
mainfrom
remove-devbox-ssh

Conversation

@wall-rl

@wall-rl wall-rl commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

What

Removes devbox SSH from the CLI. The platform no longer offers SSH access to devboxes: the create_ssh_key endpoint and the sshproxy service were removed in runloopai/runloop#13139, so these commands can no longer work.

Removed:

  • rli devbox ssh, rli devbox scp, rli devbox rsync, and rli devbox tunnel (the SSH port-forwarding one, not the API tunnel).
  • The "SSH onto the box" action in the interactive devbox menu, the detail page and the list view, and the SSH session screen and its route.
  • createSSHKey in the devbox service, the ssh.<domain> gateway helpers in config, the SSH session params in the navigation store, and the test mocks and fixtures for them.
  • The SSH demo gif and the SSH sections of the generated docs; README's command list is regenerated.

Kept: PTY sessions, exec, file read/write/upload/download, and the "Open Tunnel" action, which uses the API tunnel. waitForReady moved from the SSH util to src/utils/devboxReady.ts since the PTY command still uses it.

The only e2e test was the scp/rsync one, so jest.e2e.config.js now sets passWithNoTests to keep the manual e2e workflow green.

Why

The commands fail against the current API, and the SDK will drop createSSHKey on its next regeneration.

Breaking change

rli devbox ssh|scp|rsync|tunnel are gone. rli devbox pty gives an interactive shell; read, write, upload, and download cover file transfer.

Testing

pnpm build, pnpm lint (same 72 pre-existing warnings, no errors), pnpm format, pnpm test (703), pnpm test:components (296), pnpm test:router (10), and pnpm test:e2e (no tests, exits 0) all pass.

The platform no longer offers SSH access to devboxes: the
create_ssh_key endpoint and the sshproxy service were removed in
runloopai/runloop#13139. Drop the commands and TUI actions built on
them: `rli devbox ssh`, `scp`, `rsync` and the SSH port-forwarding
`tunnel`, the SSH session screen, the key-fetching service helper,
the ssh gateway config, and their tests and docs. `waitForReady`
moves to its own module since the PTY command still uses it.

PTY sessions, exec, file read/write and the API-based HTTP tunnel
action are unchanged.

BREAKING CHANGE: `rli devbox ssh`, `rli devbox scp`, `rli devbox rsync`
and `rli devbox tunnel` are removed. Use `rli devbox pty` for an
interactive shell and `rli devbox read`/`write`/`upload`/`download`
for file transfer.
@reflex-loop

reflex-loop Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

⏸️ Reflex agent status: Idle

Agent Status
agt_56PpK9YCcTPKCzGLH7nyjQ ⏸️ Idle

This PR was created by Reflex.

This comment updates in place as agents work.

@wall-rl
wall-rl requested review from dines-oai and dines-rl November 5, 2026 04:46
@wall-rl

wall-rl commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

@tode-rl heads-up: this removes the SSH commands from rl-cli because the platform no longer has the endpoint. Once it lands, rl-cli needs to be re-published so users stop getting a broken rli devbox ssh. It carries a BREAKING CHANGE footer, so release-please will cut a major version.

@wall-rl
wall-rl merged commit e031b56 into main Nov 5, 2026
16 checks passed
@wall-rl
wall-rl deleted the remove-devbox-ssh branch November 5, 2026 05:21
jrvb-rl pushed a commit that referenced this pull request Nov 5, 2026
Follow-up to #250. That PR was squash-merged as a `refactor` commit
built from the PR body, which release-please treats as non-user-facing
and which dropped the `BREAKING CHANGE` footer, so the release workflow
logged "No user facing commits found" and nothing was published.

This commit carries the breaking-change note and a `Release-As: 2.0.0`
footer so release-please opens the 2.0.0 release PR on merge; merging
that release PR publishes to npm. The README change points users at `rli
devbox pty` now that SSH is gone.

@tode-rl this is the republish you'll want to know about.
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.

2 participants