provisioning: updates-review-approve — review a feature release and approve it for the window #62
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Feature spec: #17 (provisioning).
What to build
The review-and-approve step of the P4b journey, driven by the
updateorchestrator seam. A feature or major release — or any release while auto is off —
arrives as pending-my-decision and the operator opens it to decide (P4b-U2). The
review shows release notes written in plain language and shipped signed with
the release, rendered verbatim (not generated per fleet, so two communities on the
same channel read identical text — ADR 0068), plus what it touches in this
fleet's terms: which nodes, which services, when, and what happens if it fails.
Approving queues it for the next maintenance window, so it applies when members are
least affected. Skipping returns it to the pending list where it keeps saying so —
nothing is lost, nothing applies itself, and the operator is neither nagged nor
overridden (ADR 0015).
Notes: release notes are Matou-authored and ship signed as a release artifact —
the dashboard adds only the local framing (which of this fleet's nodes/services
are touched), never what the change is. Flow:
docs/ux/flows/p4b-updates.mermaid.Acceptance criteria
Blocked by
Task manifest
Done in commit
f1a96be(internal/update/).Built the
updateorchestrator's review-and-approve face (P4b-U2) test-first at the control-plane seam (review_test.go, stories 24–27):Review(rev)— renders the release notes shipped signed with the release, verbatim (no LLM in the path, ADR 0068), plus this fleet's own framing: which nodes (gateway updated last), which services members feel, when (the next maintenance window), and what happens if it fails (rolled back automatically to the revision the fleet runs now). Only a pending-your-decision release is reviewable. (stories 24, 25)Approve(rev)— moves the pending release to the newStateQueued: queued for the next maintenance window on the operator's explicit say-so; returns the window; idempotent. (story 26)Skip(rev)— a real, first-class no-op that keeps the release pending and saying so (ADR 0015 — advice, never veto): nothing is lost, nothing applies itself; still reviewable and approvable later; survives a re-poll exactly once. (story 27)Model:
SignedReleasegained itemised per-fleetNodes/Servicesframing beside U1's one-lineTouchessummary (both computed locally, not part of the signed payload);StateQueuedadded and surfaced in a newQueuedsection on the Updates surface, counted in the resting calc so an approved release keeps the surface off its resting U1x.Out of scope, untouched: staged rollout mechanics after approval and story 28 automatic-security-in-window (
updates-rollout-happy#70); authoring the notes (Matou-authored, consumed here).Evidence:
go test ./internal/update/green (stories 24–27 inreview_test.go);go build/vet/gofmtclean across the module.STATUS.mdheader updated in the same commit.clan machines update, and the droplet never comes back — reboot-vs-no-reboot contradiction (follow-on to #700) #702enroll-copy's shipped ServerAliveInterval=30/CountMax=10 did not terminate a live stallednix copy, ran the full 90m ceiling — the fix's synthetic proof does not match live behaviour #716enroll-copy's ceiling to a measured rented copy — with #716's drain fix the shared 20mdefaultPhaseTimeoutnow CUTS a cold copy instead of hanging on it #717enroll-copy's shipped ServerAliveInterval=30/CountMax=10 did not terminate a live stallednix copy, ran the full 90m ceiling — the fix's synthetic proof does not match live behaviour #716enroll-copy's shipped ServerAliveInterval=30/CountMax=10 did not terminate a live stallednix copy, ran the full 90m ceiling — the fix's synthetic proof does not match live behaviour #716enroll-copy's ceiling to a measured rented copy — with #716's drain fix the shared 20mdefaultPhaseTimeoutnow CUTS a cold copy instead of hanging on it #717