Skip to content

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

fix(tests): use correct config in tool registry approval e2e test\n\nThe test `tool_registry_entries_include_connected_mcp_client_tools` was passing the wrong config variable to `registry_entries_for_config`, causing it to check the default config instead of the one with the MCP client connection. This change corrects the argument to use `other_config`, ensuring the test verifies the intended behavior of including connected MCP client tools in the registry entries.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel00bb648bc79d
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 2fb608c48d..868d0984aa 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(&config);
+ let entries = registry_entries_for_config(&other_config);
let client_entry = entries
.iter()
.find(|entry| entry.tool_id == format!("mcp-client::{}::echo", server.server_id))