provisioning: updates-rollout-ui — the P4b-U3 rolling-out and U4 applied screens #108

Closed
opened 2026-07-25 12:58:39 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #17 (provisioning). Follow-up UI slice filed by design-verify 2026-07-25: #70 closed seam-only; this slice ships the owed screen(s) P4b-U3/U4 per swarm prompt rule 2b (the wireframe is the binding UI contract).

What to build

The rollout's screens: U3 rolling-out (seed → canary → gate → rest, gateway last, per-node progress) and U4 applied (converged + healthy, the order it took, monitoring watches from here). Build to the two wireframes.

Acceptance criteria

  • Given a rollout applying, when I open Updates, then U3 shows the staged order with the canary named and the gateway last (fields per wireframe).
  • Given every service passed on every node, when the rollout finishes, then U4 shows the fleet converged with the order it took.

Blocked by

  • #70 provisioning:updates-rollout-happy — the seam.
  • #106 — U1→U3 navigation.

Task manifest

task: provisioning:updates-rollout-ui
implements_flow: p4b-updates
implements_edge: "U1→U3, U3→U4"
wireframe: [p4b-u3-rolling-out.html, p4b-u4-applied.html] (docs/ux/wireframes/p4b-updates/)
interface: "the U3/U4 screens over the update seam's rollout state"
seam: "component tests against the wireframe's data-field/data-action/data-status contract (dashboard); reads only through the closed seam's API — no local truth"
acceptance: "the UI-facing Given/When/Then clauses of the parent seam ticket, verified against the rendered screen (see Acceptance criteria above)"
depends_on: [provisioning:updates-rollout-happy, provisioning:updates-see-state-ui]
out_of_scope: [the seam behaviour itself (closed in the parent seam ticket) — this slice renders it, never reimplements it]
needs_human_decision: []
## Parent Feature spec: #17 (provisioning). Follow-up UI slice filed by design-verify 2026-07-25: #70 closed seam-only; this slice ships the owed screen(s) P4b-U3/U4 per swarm prompt rule 2b (the wireframe is the binding UI contract). ## What to build The rollout's screens: U3 rolling-out (seed → canary → gate → rest, gateway last, per-node progress) and U4 applied (converged + healthy, the order it took, monitoring watches from here). Build to the two wireframes. ## Acceptance criteria - [ ] Given a rollout applying, when I open Updates, then U3 shows the staged order with the canary named and the gateway last (fields per wireframe). - [ ] Given every service passed on every node, when the rollout finishes, then U4 shows the fleet converged with the order it took. ## Blocked by - #70 provisioning:updates-rollout-happy — the seam. - #106 — U1→U3 navigation. ## Task manifest ```yaml task: provisioning:updates-rollout-ui implements_flow: p4b-updates implements_edge: "U1→U3, U3→U4" wireframe: [p4b-u3-rolling-out.html, p4b-u4-applied.html] (docs/ux/wireframes/p4b-updates/) interface: "the U3/U4 screens over the update seam's rollout state" seam: "component tests against the wireframe's data-field/data-action/data-status contract (dashboard); reads only through the closed seam's API — no local truth" acceptance: "the UI-facing Given/When/Then clauses of the parent seam ticket, verified against the rendered screen (see Acceptance criteria above)" depends_on: [provisioning:updates-rollout-happy, provisioning:updates-see-state-ui] out_of_scope: [the seam behaviour itself (closed in the parent seam ticket) — this slice renders it, never reimplements it] needs_human_decision: [] ```
Author
Owner

Done in commit b0d9fd7 (branch sandcastle/worker/20260725-132235-09df6e).

What shipped — the P4b-U3 rolling-out and P4b-U4 applied screens, built to p4b-u3-rolling-out.html / p4b-u4-applied.html:

  • dashboard/src/lib/rollout.ts — the seam-mirroring RolloutView/RolloutSource port over #70's RolloutResult (progress snapshot: staged order with done/current/upcoming, the seam-chosen canary + its stated reason, order-so-far, converged/total, members-saw, log), plus FakeRolloutSource and the orderPhrase/clockTime presentation helpers.
  • RollingOutScreen.vue (U3): closures-seeded → canary (named by the seam's rule, never a pick — ADR 0066) → the rest → gateway always last, with the wireframe's ✓/●/○ stage markers, the tiny-fleet one-node-at-a-time fallback, the LOGGED · open/download affordance, and the same-exact-closure copy.
  • AppliedScreen.vue (U4): applied = converged AND healthy (ADR 0061), the order it took with canary/gateway annotated, HEALTH, MEMBERS SAW rendered verbatim from the seam (omitted when absent), logs, and the monitoring hand-off (ADR 0027).
  • UpdatesSurface.vue composes the edges U1→U3→U4 over an optional rolloutSource: opening Updates during an applying rollout lands on U3 (acceptance 1); when every service passed on every node the surface shows U4 with the fleet converged and the order it took (acceptance 2). No local truth — every field reads through the seam's rollout state; the screens render the rollout, never run it.

Evidence — dashboard/tests/unit/rollout.test.ts: 18 component tests against the wireframes' data-field/data-action/data-status contract, all green; full dashboard suite green (one pre-existing real-clock flake in deviceAdd.test.ts, fails on clean HEAD too, untouched); vue-tsc clean. STATUS.md updated in the same commit.

Done in commit b0d9fd7 (branch sandcastle/worker/20260725-132235-09df6e). **What shipped** — the P4b-U3 rolling-out and P4b-U4 applied screens, built to `p4b-u3-rolling-out.html` / `p4b-u4-applied.html`: - `dashboard/src/lib/rollout.ts` — the seam-mirroring `RolloutView`/`RolloutSource` port over #70's `RolloutResult` (progress snapshot: staged order with done/current/upcoming, the seam-chosen canary + its stated reason, order-so-far, converged/total, members-saw, log), plus `FakeRolloutSource` and the `orderPhrase`/`clockTime` presentation helpers. - `RollingOutScreen.vue` (U3): closures-seeded → canary (named by the seam's rule, never a pick — ADR 0066) → the rest → gateway always last, with the wireframe's ✓/●/○ stage markers, the tiny-fleet one-node-at-a-time fallback, the LOGGED · open/download affordance, and the same-exact-closure copy. - `AppliedScreen.vue` (U4): applied = converged AND healthy (ADR 0061), the order it took with canary/gateway annotated, HEALTH, MEMBERS SAW rendered verbatim from the seam (omitted when absent), logs, and the monitoring hand-off (ADR 0027). - `UpdatesSurface.vue` composes the edges U1→U3→U4 over an optional `rolloutSource`: opening Updates during an applying rollout lands on U3 (acceptance 1); when every service passed on every node the surface shows U4 with the fleet converged and the order it took (acceptance 2). No local truth — every field reads through the seam's rollout state; the screens render the rollout, never run it. **Evidence** — `dashboard/tests/unit/rollout.test.ts`: 18 component tests against the wireframes' data-field/data-action/data-status contract, all green; full dashboard suite green (one pre-existing real-clock flake in `deviceAdd.test.ts`, fails on clean HEAD too, untouched); vue-tsc clean. STATUS.md updated in the same commit.
ben closed this issue 2026-07-25 13:32:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#108
No description provided.