founding S11: Finish setup runs seeding for minutes with no motion, and an impatient second click lands a scary fault #424

Closed
opened 2026-08-10 22:54:41 +00:00 by ben · 3 comments
Owner

What happened

On the deploy-live panel at the end of the stand-up stage ("The control plane is live."), clicking Finish setup → gives no visible feedback at all. The button just sits there while seeding does its real work — the ledger handover, the crown jewels, the config-repo authority flip, then the hand-off preparation — which honestly takes tens of seconds to around three minutes. The screen eventually advances to Hand-off (S12), but until then it looks like the click did nothing.

Worse: the button stays live. A second impatient click queues a second seeding run behind the first; once the step has advanced, that second run refuses ("the stand-up is not ready to seed") and its refusal lands in the fault slot under the button — so impatience turns a successful founding into a screen showing a red fault line.

What I expected

The app's documented pending idiom: the button disables and shows busy while the work runs, with a patience line for the long stretch — the same treatment the stand-up bar (DDR 0144) and S12's enrol-pending waiting card (DDR 0138) already ruled for the neighbouring steps. DDR 0138 fixed exactly this silence for S12's "Open your dashboard" action; this is the missing half of that same ruling, one screen earlier.

Steps to reproduce

  1. Run a founding drive to the end of the stand-up stage, until the deploy-live panel shows "The control plane is live." with the Finish setup button.
  2. Click Finish setup once — observe no spinner, no disable, no label change, no patience line, for the whole seeding duration.
  3. Click it a second time while the first run is still working — observe a fault line appear under the button on an otherwise successful founding.

Additional context

  • The deploy-outcome panel is shared by all four founding paths (private, rented, own-VPS, manual), so one fix covers them all.
  • Consistent, not intermittent — there is simply no busy state wired to this action, while the very next action on the same screen flow (Open your dashboard) already has the full treatment: busy ref, epoch guard, cancel.
  • The S11 wireframe's caption covers the finish-fault slot but says nothing about an in-flight state, so the fix needs an ✎ amendment to the S11 deploy-gateway wireframe in the same commit (ADR 0042 discipline). S12's enrol-pending frame is the treatment to mirror.
  • Reported during Ben's manual founding drive 2026-08-10 (the Nextcloud co-host re-found).
## What happened On the deploy-live panel at the end of the stand-up stage ("The control plane is live."), clicking **Finish setup →** gives no visible feedback at all. The button just sits there while seeding does its real work — the ledger handover, the crown jewels, the config-repo authority flip, then the hand-off preparation — which honestly takes tens of seconds to around three minutes. The screen eventually advances to Hand-off (S12), but until then it looks like the click did nothing. Worse: the button stays live. A second impatient click queues a second seeding run behind the first; once the step has advanced, that second run refuses ("the stand-up is not ready to seed") and its refusal lands in the fault slot under the button — so impatience turns a *successful* founding into a screen showing a red fault line. ## What I expected The app's documented pending idiom: the button disables and shows busy while the work runs, with a patience line for the long stretch — the same treatment the stand-up bar (DDR 0144) and S12's enrol-pending waiting card (DDR 0138) already ruled for the neighbouring steps. DDR 0138 fixed exactly this silence for S12's "Open your dashboard" action; this is the missing half of that same ruling, one screen earlier. ## Steps to reproduce 1. Run a founding drive to the end of the stand-up stage, until the deploy-live panel shows "The control plane is live." with the Finish setup button. 2. Click **Finish setup** once — observe no spinner, no disable, no label change, no patience line, for the whole seeding duration. 3. Click it a second time while the first run is still working — observe a fault line appear under the button on an otherwise successful founding. ## Additional context - The deploy-outcome panel is shared by all four founding paths (private, rented, own-VPS, manual), so one fix covers them all. - Consistent, not intermittent — there is simply no busy state wired to this action, while the very next action on the same screen flow (Open your dashboard) already has the full treatment: busy ref, epoch guard, cancel. - The S11 wireframe's caption covers the finish-fault slot but says nothing about an in-flight state, so the fix needs an ✎ amendment to the S11 deploy-gateway wireframe in the same commit (ADR 0042 discipline). S12's enrol-pending frame is the treatment to mirror. - Reported during Ben's manual founding drive 2026-08-10 (the Nextcloud co-host re-found).
Author
Owner

This was generated by AI during triage.

Verification: Reproduced by reading the code path directly. The S11 "Finish setup" control has no busy/disabled branch and no click-guard, while the neighboring S12 "Open your dashboard" control (DDR 0138) does — confirming the reporter's diagnosis exactly. The S11 wireframe shows the fault slot but no in-flight frame, also matching the report. (Note: the issue's reference to DDR 0144 as establishing "the same idiom for the stand-up bar" doesn't hold — DDR 0144 covers the standup checklist folding into a progress bar and explicitly excludes S11. The real precedent is DDR 0138 alone, which is a complete and directly portable template.)

Agent Brief

Category: bug
Summary: The founding S11 "Finish setup" action has no busy/disabled state while seeding runs, so an impatient second click can turn a successful founding into a screen showing a fault.

Current behavior:
On the deploy-live panel at the end of the stand-up stage, clicking "Finish setup" triggers seeding work that can take tens of seconds to a few minutes, with no visible feedback: the button doesn't disable, no busy/spinner state appears, and there's no patience line. If the operator clicks a second time before the step advances, that second attempt is queued and later refused once the step has moved on ("the stand-up is not ready to seed"), and that refusal surfaces as a fault under the button — even though the founding itself succeeded.

Desired behavior:
"Finish setup" should follow the same pending idiom already established for S12's "Open your dashboard" action (DDR 0138): the control disables/shows busy immediately on click, a patience line communicates the wait for the long stretch, and an epoch-style guard prevents a stale/duplicate attempt from surfacing a spurious fault once the step has moved on. The S11 wireframe needs a small amendment adding the in-flight frame (mirroring S12's waiting-card frame), landed in the same commit as the code change, per this repo's ADR 0042 wireframe-discipline convention.

Key interfaces:

  • The click handler behind "Finish setup" should gate on a busy/in-flight flag before starting seeding, and guard its completion/rejection handling with an epoch (or equivalent) counter so a duplicate or late-arriving attempt cannot write a fault after the step has already advanced.
  • The deploy-outcome panel component (shared across all four founding paths: private, rented, own-VPS, manual) needs a pending visual state analogous to the hand-off panel's waiting card — reuse the existing button-disable capability already present in the shared button component rather than introducing a new one.
  • The S11 deploy-gateway wireframe needs an in-flight state frame added alongside its existing finish-fault state frame.

Acceptance criteria:

  • Clicking "Finish setup" immediately disables the control and shows a busy/pending indicator for the duration of seeding, across all four founding paths.
  • A patience line appears during the wait, consistent with the treatment used for S12's waiting card.
  • A second click during the in-flight window does not produce a fault once the step has advanced — the stale attempt is discarded rather than surfaced as an error.
  • A genuine seeding failure still surfaces as a fault (the fix must not swallow real errors, only the stale-duplicate-click case).
  • The S11 deploy-gateway wireframe is amended in the same change to show the new in-flight frame.
  • A test covers the double-click case: first click succeeds, second click during the busy window does not produce a visible fault.

Out of scope:

  • Changes to DDR 0144 / the stand-up progress bar (unrelated to this button; that DDR explicitly excludes S11).
  • Any change to the seeding/hand-off backend logic itself — this is purely about surfacing existing async state to the UI and guarding against duplicate clicks.
  • The S12 hand-off panel's own implementation (already correct; used only as the pattern to mirror).
> *This was generated by AI during triage.* **Verification:** Reproduced by reading the code path directly. The S11 "Finish setup" control has no busy/disabled branch and no click-guard, while the neighboring S12 "Open your dashboard" control (DDR 0138) does — confirming the reporter's diagnosis exactly. The S11 wireframe shows the fault slot but no in-flight frame, also matching the report. (Note: the issue's reference to DDR 0144 as establishing "the same idiom for the stand-up bar" doesn't hold — DDR 0144 covers the standup checklist folding into a progress bar and explicitly excludes S11. The real precedent is DDR 0138 alone, which is a complete and directly portable template.) ## Agent Brief **Category:** bug **Summary:** The founding S11 "Finish setup" action has no busy/disabled state while seeding runs, so an impatient second click can turn a successful founding into a screen showing a fault. **Current behavior:** On the deploy-live panel at the end of the stand-up stage, clicking "Finish setup" triggers seeding work that can take tens of seconds to a few minutes, with no visible feedback: the button doesn't disable, no busy/spinner state appears, and there's no patience line. If the operator clicks a second time before the step advances, that second attempt is queued and later refused once the step has moved on ("the stand-up is not ready to seed"), and that refusal surfaces as a fault under the button — even though the founding itself succeeded. **Desired behavior:** "Finish setup" should follow the same pending idiom already established for S12's "Open your dashboard" action (DDR 0138): the control disables/shows busy immediately on click, a patience line communicates the wait for the long stretch, and an epoch-style guard prevents a stale/duplicate attempt from surfacing a spurious fault once the step has moved on. The S11 wireframe needs a small amendment adding the in-flight frame (mirroring S12's waiting-card frame), landed in the same commit as the code change, per this repo's ADR 0042 wireframe-discipline convention. **Key interfaces:** - The click handler behind "Finish setup" should gate on a busy/in-flight flag before starting seeding, and guard its completion/rejection handling with an epoch (or equivalent) counter so a duplicate or late-arriving attempt cannot write a fault after the step has already advanced. - The deploy-outcome panel component (shared across all four founding paths: private, rented, own-VPS, manual) needs a pending visual state analogous to the hand-off panel's waiting card — reuse the existing button-disable capability already present in the shared button component rather than introducing a new one. - The S11 deploy-gateway wireframe needs an in-flight state frame added alongside its existing `finish-fault` state frame. **Acceptance criteria:** - [ ] Clicking "Finish setup" immediately disables the control and shows a busy/pending indicator for the duration of seeding, across all four founding paths. - [ ] A patience line appears during the wait, consistent with the treatment used for S12's waiting card. - [ ] A second click during the in-flight window does not produce a fault once the step has advanced — the stale attempt is discarded rather than surfaced as an error. - [ ] A genuine seeding failure still surfaces as a fault (the fix must not swallow real errors, only the stale-duplicate-click case). - [ ] The S11 deploy-gateway wireframe is amended in the same change to show the new in-flight frame. - [ ] A test covers the double-click case: first click succeeds, second click during the busy window does not produce a visible fault. **Out of scope:** - Changes to DDR 0144 / the stand-up progress bar (unrelated to this button; that DDR explicitly excludes S11). - Any change to the seeding/hand-off backend logic itself — this is purely about surfacing existing async state to the UI and guarding against duplicate clicks. - The S12 hand-off panel's own implementation (already correct; used only as the pattern to mirror).
ben self-assigned this 2026-08-11 02:11:24 +00:00
Author
Owner

Ben's ruling (2026-08-11, live QA): the fix is NOT a busy state on the button. Fold the finish-setup actions (seeding + hand-off preparation) into the deployment process itself: they run automatically as part of the stand-up's weighted progress bar — no separate user-triggered step — and when the whole process completes the app routes directly to the community-live screen. The deploy-live resting panel with its "Finish setup →" button goes away. Claimed by the QA session (assignee = ben); do not swarm this ticket with the earlier brief's shape.

**Ben's ruling (2026-08-11, live QA):** the fix is NOT a busy state on the button. Fold the finish-setup actions (seeding + hand-off preparation) into the deployment process itself: they run automatically as part of the stand-up's weighted progress bar — no separate user-triggered step — and when the whole process completes the app routes directly to the community-live screen. The deploy-live resting panel with its "Finish setup →" button goes away. Claimed by the QA session (assignee = ben); do not swarm this ticket with the earlier brief's shape.
Author
Owner

This was generated by AI during triage.

Triage correction: moving ready-for-agent → ready-for-human.

The agent brief above (first comment) was superseded by Ben's live-QA ruling (second comment), which re-scopes the fix entirely — folding finish-setup into the deployment progress bar rather than adding a busy state to the button — and explicitly says not to swarm this ticket against the old brief's shape. The ticket is already claimed (assignee: ben) and being driven directly out of the QA session, which is a human-implementation situation, not an AFK-agent one. Leaving ready-for-agent risked Sandcastle picking this up against the stale first brief.

No new judgement call from me here — just aligning the label with the ruling and claim already on the issue.

> *This was generated by AI during triage.* **Triage correction:** moving `ready-for-agent` → `ready-for-human`. The agent brief above (first comment) was superseded by Ben's live-QA ruling (second comment), which re-scopes the fix entirely — folding finish-setup into the deployment progress bar rather than adding a busy state to the button — and explicitly says not to swarm this ticket against the old brief's shape. The ticket is already claimed (assignee: ben) and being driven directly out of the QA session, which is a human-implementation situation, not an AFK-agent one. Leaving `ready-for-agent` risked Sandcastle picking this up against the stale first brief. No new judgement call from me here — just aligning the label with the ruling and claim already on the issue.
ben closed this issue 2026-08-11 03:19:33 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#424
No description provided.