device-add: a failed landing reports back — ReportLandingFailed sibling to ConfirmEnrolled, the operator's strip shows the device's sentence in seconds (ADR 0214 d.6) #965
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#965
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?
Parent
Spec #960 (child of device-add spec #13) · ADR 0214 · surfaced by #956 (Ben ruled BUILD). Glossary: mesh plane, setup key (CONTEXT.md).
What to build
When a device's landing fails after approval (mesh, certificates, link), the device tells the control plane why, and the operator's pending-devices strip shows that sentence as an error on the row within seconds — instead of "approved — joining now" for five minutes. The request stays Approved: the grant is still the device's to retry. This is independent of the plane and can land first; it turns the next mesh red into seconds rather than the 300 s ceiling and a stood-up droplet.
Acceptance criteria
ReportLandingFailed(ctx, requestID, err); the landing calls it on any post-approval failure (mesh, certs, up) and does not callConfirmEnrolled; a failed report is logged, never masks the original error (offline join tests).LandingError(sentence + time) on the Approved view; status stays Approved; idempotent; a later successfulConfirmEnrolledclears it (offline ledger tests).PendingDevicesSurfacerendersdata-status="pending-device-error"with the sentence in[data-field="error-message"]from the read (not only the Approve verb's own error); component test.p3-device-add-appwireframe gains the ✎ pending-device-error state on the dashboard strip (annotated with the domain field names).go build/vet/lint/dashboard tests green; STATUS updated.Blocked by
approve-enroll-land,transport-pending-strip-live#184).Task manifest
netbird uprejectsmesh.internaland no device can land #956swarm-claim host=elitebook-distributed-server-03 run=13454
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #965 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
close-report for #965 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
netbird uprejectsmesh.internaland no device can land #956approveleg asserts the landing against ANY connected card — the gateway's own enrolled row satisfies it, so a refused Approve is reported as an ssh exit code instead of the control plane's own sentence #1005