GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — fix(ssh): an incompatible remote node is no longer reported as missing by juliusmarminge · Pull Request #35662 · pingdotgg/t3code Conversation
Member
In the SSH launch script (packages/ssh/src/tunnel.ts), any ensure_remote_node_path failure printed 'Remote host is missing node on PATH…'. That included a node that exists but fails the engine range check, which has already written 'Remote node X does not satisfy required range Y.' to stderr, so SshCommandError carried both lines. The missing-node line is now printed only when Fixes #35583 Reproduction on mainOn origin/main 4099e62, after vp i, ran the reporter's repro.sh unchanged with a real Node 18.20.8 (from nodejs.org) and Node 24.22.1, under /bin/dash, with NVM_DIR unset. old-path: discovery exit=1, selected v18.20.8, stderr 'Remote node 18.20.8 does not satisfy required range ^22.16 || ^23.11 || >=24.10.'; launchOrReuseRemoteServer failed with SshCommandError exit=1 whose message held that line AND 'Remote host is missing node on PATH. Install Node or configure a supported version manager for non-interactive shells.' compatible-path control: discovery exit=0 selected v24.22.1; launch succeeded (kind=external, port matched). Also added a vitest case that runs the real launch script in a local shell with a fake remote node on $HOME/.volta/bin that fails the engine check; it fails on main because the message includes 'missing node on PATH'. EvidenceBeing captured: before and after in the real app. This section is filled in before the pull request can merge. TestsRan Not in this change
AI-assisted; verified with the tests and tools listed above.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsFails on main: the dev SSH launch adds 'Remote host is missing node on PATH' after the engine-range rejection. Reproduces #35583. AI-assisted; verified with the tests and tools listed above. The dev SSH launch printed 'Remote host is missing node on PATH' after any Node discovery failure, including a node that exists but fails the engine range check and has already printed the version mismatch. Print the missing-node line only when no node is on PATH. Fixes #35583 AI-assisted; verified with the tests and tools listed above.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
size:XS
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. [Bug]: Development SSH launch reports an incompatible remote Node as missing from PATHUh oh!
There was an error while loading. Please reload this page. 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. | ||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |