updates: "Retry now" always answers the operator with an error — the synchronous retry request is killed by the ADR 0259 self-restart, and the screen never re-reads #1658
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#1658
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 defect (seen live, #1614 run
20260920T070007Z; read off the Playwright trace)On U4x the operator presses "Retry now". The retry RUNS — the box re-landed C, self-swapped, and (C being unbootable) the guard restored and the release quarantined at attempt 2. But the operator is told it FAILED, and the screen never updates:
Cause:
RetryByHandruns the staged rollout synchronously inside the HTTP handler (internal/controlapi/updates.go:~154-158). Since ADR 0259 the gateway stage ENDS by restarting the control plane — the very process serving that request — so for ANY release that carries a control-plane binary the POST dies with the restart (caddy answers 502), whether the retry goes on to succeed or fail.RolledBackScreen.vueonRetrythen takes its error branch (if (error.value) return;— noretriedemit, no re-read), leaving a stale "attempt 1 of 2 · Retry now" card under an error message. A real operator would press it again.The rehearsal healer fixed the drive's own reading of this (
1ab409f3, harness only). The product behaviour is unchanged.Fix
retry-by-handstarts the retry and answers at once (202 Accepted); the rollout runs on the orchestrator's own goroutine exactly as a windowed rollout does, checkpointed (#1567) so it survives its own restart. Keep the ADR 0259 rule: refuse with the plain "a deploy is in flight" message rather than start.202the surface goes to U3 and polls, and U3's polling must ride out the restart (a 502/connection drop during a rollout is "restarting", not an error — U3 already says so on its gateway row, ADR 0259).end-early(safe? it does not deploy) and the U2 approve path when the window is already open.'s control plane service failed its health check…") and says "failed its health check" where the truth is "did not start" (bootFailedCheck).RecordBootFailurecomposes the result with no failing node; name the gateway and use the boot-failure wording.Acceptance
retry-by-handreturns 202 before the rollout finishes; a second press while it runs is refused plainly, not queued twice.Live proof rides the #1614 drive's
rolled-backleg (it presses this button).swarm-claim host=matou-dev-server-01 run=28236
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1658 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope