Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(tests): correct config reference in tool registry approval test\n\nThe test was using `other_config` instead of `config` when calling `registry_entries_for_config`, which meant it was checking the wrong configuration for connected MCP client tools. This change fixes the reference to use the correct config variable so the test verifies the intended configuration.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel9c7f0728bf5e
diff --git a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
index 868d0984aa..2fb608c48d 100644
--- a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
@@ -673,7 +673,7 @@ async fn tool_registry_entries_include_connected_mcp_client_tools() {
// but `None` once another case in this binary has opened a second one — so
// the ambient form reports nothing connected here purely because of who
// else ran first.
- let entries = registry_entries_for_config(&other_config);
+ let entries = registry_entries_for_config(&config);
let client_entry = entries
.iter()
.find(|entry| entry.tool_id == format!("mcp-client::{}::echo", server.server_id))