Device Set up on an IDIP community: the picker offers Newsletters (no IDIP sign-in yet), the deploy refuses it, and the dashboard shows "This view hit a display fault" instead of the refusal #2039
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#2039
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 (Whakatōhea Demo, 2026-10-03, device
Delilah= node-req-0005)Ben set up the newly enrolled full-install device from the control panel. Every Set up attempt ended on the surface error boundary: "This view hit a display fault. The fleet itself is unaffected — this is a display failure, not a service failure." No refusal text, no retry path, nothing on the device.
Evidence
Gateway
journalctl -u idss-control-plane, two attempts:GET /api/v1/provision/devices/node-req-0005/assessmenton the same box,selection.available:Box release
7373b279(main head, 2026-10-03). Demo is an IDIP community (bridgeIDP).Two defects
1. The picker offers what the deploy refuses.
refuseAddingWithoutIDIPSignIn(internal/provision/assess.go, #1927) refuses adding anynotYetIDIPReadyservice (todaynewslettersListmonk,chatMattermost) on an IDIP community — but only atDeploy(deploy.go:217).Assess/ForRolestill list those services inavailablewithgated:falseand a fit line, so the P4-S2 picker presents Newsletters as a normal choice, the operator ticks it, reviews impact, confirms, and is refused three screens later with no pointer back to the tick. The gate belongs in the assessment: on an IDIP community a not-yet-ready service must come backgated:truewith the noteno sign-in on this community yet(the same words the deploy uses), and must never be inrecommended.2. The refusal crashes the view instead of being shown.
writeProvisionErranswers the refusal as a 400act_failedProblem carrying the sentence.SetupSurface.runDeployawaitssource.deploy(...)insiderun(); on a thrown refusal it relies onerror.valuekeeping the surface ondeploy— butdeployRunis null (the deploy never started, so no frame was ever streamed) and the template rendersDeployScreenonly whenview === 'deploy' && deployRun, so whatever renders in that state throws andSurfaceErrorBoundaryswallows it to the generic "display fault" line (console-only,onErrorCaptured). Expected (P4-S3/S4 wireframes, story 13): a refused deploy is a plain error panel on the review/deploy surface quoting the Problem's sentence with "Back to select" — never the boundary. Add the unit test:deploy()rejects with a 400act_failedbefore any frame → the surface shows the sentence and the back action, no throw.Acceptance
newslettersandchatasgated:truewith the no-sign-in note; the picker shows them unticked and unpickable with that note; they never appear inrecommended. Kanidm communities unchanged. A service already running stays listed (the withheld mirror).POST …/deploybefore the first frame) renders the Problem's sentence on the surface with Back to select;SurfaceErrorBoundaryis not reached. Unit test pins it.#1927convention note inassess.gonames BOTH gates (assessment + deploy) so the next slug removed fromnotYetIDIPReadyis removed from one map only.Workaround today
Untick Newsletters (and Chat if offered) in Set up, then confirm. The recommended set (archive, data-collections, document-archive, files, surveys + their backup copies) deploys.
Related
#1927, #1915 (IDIP AID-keyed services arc),
internal/provision/assess.go(notYetIDIPReady,refuseAddingWithoutIDIPSignIn),internal/provision/deploy.go:217,internal/controlapi/provision.go(writeProvisionErr),dashboard/src/components/provisioning/SetupSurface.vue(runDeploy),dashboard/src/components/SurfaceErrorBoundary.vue, DDR 0156.swarm-claim host=matou-dev-server-01 run=38170
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2039 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
netbird upis a no-op on a device already on another mesh and records the foreign address as the mesh fact; a member Files placement writes a kanidm-only files-idp.nix onto the gateway and nothing detaches it — gatew… #2040