Repository navigation
docs(legal): say the browser keeps the runner update you skipped - #39
Merged
kalaspuff merged 1 commit intoOct 22, 2026
Merged
Conversation
app.fctl.sh's home page now tells people when a runner of theirs runs an older fctl than the control plane, and they can skip the notice for that version. The browser keeps the version they skipped (localStorage, under their user id), so the policy lists it with the rest of what the browser keeps.
kalaspuff
approved these changes
Oct 22, 2026
kalaspuff
deleted the
fctl/119-it-would-be-great-on-the-home-screen-use
branch
October 22, 2026 00:03
kalaspuff
pushed a commit
to hyperstructure/fctl
that referenced
this pull request
Oct 22, 2026
…187) People who provide a runner had no way to learn from the app that it runs an old fctl: the web app showed runner versions only under Admin. Now, while a runner you registered is online with an older fctl than the control plane, your home page says so, under the task box: - **Update your runner to fctl 0.16.0**, with each runner that is behind and its version (`studio mac runs 0.15.0 and mini runs 0.14.2`). - **How to update** opens the steps in place: run `fctl self update` on the runner (with a copy button). It installs the latest fctl and restarts the host service, and the sessions running there carry on. Where Homebrew installed fctl, it says to run `brew upgrade fctl` instead, as the formula's caveat asks, then `fctl host restart`, since Homebrew doesn't restart the host service. The notice goes away by itself once the runner reconnects with the new version: the feed carries its new hello. - **Skip this version** hides the notice for that version in this browser, for this person (localStorage, `fctl:skipped-update:<user>`). It comes back when the control plane runs a newer version. ## Why this way - **The version to update to is the control plane's** (`GET /api/v1/instance`), compared with the version in each runner's hello. On app.fctl.sh that is the latest release, since every release redeploys it. On a self-hosted instance it is the version its hosts are meant to run ("hosts tolerate a control plane one version ahead"), and the control plane doesn't have to fetch fctl.sh to know it. The change is in the web app only: runners already report their `version` and `yours` to the REST list and the feed, so nothing in the protocol or the API changes. - **Only your own runners that are online**: the person who registered a runner (`yours`) is the one who can update its machine. An offline runner's version is only what it said last, and one that has been off for months shouldn't nag. - **Skipping is per browser**, like the passkey offer's "Not now". Keeping it on the account would need a column, an endpoint and a CLI command for one hint. - On the CLI, `fctl self update --check` already says whether a newer release is out. **Known gap**: right after a release, app.fctl.sh can run the new version shortly before fctl.sh publishes its archives. For v0.16.0, the deploy finished at 23:29:36 and the Release workflow's Publish job at 23:30:45. In that minute or so, `fctl self update` says fctl is up to date, and the notice stays until the archives are out. The privacy policy on fctl.sh lists what app.fctl.sh keeps in the browser, so hyperstructure/fctl-site#39 adds the skipped version to it. Merge the two together. ## Verification - Unit tests: `web/src/lib/updates.test.ts` covers parsing and comparing versions as `fctl self update` does, and which runners count. `web/src/components/runner-update.test.tsx` covers the copy for one runner and for several, the instructions that open in place (`aria-expanded` and `hidden`), what doesn't show, and skipping: it holds for that person and version, and comes back for another person and for a newer version. - `cd web && npm run check`, the whole web test suite (434 tests), `cargo xtask check web` (including the production build) and `cargo xtask check lint test`. - End to end on `cargo xtask dev` (control plane 0.16.0): I registered two more runners and connected them with a small stand-in host that sends a real hello with versions 0.15.0 and 0.14.2. In Chromium, the home page listed both. When `mini` reconnected with 0.16.0, the notice changed at once to `studio mac` alone. **Skip this version** hid it, and it stayed hidden across a reload. With `/api/v1/instance` rewritten to 0.17.0, it came back with all three runners. ## Screenshots At c1f7134, on `cargo xtask dev` with the stand-in runners. The home page in the light theme, 1440 px wide:  How to update, open, in the dark theme:  At 390 px wide, open in the light theme and closed in the dark theme: | Light, open | Dark | |---|---| |  |  | Made in fctl session https://app.fctl.sh/s/ses_01M5GDQTA4B94G6461Q881NYT8 --------- Co-authored-by: fctl-sh[bot] <fctl-sh[bot]@users.noreply.github.com>
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.
app.fctl.sh's home page now tells people when a runner they registered is online with an older fctl than the control plane, with the command that updates it (hyperstructure/fctl#187). They can skip the notice for that version. Their browser then keeps the version they skipped in localStorage, under their user id, so that the notice stays away until the control plane runs a newer one.
The privacy policy lists each thing app.fctl.sh keeps in the browser, so this adds that one to "Cookies and browser storage", beside the folded workspaces and the last project, and moves
updatedto 2026-10-22. Nothing new is stored on app.fctl.sh or sent anywhere.Merge it when hyperstructure/fctl#187 merges.
Made in fctl session https://app.fctl.sh/s/ses_01M5GDQTA4B94G6461Q881NYT8