deploy-files: the deploy-status poll reds setup-error on ONE 502 during deploy-services — the stage that restarts the very control plane it polls #835
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.
Blocks
Reference
Matou/idss#835
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?
Filed from the #722 watch (reporter token-limited again). Drive
20260825T071850Z(droplet regression), reddeploy-filesat 18/19 green: the dashboard's deploy surface flipped[data-status="setup-error"]with "control plane responded 502" — and the journal proves the 502 was the deploy's OWN restart window, not a failure:07:26:43control plane healthy (deployed by the seed; the earlier 127 crash-loop is the normal pre-seed window —/srv/idss/bin/control-planelands with the seed).07:29:05systemd:Stopping idss-control-plane.service… Deactivated successfully— the services-deploy'sswitch-to-configurationrestarting the control plane to apply the files closure (its final stats: 2.1G mem peak, 1.4G written — it was mid-build work).07:29:06caddy:dial tcp 127.0.0.1:8080: connection refused→ the app's status poll got the 502 IN THE GAP and the setup card declared failure.The defect
The deploy-status poll treats a single 5xx/refused as terminal
setup-errorduringdeploy-services— a stage whose defining act includes restarting the control plane it is polling. Same family as GOTCHAS #62/#68/#714: our own watcher misreading the switch. A member of the restart-tolerance already exists on other probes (pollReady, the #426 reconnect window) — the deploy poll needs the same bounded tolerance (e.g. 5xx/refused tolerated for ~60–120 s during deploy-services before conceding; a persistent refusal still reds honestly).The e2e fixture (
provision.ts:281–306) rightly trusts the card — fix the card's verdict, not the fixture.Blocks #722 (attached). Evidence:
test-results/drive-droplet/20260825T071850Z/logs/droplet-journal.txtlines ~1690–2000 on matou-workstation.swarm-claim host=elitebook-distributed-server-03 run=10073
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #835 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
deploy-files' switch stopsidss-control-plane, whose cgroup holds theclanCLI, andswitch-to-configurationdies at 101 before it ever restarts anything #858deploy-files' switch stopsidss-control-plane, whose cgroup holds theclanCLI, andswitch-to-configurationdies at 101 before it ever restarts anything #858