Skip to content

Add SCP install fallback for remote servers without curl/wget#10215

Merged
alokedesai merged 1 commit intomasterfrom
aloke/wget
May 6, 2026
Merged

Add SCP install fallback for remote servers without curl/wget#10215
alokedesai merged 1 commit intomasterfrom
aloke/wget

Conversation

@alokedesai
Copy link
Copy Markdown
Member

@alokedesai alokedesai commented May 6, 2026

Two fallback mechanisms for remote server installation:

  1. Fallback to wget on the server if curl is not installed
  2. Download on the client and SCP from the client to the server if neither are installed

https://www.loom.com/share/7021bd54dbf345c0af595a02eb096a56

@cla-bot cla-bot Bot added the cla-signed label May 6, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 6, 2026

@alokedesai

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR adds curl/wget detection plus an SCP upload fallback for remote server installs on hosts without HTTP clients.

Concerns

  • The SCP extraction path is passed as a quoted $HOME/~ value and then moved literally, so the new no-curl/no-wget fallback can fail after uploading the tarball.
  • The local fallback download is not covered by a timeout, which can leave setup stuck if local curl stalls.

Verdict

Found: 0 critical, 2 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread crates/remote_server/src/install_remote_server.sh Outdated
Comment thread app/src/remote_server/ssh_transport.rs
@alokedesai
Copy link
Copy Markdown
Member Author

/oz-review

@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 6, 2026

@alokedesai

I ran into an unexpected error while working on this.

You can view the conversation on Warp.

Powered by Oz

@alokedesai alokedesai merged commit 9c162bc into master May 6, 2026
25 checks passed
@alokedesai alokedesai deleted the aloke/wget branch May 6, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants