From 2225adfd6f6ab8697eaeb7fc0f0d4ea6e7f46a96 Mon Sep 17 00:00:00 2001 From: Wrench <911929dfb7f90834d50a0bdf1a24a05989d1078b93cc94edf9ad0db2fba683eb@buzz.block.builderlab.xyz> Date: Tue, 18 Aug 2026 15:14:42 -0400 Subject: [PATCH] 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> --- desktop/src-tauri/src/app_state.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/desktop/src-tauri/src/app_state.rs b/desktop/src-tauri/src/app_state.rs index d68c6d5d56..7e734c6280 100644 --- a/desktop/src-tauri/src/app_state.rs +++ b/desktop/src-tauri/src/app_state.rs @@ -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>, - /// 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,