Repository navigation
feat(web): add per-machine Update buttons alongside Update all (#1560) - #1563
Conversation
8b5cab5 to
927e1ff
Compare
|
lens: code · reviewer: GPT-6.2 Sol (high) · read at: 927e1ff State check: Empty, disconnected, and manual-only rows do not start server RPCs. Connected manual rows reuse the existing copy-command action. A connected still-behind server with a failed live state can Retry; a normal server RPC or IPC failure resolves as an outcome, and the finally handlers release their local guards. Those handlers propagate unexpected rejections to several discarded promises, but I found no normal RPC rejection introduced by the IIFEs. Repeat and interrupted runs have the gaps above. All five seam lines match the manifest, and the titled track-switch dialog keeps its existing path. Static review and diff whitespace check only. |
|
Addressed round-1 review findings at head
Checks run:
|
|
lens: code · reviewer: GPT-6.2 Sol (high) · read at: 0902a2e round 1, fixed: Initial sidebar mixed-web confirmation warns about the UI-host restart and waits for a planned remote's handoff on the normal path. An already-running server blocks the initial footer action. Composer Update all still starts eligible servers concurrently in the existing shared action. The proposed seam and follow-up can track that existing gap separately. It does not independently block this scoped PR, but it remains part of #1560's full safety goal. State check — Empty, manual-only, and disconnected server rows cannot start a server update through the new row action. Existing live remote runs block initial Update all. Repeat, partial-failure, and interrupted flows have the lifecycle and restart gaps above. The titled track-switch dialog still takes the existing path. Diff whitespace check passed. Capacity-gated checks against the pinned source reproduced the stuck provider-only capsule, the missing local download row, and concurrent capsule retry; full CI was not rerun. Extend the existing sidebar entry-point coverage through the real run atom and capsule to catch these gaps. |
…ocal row retention, and live remote handoff
|
Fix round 2 pushed at
Tests extended through the real
|
Fixes #1560. Stacks on seam announcement PR #1562 (merge the seam PR first so
fork-seam-checkrecognizes the 5 announced lines).Summary
ForkUpdateMachinesDialog.tsx): adds an individual Update (or Retry) button on every updatable machine row in the table while keeping Update all in the footer, live per-machine progress (Downloading…,Restarting…,Updating providers…,Updated), and Copy update command buttons for manual-update machines in theskippedsection. Track switches (UpdateTrackSwitchDialog) pass atitleand keep upstream's dialog unchanged.ForkBannerMachineUpdate.tsx): adds an individual Update (or Retry) button for each connected remote-updatable machine inside the banner popover alongside Update all.SavedEnvironmentRows.tsx,ConnectionsSettings.tsx) already had a small icon-only update action for servers behindAPP_VERSION, and open PR Waiting on you: list each machine's T3 update that waits on the owner (#808 row 7, part 2) #1436 lists behind servers on Waiting on you; this PR puts per-machine Update buttons directly in the update dialog and update banner where the user already sees "Update all".Safety
This appon desktop, or the primary server in the web UI) shows an explicit warning and waits for confirmation before restarting (noting any other machines still waiting and any running threads on that machine).This applast.pendingUpdateEnvironmentIds, and liveserverUpdateState.General vs project
General: T3 fork web UI add-on under
apps/web/src/components/fork/perMachineUpdate/with 5 pinned seam lines across 2 upstream files. No project-specific config, machine names, IPs, or paths.Checks
vp test runonperMachineUpdate.logic.test.ts(6/6),ForkUpdateMachinesDialog.browser.test.tsx(4/4), andSidebarUpdatePill.browser.test.tsx(5/5): all passed.vp fmtandvp lint --report-unused-disable-directiveson all changed files: 0 warnings, 0 errors.vp run @t3tools/web#typecheck: 0 errors.fork-seam-check.cjs --config-ref feat/update-per-machine-seamandfork-seam-check.test.cjs(126/126): passed.🤖 Generated with Claude Code