Skip to content

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

test: ignore registry stdio MCP tests on linux

Steven Enamakel5a0a574ea27d
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 51e870c65b..9e438075e3 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -3955,6 +3955,10 @@ fn peel_logs_envelope(v: &Value) -> &Value {
/// through the orchestrator's direct registry tools; its answer reaches the model.
#[cfg(feature = "mcp")]
#[test]
+#[cfg_attr(
+ target_os = "linux",
+ ignore = "registry stdio MCP servers need network; TinyBox refuses a network-sharing jail for untrusted code until it has isolated networking (https://github.com/tinyhumansai/tinybox/issues/109)"
+)]
fn agent_calls_a_tool_on_an_mcp_server_installed_from_the_registry() {
run_on_agent_stack(
"agent_calls_a_tool_on_an_mcp_server_installed_from_the_registry",
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index 9d3c753457..d1a446d6a6 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -9227,6 +9227,10 @@ async fn mcp_clients_lifecycle() {
/// `mcp_clients_config_set` with a `command` pointing at the stub binary, which
/// is how a user adds any server now — the registry is browse-only.
#[tokio::test]
+#[cfg_attr(
+ target_os = "linux",
+ ignore = "registry stdio MCP servers need network; TinyBox refuses a network-sharing jail for untrusted code until it has isolated networking (https://github.com/tinyhumansai/tinybox/issues/109)"
+)]
async fn mcp_clients_declare_connect_tool_call_happy_path() {
let _env_lock = json_rpc_e2e_env_lock_async().await;
let tmp = tempdir().expect("tempdir");
@@ -9402,6 +9406,10 @@ async fn mcp_clients_declare_connect_tool_call_happy_path() {
/// survives and answers again, then retire it by dropping it from `mcp.json`
/// and prove neither the install nor a call to it is left behind.
#[tokio::test]
+#[cfg_attr(
+ target_os = "linux",
+ ignore = "registry stdio MCP servers need network; TinyBox refuses a network-sharing jail for untrusted code until it has isolated networking (https://github.com/tinyhumansai/tinybox/issues/109)"
+)]
async fn mcp_clients_reconfigure_then_retire_over_rpc() {
let _env_lock = json_rpc_e2e_env_lock_async().await;
let tmp = tempdir().expect("tempdir");
diff --git a/tests/mcp_registry_multi_server.rs b/tests/mcp_registry_multi_server.rs
index 33089f99c9..593b7b341c 100644
--- a/tests/mcp_registry_multi_server.rs
+++ b/tests/mcp_registry_multi_server.rs
@@ -120,6 +120,10 @@ async fn disconnect(config: &Config, server_id: &str) {
}
#[tokio::test]
+#[cfg_attr(
+ target_os = "linux",
+ ignore = "registry stdio MCP servers need network; TinyBox refuses a network-sharing jail for untrusted code until it has isolated networking (https://github.com/tinyhumansai/tinybox/issues/109)"
+)]
async fn two_servers_same_tool_name_no_collision() {
let (_workspace, config) = fresh_workspace_config();
let servers = Map::from_iter([
@@ -181,6 +185,10 @@ async fn two_servers_same_tool_name_no_collision() {
}
#[tokio::test]
+#[cfg_attr(
+ target_os = "linux",
+ ignore = "registry stdio MCP servers need network; TinyBox refuses a network-sharing jail for untrusted code until it has isolated networking (https://github.com/tinyhumansai/tinybox/issues/109)"
+)]
async fn tool_calls_route_to_the_correct_server() {
let (_workspace, config) = fresh_workspace_config();
let servers = Map::from_iter([
@@ -204,6 +212,10 @@ async fn tool_calls_route_to_the_correct_server() {
}
#[tokio::test]
+#[cfg_attr(
+ target_os = "linux",
+ ignore = "registry stdio MCP servers need network; TinyBox refuses a network-sharing jail for untrusted code until it has isolated networking (https://github.com/tinyhumansai/tinybox/issues/109)"
+)]
async fn failed_connect_does_not_block_healthy_peer() {
let (_workspace, config) = fresh_workspace_config();
let servers = Map::from_iter([
@@ -258,6 +270,10 @@ async fn failed_connect_does_not_block_healthy_peer() {
}
#[tokio::test]
+#[cfg_attr(
+ target_os = "linux",
+ ignore = "registry stdio MCP servers need network; TinyBox refuses a network-sharing jail for untrusted code until it has isolated networking (https://github.com/tinyhumansai/tinybox/issues/109)"
+)]
async fn disabled_server_contributes_no_tools_to_agent_surface() {
let (_workspace, config) = fresh_workspace_config();
let servers = Map::from_iter([
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 cced0301ea..bc4899b2e2 100644
--- a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
@@ -407,6 +407,10 @@ async fn tool_registry_entries_fall_back_on_current_thread_runtime() {
}
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
+#[cfg_attr(
+ target_os = "linux",
+ ignore = "registry stdio MCP servers need network; TinyBox refuses a network-sharing jail for untrusted code until it has isolated networking (https://github.com/tinyhumansai/tinybox/issues/109)"
+)]
async fn tool_registry_entries_include_connected_mcp_client_tools() {
let tmp = tempdir().expect("tempdir");
let config = Config {