Repository navigation
SHARD-657: shard setup sets up a local host or saves a remote connection - #516
Merged
Merged
Conversation
…--remote and SHARD_REMOTE The saved key goes to its own server alone; daemon and serve ignore the saved file; --remote "" stays the socket.
…ompts, and the setup operations each half fills
…d into shard-657-w8
…d into shard-657-remote
…s the URL from SHARD_REMOTE once, and docs/setup.md
…d into shard-657-w8
…-init, the data directory, the service, and the daemon check
…e highest stable tag, and a download written only once SHA256SUMS verifies it
…ave on a yes, and the saved connection menu
…highest stable release after it verifies, and uninstall what the manifest owns while saved data and shared tools stay
… fresh local setup does
…de they land with
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
… SHARD_REMOTE, the saved connection, the socket
presmihaylov
commented
Oct 5, 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.
Closes SHARD-657.
Why. Nothing takes a new user from an installed binary to a working host or a saved remote connection.
How.
services/setup/setup.go: wizard and flags answer the sameQuestions throughUI;cli/setup.goputs the flags before the terminal.Problemunder the checklist;setupExitthen exits 1 silently, 130 on Ctrl+C.--remoteandSHARD_REMOTE. Host-only verbs refuse it./var/lib/shard-setup/manifest.jsonlists.shardgroup for sudo-free local commands (root-equivalent)?What.
shard setupanddocs/setup.md. Wizard screens: a throwaway container. Apply screens: a disposable VM.Apply, gVisor:
Second run:
Local, no /dev/kvm:
Local review, declined:
Local failed check:
Remote failed check:
Remote over http: