Repository navigation
feat(runtime-move): install herdr-core from Settings, then offer the move - #3205
Merged
Merged
Conversation
…ng, then offer the move
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 42 minutes. View limit details
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. |
…wnload while it streams, undo an install Ovis cannot find
Owner
Author
Reviews
check fast at 8dbd03b: all ok. |
Owner
Author
|
Merge note (merge pass) at head 8dbd03b:
|
devswha
added a commit
that referenced
this pull request
Nov 6, 2026
…d 0.5.0 connection docs (#3223) ## What Docs only. The privacy policy and the user docs now say what the account service and the relay's direct connections do in this release. **Privacy policy** (`ovis-site/privacy/`, `ovis-site/ko/privacy/`, new date): - **Your account**: sign-in with GitHub or Google (what `account.ovis.sh/v1/providers` offers today). It keeps one hashed provider ID per sign-in method and when it was added. It keeps no email, name, username or provider token, and never joins accounts on a matching email. A sign-in lasts 60 days from its last use, and the account doorbell's push subscription is kept per device. - **Who is asking** (#3203, ovis-sh/account#9): join requests and link page requests keep the system the device says it runs and the country and city Cloudflare saw. They never keep the IP address. They are handed out for 10 minutes and deleted within about a day. The service keeps no logs with addresses. Sign-in methods can be removed in Settings. - **New "Direct connections" section**: on whenever the relay is on, and turned off with the Same Wi-Fi direct connection switch. It covers what the PC listens on (port 7319 or another free port, on its home network addresses and its Tailscale address, never a public one), who can connect (only devices already paired through the relay, the same key and encryption, nothing pairs, web pages refused, Tailscale peers only on the Tailscale address), what others on the network see (sizes and timing), and how the app picks a route. The phone keeps the direct addresses with the pairing, and the In short box and the network section mention it. - **PCs on your Tailscale**: it reads `tailscale status` and asks only your own login's PCs. Nothing goes to us. **docs/guide.md**: - On your phone gets **Which way the app connects**. It covers the order (same Wi-Fi, then Tailscale, then the relay), that the relay opens beside the direct tries after 300 ms and the first one up is kept, moving back to direct, the switch, the iPhone Local Network and Windows firewall prompts, and how each device is connected (Settings > Devices and PCs, Your PCs, Check now). - Through an account now says GitHub or Google. It also covers signing in a PC with one code at `account.ovis.sh/link` (and `link`), the approval card's system and place, and the account's sign-in methods. - Remote PCs: adding a PC through the relay, and **PCs on your Tailscale** with **Add PC**. - Herdr app terminals: **Move everything to herdr-core** and **Install herdr-core and move everything**, linking to `docs/runtime-move.md`. **docs/relay.md**: the route order in "Direct on the same network", and per-device status (`connection` on `GET /api/devices`, `?check=1`, Your PCs probes). **docs/account.md**: how long who-is-asking is kept, and a rule that Tailscale is not account membership. **docs/remote-pcs.md**: PCs on your Tailscale (one-tap add, which peers are asked, the server_id check). **ovis-site/README.md**: the privacy policy now also tracks the account service and the direct connections. No README change. No changelog fragment: docs only. ## Sources Each statement comes from the merged PRs (#3152, #3163, #3180, #3194, #3197, #3200, #3201, #3202, #3203, #3205, #3206, #3161, #3187), the account service README at main (ovis-sh/account#9 merged) and the live `GET https://account.ovis.sh/v1/providers` (`github`, `google`). UI labels were checked against the i18n tables (`Same Wi-Fi, direct`, `Location unknown`, `Check now`, `Add {provider}`, `Turn the relay on on that PC first.`, and others). ## Validation - `bun test scripts/ovis-site.test.ts`: 22 pass (canonicals, hreflang, sitemap, translations). - `bun run check fast`: all ok at the head (typecheck, build, 12880 unit tests pass, 0 fail). - Not run: browser regressions and integration (docs only).
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.
What
Settings > About offered "Move everything to herdr-core" (#3161) only on a PC that already had
herdr-core installed. Most people on herdr's TUI never installed it, so they never saw the row.
Now, on a herdr PC without herdr-core (plugin launcher, Linux/macOS, x64/arm64, no Herdr app), the
row reads Install herdr-core and move everything. One press:
releases.herdr.dev/core/0.1.17/manifest.json,herdr-coreand checks that it answers--versionashc 0.1.17(the only hccommand that never starts a core),
~/.local/bin/herdr-corethe way herdr-core's own installer does (staged file,then
link(), so aherdr-corethat is already there, or appears meanwhile, is neverreplaced), and links
hcbeside it only when nohcexists,No sudo, no core is started, herdr's TUI and its config are not touched, and #3161's
all-or-nothing move is unchanged. Any failure leaves
~/.local/binas it was and shows the reasonunder the row.
POST /api/runtime/move/installhas the move's own gate: a driving device, from the app's ownpage (
x-herdr-update), only while the move answer offersinstall.GET /api/runtime/moveaddsinstall: { version }to theno_herdr_coreanswer (additive).Design: the install happens in place from the row that needs it, as Ovis's own Agents page installs
a missing agent CLI (server/agent-catalog-install.ts), in the existing Settings row style; no new
banner. The row's sentence stays visually hidden on the bare About page like its neighbours; a
failure shows under the label (
condition).Validation
module missing) and pass with this change.
server/herdr-core/install.test.ts: installs a release-shaped stand-in archive; refuses achecksum mismatch, a program that does not answer as that hc, an existing
herdr-core, and a PCwith no build, each leaving
~/.local/binempty or untouched; pins equalapp/electron/scripts/runtimes.ts.server/runtime-move-install.contract.test.ts: offer shown only where herdr-core is all that ismissing; 403/401 without the page header or auth; a failed install keeps the offer (502); a
done install is not offered again.
src/components/RuntimeMove.test.tsx: the row shows the version, posts the install, shows thefailure reason and re-enables the button.
env -i HOME=<tmp>, isolated herdr test session, telemetryoff) through the built page: the real 0.1.17 archive from releases.herdr.dev installed into
<tmp>/.local/bin/herdr-core(+hclink), answeredhc 0.1.17, no core was started(
running: false), the move preview opened; this PC's real~/.local/binwas untouched.bun run check fast: all ok (workflow syntax, generated types/themes, typecheck, build, unit tests).