Updates: an operator who has read the notes cannot take a release before the maintenance window — add **Update now** on the review sheet (approve + roll out immediately, window bypass for that release only) #1811
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.
Dependencies
No dependencies set.
Reference
Matou/idss#1811
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?
Ask (Ben, 2026-09-24, on the cold manual re-test of
whakatohea-demo)"Add an Update now button."
What the operator can do today (proven from the code + this gateway)
UpdatesScreen.vue:70,data-action="review-update") → the review sheet → Approve (POST /api/v1/updates/reviews/{revision}/approve,controlapi/updates.go:111).queued(update/review.go:80-89). The rollout itself always waits for the maintenance window:rollout.go:259if !manual && !Window.Contains(now) → WaitingForWindow— "automatic and operator-approved rollouts alike wait for the community's maintenance window" (story 28, the U2 promise). The onlymanual=truecaller isretry-by-hand, which is reachable only for a quarantined/failed rollout (rollout.go:734).POST /api/v1/updates/policy) and wait for the scheduler tick — then remember to put the window back. That is a workaround dressed as a setting.Tonight's case: the gateway (
ff4a5263, policytesting/ window 02:00–04:00 UTC / security auto / feature ask-first) shows six pending patches, the newest7d3d84facarrying #1806 + #1807 — the two fixes the operator was waiting on to make the community app card work. Nothing lets them take it before tomorrow 02:00 UTC.Design
On the review sheet (and on the Rolling-out/queued state), next to Approve:
POST /api/v1/updates/reviews/{revision}/approvewith{"now": true}(or a sibling…/roll-out-now) →rollout(ctx, rev, manual=true)semantics for the window gate only — the deploy-yield gate (ADR 0259 rule 3: never start while a service deploy is in flight) and the self-swap/health-check rules stay exactly as they are. The rollout record carriesManual: trueso the log says an operator chose the time.pending/queuedreleases the policy would otherwise wait on; not a way to re-run a rolled-back release (that staysretry-by-hand).Wireframes:
docs/ux/wireframes/updates/(the U-series, DDR for ADR 0248) gain the button on the review frame + the queued row;docs/ux/flows/updates.mermaidgains the edge review → rolling-out that skips the window node. This is whyneeds-design: the frame exists, the new act on it does not.Related observation (not this ticket — will be filed once seen on the Updates screen)
All six releases are
kind: patch, whichKind.Automatic()treats like security (update.go:56) undersecurity: apply-automatically, and one 02:00–04:00 UTC window has passed since the first was published (22:24Z) — yet all six sitpendingwithlast_attempt_atzero and no update-lane log lines in the window. Either patches ontestingare meant to wait for approval and the state is mislabelled, or the automatic lane did not fire. #1562's lane.Relates to: ADR 0248, ADR 0259, #1562, #1675, #1806, #1807, DDR for the U-series (Updates),
docs/ux/wireframes/updates/.services/nodes, the review view marshals them as null, and ReviewUpdateScreen callsview.services.joinon it #1815BUILT — landed on main as
54cdc2ce(Ben: "do 1811 now", coa session, under the WKT-DEMO readiness gate).POST /api/v1/updates/reviews/{revision}/update-now— approve AND start the staged rollout at once, bypassing the maintenance window for that release only. 202started:true(the surface leaves U2 for U3), 200started:falsewhen nothing pending/queued is tracked there, 409update_in_flight. Detached + checkpointed exactly like retry-by-hand (#1658), so it survives its own ADR 0259 self-swap restart.RolloutResult/RolloutView.manualsays an operator chose the time.flows/p4b-updates.mermaidupdated (the needs-design half).internal/updateTestUpdateNow_*/TestStartUpdateNow_*,internal/controlapiTestUpdateNowHandler_*(approve alone only queues for 02:00; update-now applies out of window withmanual:true), dashboardupdateReview.test.ts×3. go vet + golangci-lint clean.Reaches a running community through the next
testingcut off main (the release rail); a fresh founding (WKT-DEMO) carries it in its operator build.Correction: the previous comment named
54cdc2ce(origin/main at the time — the rebase had stopped on a STATUS.md conflict and the push was a no-op). The change actually landed on main as6ebfb747after the conflict was resolved. Everything else in that comment stands.