mirror of
https://github.com/block/buzz.git
synced 2026-11-01 23:11:58 +00:00
chore(desktop): satisfy app state size ratchet
Co-authored-by: Wrench <911929dfb7f90834d50a0bdf1a24a05989d1078b93cc94edf9ad0db2fba683eb@buzz.block.builderlab.xyz> Signed-off-by: Wrench <911929dfb7f90834d50a0bdf1a24a05989d1078b93cc94edf9ad0db2fba683eb@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -31,17 +31,10 @@ pub struct AppState {
|
||||
/// response (surfaced as an error) so the auth token never leaves the
|
||||
/// validated relay origin.
|
||||
pub media_fetch_client: reqwest::Client,
|
||||
/// Workspace-provided relay URL override. Set by `apply_workspace` on app
|
||||
/// init and takes priority over env vars and compile-time defaults.
|
||||
pub relay_url_override: Mutex<Option<String>>,
|
||||
/// Serializes workspace mutation transactions. Each caller also takes a
|
||||
/// generation ticket before queueing so an older queued apply fails closed
|
||||
/// rather than running after a newer workspace has won.
|
||||
pub workspace_apply_lock: AsyncMutex<()>,
|
||||
pub workspace_apply_generation: AtomicU64,
|
||||
/// Set during backend setup when managed agents are eligible for launch
|
||||
/// restore. `apply_workspace` consumes it after installing the workspace
|
||||
/// relay and identity, so agents never start against the fallback relay.
|
||||
/// Defers managed-agent restore until `apply_workspace` installs relay and identity.
|
||||
pub managed_agent_restore_pending: AtomicBool,
|
||||
/// Disabled by agent-managed profiles so agent profile updates survive start/restore.
|
||||
pub managed_agent_profile_reconcile_enabled: AtomicBool,
|
||||
|
||||
Reference in New Issue
Block a user