Skip to content

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

test: scope registry e2e ignores to linux only

Steven Enamakel86d04669f9b8
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 69e34ef566..a87075d692 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -3951,7 +3951,7 @@ fn peel_logs_envelope(v: &Value) -> &Value {
/// through the orchestrator's direct registry tools; its answer reaches the model.
#[cfg(feature = "mcp")]
#[test]
-#[ignore = "Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
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 b5d031f87b..52d4749166 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -9233,7 +9233,7 @@ 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]
-#[ignore = "Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
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");
@@ -9409,7 +9409,7 @@ 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]
-#[ignore = "Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
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_e2e.rs b/tests/mcp_registry_e2e.rs
index 76145fa7e2..5e57c487f7 100644
--- a/tests/mcp_registry_e2e.rs
+++ b/tests/mcp_registry_e2e.rs
@@ -73,7 +73,7 @@ fn http_server(url: &str) -> Value {
}
#[tokio::test]
-#[ignore = "requires a TinyMCP library (node scripts/modules/build.mjs tinymcp). Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
async fn module_tool_call_reports_unknown_tool_as_error() {
let (_tmp, config) = fresh_workspace_config();
let server_id = install_server(&config, "@openhuman-test/echo", stdio_server()).await;
@@ -100,7 +100,7 @@ async fn module_tool_call_reports_unknown_tool_as_error() {
}
#[tokio::test]
-#[ignore = "requires a TinyMCP library (node scripts/modules/build.mjs tinymcp). Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
async fn disabling_server_drops_its_live_module_connection() {
let (_tmp, config) = fresh_workspace_config();
let server_id = install_server(&config, "@openhuman-test/echo", stdio_server()).await;
@@ -126,7 +126,7 @@ async fn disabling_server_drops_its_live_module_connection() {
}
#[tokio::test]
-#[ignore = "requires a TinyMCP library (node scripts/modules/build.mjs tinymcp). Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
async fn disabled_server_accepts_environment_update_without_reconnecting() {
use std::collections::HashMap;
@@ -148,7 +148,7 @@ async fn disabled_server_accepts_environment_update_without_reconnecting() {
}
#[tokio::test]
-#[ignore = "requires a TinyMCP library (node scripts/modules/build.mjs tinymcp). Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
async fn per_config_lookups_are_isolated_by_workspace() {
use openhuman_core::mcp::registry::{connections, ops};
diff --git a/tests/mcp_registry_multi_server.rs b/tests/mcp_registry_multi_server.rs
index 665b15f8e4..3e4587d4c8 100644
--- a/tests/mcp_registry_multi_server.rs
+++ b/tests/mcp_registry_multi_server.rs
@@ -120,7 +120,7 @@ async fn disconnect(config: &Config, server_id: &str) {
}
#[tokio::test]
-#[ignore = "Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
async fn two_servers_same_tool_name_no_collision() {
let (_workspace, config) = fresh_workspace_config();
let servers = Map::from_iter([
@@ -182,7 +182,7 @@ async fn two_servers_same_tool_name_no_collision() {
}
#[tokio::test]
-#[ignore = "Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
async fn tool_calls_route_to_the_correct_server() {
let (_workspace, config) = fresh_workspace_config();
let servers = Map::from_iter([
@@ -206,7 +206,7 @@ async fn tool_calls_route_to_the_correct_server() {
}
#[tokio::test]
-#[ignore = "Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
async fn failed_connect_does_not_block_healthy_peer() {
let (_workspace, config) = fresh_workspace_config();
let servers = Map::from_iter([
@@ -261,7 +261,7 @@ async fn failed_connect_does_not_block_healthy_peer() {
}
#[tokio::test]
-#[ignore = "Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
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 7d3c6dd72e..31efe7012c 100644
--- a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
@@ -407,7 +407,7 @@ async fn tool_registry_entries_fall_back_on_current_thread_runtime() {
}
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
-#[ignore = "Temporary: registry-installed servers are never operator-trusted, so the jail must start the stub; it cannot until tinymcp lets the host choose the enforcement level (https://github.com/tinyhumansai/tinymcp/pull/126) and TinyBox has a Linux backend with real process isolation."]
+#[cfg_attr(target_os = "linux", ignore = "Temporary on Linux: registry-installed servers are never operator-trusted, so the jail must start the stub. tinymcp 0.19.5 (https://github.com/tinyhumansai/tinymcp/pull/126) lets the host declare best-effort enforcement, which macOS Seatbelt uses; Linux still needs a TinyBox backend with real process isolation, which has not shipped.")]
async fn tool_registry_entries_include_connected_mcp_client_tools() {
let tmp = tempdir().expect("tempdir");
let config = Config {