Repository navigation
feat(web): show linked computers in update settings - #213
Merged
Merged
Conversation
Settings → Workers → Updates shows the updates center's rows through a shared UpdateRows component: this computer, linked computers with their Update action, workers and agent CLIs grouped by computer. The popover uses the same component. Settings → App updates adds a "Linked computers" group: each computer's version, target, channel and status, with Check now and Update, or "Update on that computer" when its app is too old. Their channel and check frequency stay read-only here. ManageUpdates gains computer_check, which asks one linked computer's app to check its own feed.
This was referenced Nov 13, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 18, 2026
## Change Canopy now updates supported global mise installations of Claude Code, Codex and Grok from individual CLI controls and Update all. The recipe activates exact targets with `mise use --global --yes --pin`, retains installed versions and reactivates the previous version after failed validation. Native and npm mise tool identities and custom `MISE_DATA_DIR` roots are supported. Project overrides, multiple configured versions, fixed installation paths and mise's `latest` symlink keep manual instructions. Rollback restores an exact pin even when the previous selector floated. Update all no longer disables every CLI control in the popover. Independent targets remain actionable while their own queued/running steps, worker updates and computer restarts prevent conflicting actions. The existing four concurrent scheduler slots and per-worker installer resource locks remain in effect, including a shared mise configuration lock through rollback. CLI steps persist an attempt UUID before dispatch and carry it through the authenticated local or linked InstallCli route. Stale failures cannot fail a new attempt, and uncertain acknowledgements wait for reports instead of failing after 60 seconds. A matching running attempt waits through validation and rollback; confirmed target or newer versions reconcile obsolete failures. Existing manual installations of the same target are followed without another command, and waiting for a different target remains bounded across gateway restarts. The additive UI `install_id` field is opaque to computer routing; WorkerLink compatibility and the frozen UpdateService are unchanged. Older linked gateways still confirm success through the installed version, but uncorrelated failures may wait until the step timeout. Full attempt correlation requires updated gateways on both computers. Behavior and release availability are documented separately. ## Verification - Generated contracts with `bun run gen`. - Focused `check:tmp` suites passed: `mise-cli`, `cli-discovery`, `provider-cli`, `update-cli-attempts`, `update-center`, `update-concurrency`, and `update-all-computers`. Coverage includes rollback, shared resources, stale reports, lost acknowledgements, durable restart identity, owner scoping and authenticated linked routing; no temporary files remained. - Worker, gateway and integration-test TypeScript checks, web Svelte checks, scoped lint/format checks and diff checks passed locally. - Inspected the actual popover components in Chromium at desktop and phone widths in light and dark themes, including long names. Starting one CLI left an independent CLI on another worker actionable; both requests overlapped while reserved targets stayed blocked. - Copy audit (§8): passed. New mise fallback messages explain the unavailable update and next action; the new waiting timeout names the problem and asks the user to check the worker and retry. Existing action labels remain unchanged. No new confirmations, empty states, glossary terms or decorative copy. Short, typical and long names remain readable; status words and action labels convey meaning without colour alone. - Full repository verification and builds are left to CI. Installers are exercised with isolated fixtures; no live provider CLI updates or real macOS/Windows verification were performed. Fixes: #99 Fixes: #213
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.
Linked computers now also appear in Settings → Workers → Updates and in Settings → App updates, not only in the updates popover.
Shared rows: the popover's list moved into
UpdateRows.svelte, which the popover and the Workers settings page both use. It shows:Settings → Workers → Updates
Settings → App updates
LinkedAppUpdates.svelte) has one row per computer, with:Gateway: a new
ManageUpdatesaction,computer_checkwithnode_id, sends the existing linkcheckto one computer.linked-updates.test.tsnow covers it reaching B's app.Dev gallery:
/dev/updates?view=settingsrenders both settings sections with fixtures.UpdatesPanelandLinkedAppUpdatesgained an optionalfixtureprop for it.Tests:
linked-updates7/7,desktop-updates8/8,update-center9/9 andremote-threads11/11.check:tmp: 1384 passed, 0 failed.Checked in a browser in light and dark, at desktop and phone width, with long names and every computer state.
Copy audit (§8)
Docs:
docs/updates.md,docs/settings-map.md.