mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Agent restore at startup raced ahead of the frontend applying the active workspace, so serverless agents launched with the stale relay list frozen into their record at creation time (including paid relays that 403) and one even ran in server mode. When the only healthy relay rate-limited a reply, there was no failover and the reply silently vanished. - AppState.workspace_applied: agent restore now waits (bounded 15s) for the frontend to call apply_workspace before launching, so agents inherit the CURRENT workspace relays + serverless mode instead of record defaults. - apply_workspace sets the flag once config is live. - justfile _ensure-sidecar-stubs builds REAL sprout-acp + sprout sidecars (serverless agents need them) instead of 0-byte stubs that silently fail to launch/reply under just dev.