device-add: the terminal says 'did not reach Pending' after a guest-create failure, but the request IS pending and the panel offers Approve for a device with no VM #2006
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.
Dependencies
No dependencies set.
Reference
Matou/idss#2006
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?
Symptom
The install terminal ended with
but the gateway's ledger says otherwise:
GET /api/v1/enroll/pendingholds the request pending (req-0002,bens-mac-04, mode vm), and the control panel's Fleet tab offers the operator an Approve for a device whose guest does not exist. Approving would walk the landing (mesh join into the guest over loopback SSH) against nothing.Whakatōhea Demo, 2026-09-30 00:51Z.
Cause
By design
Consentpairs first and creates the guest second (internal/join/app.go:177-207: "the request is paired regardless of what the guest create does next"), and the resume anchor is saved between the two. So a create failure leaves a Pending request — correct for a resumable transient fault — but:installFailureMessage(agent/cmd/agent/main.go:440-455) prints the one fixed line "did not reach Pending" for every failure after redeem, which is false here.guest_specis the only hint and the card does not show it.idss-agent joinservice resumed the anchor 16 s later and loggedwaiting for the operator's decision…— so the device is now waiting for an approval it cannot land, with the same stale VM config (see the cold-install ticket).Fix
guest_statethe device reports at pair time and updates on create success/failure through the poll it already runs), and the panel's pending card shows "VM not yet created" with Approve held until it is — or the approval landing checks it and refuses with the reason instead of starting the mesh join.Related
Cold-install VM create (the failure that exposed it) and the zero-floor
serverrole — filed alongside.Siblings
Found in the one hand run (bens-mac-04 → Whakatōhea Demo, 2026-09-30): #2002 #2003 #2004 #2005 #2007
swarm-claim host=matou-dev-server-01 run=36153
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2006 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope