updates drive: the "second failure quarantines" checks re-open the SAME window the same day — the durable retry throttle (#1650) now rightly holds them to tomorrow, so both legs will time out #1654
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
2 participants
Notifications
Due date
No due date set.
Reference
Matou/idss#1654
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?
The problem (found by reading
9c906f8e, before any run hit it)#1650 made ADR 0067's retry throttle durable — correctly: a release with a counted attempt is held until the maintenance window's NEXT opening (
Window.OpeningAtkeys on the window'sStarton the calendar day;AttemptedInCurrentWindowholds any release whoseLastAttemptAtis not before that opening —internal/update/rollout.go:223-235,:761-778).The Updates-lane proof drive still reaches its two "a second failure quarantines" checks the old way — by re-opening the SAME window on the SAME day:
rolled-back:journey.updates.spec.ts:~436-445—openMaintenanceWindow(dash, bracketWindow(), …)then expectsquarantined-<C>.refused-artifact::~482-487— same, expectsquarantined-<D>.bracketWindow()is00:00–23:59(fixtures/updatesJourney.ts:169), so its opening is today 00:00 both times; the first attempt's stamp falls inside it; the product now (rightly) holds the retry to tomorrow; and each check will sit outROLLOUT_BUDGET_MSand red. The product is right; the harness's way of getting a second attempt no longer exists.Fix — reach the second attempt the way an operator can
rolled-back): U4x already offers "retry by hand" (RolledBackScreen.vue,data-action="retry-by-hand"→Orchestrator.RetryByHand, which bypasses the window by design, story 35). Press it; the second boot-failure → guard restore → quarantine. Apply the same ≤60 s closed-door bound to this second outage (Ben's #1650 ruling is per failed attempt).refused-artifact): U3x has no retry (open-policy,quarantine-now,return-to-updates). An operator's real "second window" is a window that OPENS after the first attempt: through the U5 door setstartto the gateway's current clock minute (read it from the guest —guestExec date +%H:%M— so the timezone is the control plane's own) andendto23:59; if the first attempt landed in that same minute, wait for the minute to turn. ThenOpeningAtis afterLastAttemptAtand the retry is a genuinely new window. Add awindowOpeningNow()helper besidebracketWindow(); keepbracketWindow()for first attempts.LastAttemptAt, or move the guest clock.Acceptance
00:00–23:59window, a release with an attempt today is held (AttemptedInCurrentWindowtrue); withstart= a minute after the attempt it is not.Live proof: the #1614 drive itself (free local KVM guest).
swarm-claim host=bens-mac-04 run=28113
(automated multi-host claim — lowest live claim id works this ticket)
Run
20260920T050806Zat9c906f8e(from the #1562 lane session) — two more live proofs, and a harness red in the same leg #1654 is editing.Proven live: (1) Ben
s bounded closed-door window — the leg measured ONE outage,apex 502 12.1s, reopened, well inside 60 s. (2) The durable retry throttle (#1650) — after the guard restored B at05:49:18and the restored process counted attempt 1, there is NO secondfleetland: landed/ self-swap forupdates-cin the journal; last run it re-landed one second later. (applied` green a fourth time; U3/U4/U4x screenshots captured.)The red:
rolled-back→ "waiting on the fleet rolled back to updates-b — showed instead: fleet on (unread)". Harness. After the outage check the leg doesreloadPanelToUpdatesthenreadFleetRevision(journey.updates.spec.ts:~418-427), which only knows U1/U1x selectors (up-to-date/current/convergence—updatesDrive.ts:134-147). But after a reload the surface rightly lands on U4x again (a retained rolled-back view holds the screen until the operator leaves it — unchanged by DDR 0261), and U4x carries none of those fields. The fleet IS on B: U4x says so itself in its rollback detail (view.rollback.nowOn, composed as<channel> · <revision> — all N nodes converged,rolloutview.go:242/268).Fix, to fold into #1654 since it is rewriting this exact stretch: read B off U4x
s own "now on" detail (give that span adata-field, e.g.now-on, and teachreadFleetRevisionabout it) — and keep the leg ON U4x, because #1654s "retry by hand" button lives there. Only after the quarantine check press "Back to updates" and cross-check U1`s header. Do not reorder it the other way round (return-to-updates first) or the retry-by-hand door is gone.close-report for #1654 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope