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(tests): use config-scoped disconnect in MCP client tools test\n\nThe test was calling the by-id disconnect function, which resolves through the process default connection rather than the config-scoped connection used elsewhere in the test. Changed to use the config-scoped disconnect to match the connection's actual scope and avoid test flakiness.\n\nAuto-committed-on: dragonfly\n
Steven Enamakeld899254c8369
diff --git a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rsindex c5028977e1..ac4fdf13bf 100644--- a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs+++ b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs@@ -670,7 +670,10 @@ async fn tool_registry_entries_include_connected_mcp_client_tools() {assert_eq!(client_entry.route["server_id"], json!(server.server_id));assert!(client_entry.tags.iter().any(|tag| tag == "mcp_client"));- assert!(connections::disconnect(&server.server_id).await);+ // Config-scoped for the same reason as the lookup above: this connection+ // lives in the host keyed by `config`'s workspace, and the by-id form+ // resolves through the process default.+ assert!(connections::disconnect_for_config(&config, &server.server_id).await);}#[tokio::test]