Skip to content

docs(troubleshooting): explain the first-connect Node download for SSH and WSL - #35875

Merged
nwparker merged 1 commit into
mainfrom
nwparker/docs-remote-node-download
Oct 29, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/docs-remote-node-download

Conversation

@nwparker

@nwparker nwparker commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1 0

ELI5

The troubleshooting page told people to install Node on their remote machine for an old component that no longer exists. It now explains what Orca actually does on the first connect, and what to do when a locked-down network blocks it.

What Changed

  • Rewrote one bullet in docs/site/content/docs/troubleshooting.mdx, under "SSH connects but remote terminals fail".
  • Before: "Confirm the remote has Node and network access for the first-time relay install."
  • After:
    • On the first connect to an SSH host or a WSL distro, Orca installs the Node.js version its server needs. It downloads it on this computer, or on the host if that fails.
    • If nodejs.org is blocked, set Settings → Advanced → Network → Node.js Download Mirror, or copy the file named in the error to the path the error gives. Then connect again.

Why

  • The old bullet was wrong: the relay it mentions was removed in refactor(relay): delete the SSH relay server, its build assets and tests #27215, and Orca now brings its own pinned Node instead of using the host's.
  • The new advice is already in the app: it matches what the in-app error tells users, and the setting path matches the current UI labels (nav "Advanced", section "Network", field "Node.js Download Mirror").
  • No new page: the existing troubleshooting page already covered this step, so I didn't create a new one.

Linked Issue

Follow-up to the win-lowspec WSL proxy QA.

Visual Proof

N/A: docs text only.

Testing

  • Checked the label strings against settings-navigation-foundations.ts, AdvancedPane.tsx and NodeDistMirrorSettingField.tsx on current main.

  • pnpm run check:code-quality:changed passes.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below (docs only)

AI Disclosure

Review

One reviewer requested: fix-reviewer-2.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

User-risk: none. It's a docs text change only.

Flag-off: no code change. The text says "WSL distro" generically and names no unshipped feature.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

…H and WSL

The bullet asked users to install Node for a relay that no longer exists.
Orca now brings its own Node; point restricted networks at the download
mirror setting or the offline archive path the error names.
@greptile-apps

greptile-apps Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The PR updates guidance for people troubleshooting SSH and WSL remote terminals.

The PR appears safe to merge, with a non-blocking correction needed to the Windows SSH download advice.

Findings

  1. P2 Windows skips the host download ▶

Summary

Replaces the outdated relay-install advice with the current Node download and recovery steps.

  • The troubleshooting page explains how Orca gets Node.js on first SSH or WSL connect.

Reviews (1) · Last reviewed commit: "docs(troubleshooting): explain the first..." · Reviewed by Greptile

## SSH connects but remote terminals fail

- Confirm the remote has Node and network access for the first-time relay install.
- On first connect to an SSH host or a WSL distro, Orca installs the Node.js version its server needs there. It downloads it on this computer, or on the host if that fails. If your network blocks nodejs.org, set **Settings → Advanced → Network → Node.js Download Mirror** to a copy of `nodejs.org/dist`, or download the file named in the error on another machine and copy it to the path the error gives on this computer. Then connect again.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Windows skips the host download

The fallback sentence also covers Windows SSH hosts, but stageNodeRuntimeArchive rethrows the desktop download error for those hosts without trying a remote download. Users could expect the connection to work because their Windows host can reach the download site, when they still need the workaround. Qualify the fallback sentence to exclude Windows SSH hosts; the mirror and manual-copy advice can stay.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Walkthrough

The SSH troubleshooting guidance now explains that Orca downloads its required Node.js version on the local computer first, then on the host if needed. If nodejs.org is blocked, the guidance says to configure a download mirror or copy the error-named file to the specified local path, then reconnect.

Priority: Low

Merge Risk: Low · up to 5b482

Windows SSH users may follow an unavailable host-download path, but the issue is localized to troubleshooting documentation.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main documentation change: explaining the first-connect Node.js download behavior for SSH and WSL.
Description check Passed The description is detailed and follows the template for scope, rationale, testing, visual proof, checklist, and compatibility considerations. The Linked Issue section does not contain an actual issue…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description is detailed and follows the template for scope, rationale, testing, visual proof, checklist, and compatibility considerations. The Linked Issue section does not contain an actual issue link, but the rest of the description is complete and relevant.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5c958776-69d9-49ba-b0d5-e1ae21fbf726
Commits

Reviewing files that changed from the base of the PR and between 7decee7 and 5b482b2.

Files selected for processing: 1
  • docs/site/content/docs/troubleshooting.mdx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

## SSH connects but remote terminals fail

- Confirm the remote has Node and network access for the first-time relay install.
- On first connect to an SSH host or a WSL distro, Orca installs the Node.js version its server needs there. It downloads it on this computer, or on the host if that fails. If your network blocks nodejs.org, set **Settings → Advanced → Network → Node.js Download Mirror** to a copy of `nodejs.org/dist`, or download the file named in the error on another machine and copy it to the path the error gives on this computer. Then connect again.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Functional Correctness · Quick win

Scope the host fallback to supported hosts.

The implementation falls back to host download only when the remote host is not Windows and the operation was not cancelled. This sentence applies that fallback to every SSH or WSL connection. On Windows SSH hosts, the host downloader and its mirror handling are skipped. Limit the fallback statement to non-Windows hosts, or document the Windows local-cache recovery separately.

@nwparker
nwparker merged commit 552e281 into main Oct 29, 2026
26 checks passed
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