dashboard: adopt the async-guard idiom across the unguarded surfaces (34 components make seam calls with no error surfacing) #304
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#304
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 2026-08-05 sweep found a sharp split: the operator app's founding journey routes every seam call through a serialized guarded
run()with an error banner, while the web dashboard has essentially no error surfacing — only 6 files use the documenteduseAsyncGuardidiom (packages/ui-kit/src/asyncGuard.ts); 34 components make async seam calls with no error ref, most of them indashboard/.The worst offenders have their own tickets (SetupSurface, FleetSurface, PendingDevices/DeviceAdd, BrandKit, Updates). This ticket is the sweep of the remainder: every dashboard surface making a seam call gets the guard idiom — loading, rendered error, retry — so a failed read/verb is never a blank pane or a dead button.
Acceptance
Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code).
Swept the async-guard idiom across the unguarded dashboard surfaces (commit
7a1ec0don main).Shared primitive:
packages/ui-kit/src/components/OcErrorState.vue— the one rendered error state (subpath-exported,--oc-*-only,role="alert",data-field="error-message"+ retrydata-action="retry"), paired with the existinguseAsyncGuard. Reads render it in place of the empty content with a Try again that re-reads; verbs render it beside the action with the button re-enabled and short-circuit before any success emit.Swept 29 components across backups/members/monitoring/provisioning/rescue/shell, each with a representative failure-path Vitest. Three parent-driven presentational screens (OverviewScreen, DeviceLadderScreen, WaitingApprovalScreen) make no seam call and were left. A grep confirms the only unguarded awaited seam calls remaining are the six ticketed surfaces (#297 SetupSurface, #298 FleetSurface, #299 PendingDevices/DeviceAdd, #301 BrandKit, #302 Updates).
Regression fence: new
docs/CODING-STANDARDS.mdclause — a component that awaits a seam call surfaces its failure; a toast is not a state.Verify: full dashboard suite 941 green +
vue-tscclean; ui-kit 106 green (newocErrorState.test.ts).restingIdentitySide.Pairfails loud, so the ledger flips tooperatorbut no key, no audit and no door fan-out land #1570