Repository navigation
Waiting on you: list each machine's T3 update that waits on the owner (#808 row 7, part 2) - #1436
Conversation
|
lens: code · reviewer: Claude Opus 5.5 (code lens r1) · read at: 7770ac7 blocker: none Checked and fine:
State question:
Tests: the 8 logic tests cover behind, equal and ahead versions, the three routes, failed, running, not connected and not read. They are red on main (the module is missing). No new test was needed to prove a finding: all findings are minor. 🤖 Generated with Claude Code |
|
Merge conveyor: head |
RebaseMerged What conflicted and how it was resolved. On main, the signed-out providers list (Needs you on a machine,
Checks run. All pass:
|
|
Merge conveyor: head |
…#808 row 7, part 2) A connected machine whose server is behind this app, whose update is running, or whose last update failed while the server is still not on that version gets a row with the step and upstream's own Update (Retry, or copy-the-command) button. The rows stay until the versions match, also after upstream's composer banner was dismissed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
a436cd8 to
cc052de
Compare
Part of #808 (row 7, part 2). Left for row 7: pairing prompts, OS-only prompts ("needs you at " with the exact step) read across links, and agent guidance to avoid OS prompts.
What: the "Waiting on you" page (the Issues entry while
client.ownerQuestionsPageis on) gains a T3 updates on your machines list. One row per connected machine whose T3 server is behind this app (upstream's version mismatch rule), whose update is running, or whose last update failed while the server is still not on that version. Each row shows the machine, the two versions, upstream's progress or failure line, the step, and upstream's ownServerUpdateAction: Update (or Retry after a failure) when the machine updates itself, the copy-the-command button when it cannot, and upstream's notes for a desktop app that must update itself or a managed policy that denies updates. When only update rows wait, the empty state says "No owner question is waiting" rather than "Nothing is waiting on you".Why it is not a duplicate of upstream: upstream's composer banner lists the same machines but can be dismissed (per version pair, kept in local storage; a failure per state). After that nothing in the app shows that a machine is behind. These rows stay until the versions match.
How: reads what the app already holds (
environment.serverConfigandenvironmentUpdateStatesAtom). No server change, no new setting, no seam: every code file is fork-owned underapps/web/src/components/fork/ownerQuestions. The rule is pure logic inserverUpdates.logic.ts;NeedsYouServerUpdates.tsxdraws it.State question:
pendingUpdateEnvironmentIds); a running update shows its progress and no button.Overlap with #1434 (open, row 7 part 1): both add a section before the page body and change the empty-state title to the same text, so whichever merges second takes a small text merge in
WaitingOnYouPage.tsx,docs/fork/README.mdanddocs/fork/about.md(combine the two conditions). #1434 already names machines that are not connected; this list adds no line of its own for them.Tests:
serverUpdates.logic.test.ts(new, 8 tests), red on main because the module is missing. It covers a server behind / equal / ahead, the three routes (here, manual, desktop app; a desktop-managed server whose app takes the update counts as here), a failed update kept until the server reaches it, a running update, and machines not connected or not read yet.vp run check:changedpasses (format, lint, knip, typecheck, tests, react compiler). The fork-changes-list test and the schema, upstream-files and seam checks pass locally. No browser test was run here (local sockets are blocked on this machine); CI runs the web suites.Docs: a new change file
docs/fork/changes/app/808-waiting-on-you-lists-server-updates.md, a paragraph underclient.ownerQuestionsPageindocs/fork/README.md, and a line indocs/fork/about.md.🤖 Generated with Claude Code