From 7c5b1f252ebdfe45f3d56cb12f5c5c711e754106 Mon Sep 17 00:00:00 2001 From: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 Date: Fri, 19 Jun 2026 08:19:06 -0400 Subject: [PATCH] fix(desktop): also quiet UI-start reconcile noise for unreachable relays The UI-start profile reconciliation path carried the identical per-agent eprintln! that restore.rs's boot path just learned to suppress. Without the same guard, manually starting a local agent whose relay is unreachable still logs a spurious failure. Apply the matching "relay unreachable:" guard so both reconcile paths are consistent. Co-authored-by: Will Pfleger Signed-off-by: Will Pfleger --- desktop/src-tauri/src/commands/agents.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/desktop/src-tauri/src/commands/agents.rs b/desktop/src-tauri/src/commands/agents.rs index dc64dc8266..866cfca72c 100644 --- a/desktop/src-tauri/src/commands/agents.rs +++ b/desktop/src-tauri/src/commands/agents.rs @@ -867,9 +867,13 @@ pub async fn start_managed_agent( reconcile_agent_profile(&state, &reconcile_app, &reconcile_pubkey, &reconcile_data) .await { - eprintln!( - "buzz-desktop: profile reconciliation failed for agent {reconcile_pubkey}: {e}" - ); + // Suppress the expected relay-unreachable case; see the same + // guard in restore.rs's boot reconcile path for the rationale. + if !e.starts_with("relay unreachable:") { + eprintln!( + "buzz-desktop: profile reconciliation failed for agent {reconcile_pubkey}: {e}" + ); + } } }); }