Files
t3code/apps
Josh Gratton 50869788e4 fix(web): surface secondary backend update failures instead of reporting success
The provider-update fan-out dispatches to the primary and every connected
desktopLocal backend, but completion handling only inspected promise
rejections and the primary's instance ids. A secondary backend (e.g. WSL)
whose updateProvider resolved with a failed or unchanged provider in its
payload was silently dropped, so the launch toast and settings flow could
report success while the WSL copy stayed outdated.

- updateProviderAcrossLocalEnvironments now resolves each dispatch to a
  normalized outcome carrying the matched provider snapshot (with its
  terminal updateState) plus isPrimary / environment metadata.
- The launch toast aggregates outcomes across backends to the worst-case
  status per driver, and gates the primary-only serverState effect behind
  an awaitingSettlement flag so it cannot finalize success before every
  dispatched update settles.
- The settings flow surfaces a secondary backend's failed/unchanged result
  via a toast; the primary's own result is already shown inline.
2026-06-13 11:09:14 -04:00
..