Skip to content

[bug] Setup wizard shows a failed settings save twice #4686

Open

Description

@Quick104

What happened

When a setup wizard step fails to save its settings, the error is shown twice: once by the settings mutation and once by the step. Both toasts carry the same text. This happens for any save error other than the "settings changed elsewhere" refusal, which #4684 already shows once.

Steps to reproduce

  1. Start the setup wizard on a fresh server.
  2. On a step with settings (for example Server), make the save fail: enter a value the server rejects, or stop the server before pressing Continue.
  3. Press Continue: two identical error toasts appear.

Not reproduced live; proven from the source (see Technical notes).

Expected behavior

One toast per failed save.

Silo version / commit

main at 91fea59

Deployment

Local dev build

Area

Admin pages and settings

Clients affected

  • Web UI

Relevant logs

No logs available; this is a client-side display problem.

Technical notes

useStepSubmit (web/src/pages/setup-wizard/useStep.ts) catches the rejection from form.save() and toasts err.message. The same failure was already toasted by useUpdateServerSettings's onError (web/src/hooks/queries/admin/settings.ts), and useSettingsForm.save toasts its own "reload before saving" error before rethrowing. One of the two layers should report, and the other should skip errors that were already shown.

This follows #4684, which changes the same catch in useStepSubmit; start after it merges.

Source: found in review of #4684

AI harness

Claude Code, run from T3 Code

AI tool(s)

Claude Code

AI model(s)

claude-opus-5-5

AI involvement

Fully AI-generated, human verified

Independent or adversarial review

Found by a multi-agent code review of #4684 and confirmed against the source.

Confirmations

  • I searched open and recently closed issues and pull requests, and this is not already reported
  • I reproduced this myself on a real deployment
  • Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above

Activity

  1. added
    bug
    on Nov 20, 2026
  2. added
    impact: polish
    priority: P2
    triaged
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugimpact: polishpriority: P2triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions