Repository navigation
Description
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
- Start the setup wizard on a fresh server.
- 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.
- 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