dashboard: SetupSurface's entire deploy journey is unguarded — a failed deploy silently returns to Assess or freezes the deploy screen #297
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#297
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?
dashboard/src/components/provisioning/SetupSurface.vuehas no error ref anywhere; every seam call is unguarded. The documented idiom exists (packages/ui-kit/src/asyncGuard.ts, used by 6 components):runDeploysetsview.value = 'deploy'before awaitingprops.source.deploy(…). A rejection before any frame streams leavesdeployRunnull, the finalv-elsebranch wins, and the operator is dropped back on Assess/Select as though they never clicked Confirm. If frames streamed first, DeployScreen freezes on the last frame forever.onMounted(reload)— a failed assess leavesassessmentnull: blank pane after clicking "set up" on a fleet row.Acceptance
Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code).
Fixed in main
55b3e24.SetupSurface.vuenow routes every seam call through the async-guard idiom (useAsyncGuard+ sharedOcErrorState):view==="setup"(was the catch-allv-else), andrunDeployshort-circuits onerrorbefore routing. A deploy rejection before any frame no longer bounces to Assess/Select — it keeps the surface ondeployand renders the failed-deploy state (data-status="setup-error") with a Try again that re-runs the deploy; a rejection after frames stream renders the same error over the checklist instead of a frozen last frame.onMounted): a failure rendersdata-status="setup-unreachable"with a retry that re-reads — never the blank pane.setup-errorbeside the screen it acted on, never a dead button.Vitest per failure path:
dashboard/tests/unit/provisionSetupGuard.test.ts(8 tests, incl. reject-before-frames, reject-after-frames, and a Try-again that re-runs the deploy and lands Active). Full dashboard suite 961 green,vue-tscclean.