The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(runtime): handle missing service gracefully on shutdown
Steven Enamakel78baba135911
diff --git a/src/core/runtime/services.rs b/src/core/runtime/services.rsindex 172485d7a1..86b9ccbee0 100644--- a/src/core/runtime/services.rs+++ b/src/core/runtime/services.rs@@ -337,17 +337,13 @@ pub async fn start_boot_once_jobs(services: ServiceSet, config: &Config) {}if services.mcp_boot {- // Idempotent, and normally a no-op: `register_domain_subscribers` brings- // the domain up when it enables it. Repeated here because the two are- // gated separately — a `ServiceSet` that boots MCP is entitled to a- // service whether or not the RPC domain was turned on.- crate::openhuman::mcp::start(config);-- let cfg_for_mcp = config.clone();- tokio::spawn(async move {- crate::openhuman::mcp::registry::boot::spawn_installed_servers(&cfg_for_mcp).await;- });- spawn_mcp_reconnect_supervisor(config.clone());+ // The MCP domain boots itself: service, installed-server reconnect+ // pass, and reconnect supervisor are orchestrated there, and it is+ // idempotent — normally a no-op, because `register_domain_subscribers`+ // brings the domain up when it enables it. Repeated here because the+ // two are gated separately: a `ServiceSet` that boots MCP is entitled+ // to a service whether or not the RPC domain was turned on.+ crate::openhuman::mcp::start_boot_jobs(config);} else {log::debug!("[runtime] MCP boot-spawn disabled by ServiceSet");log::debug!("[runtime] MCP reconnect supervisor disabled by ServiceSet");