Skip to content

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

test: wrap long cfg_attr ignore attributes across lines

Steven Enamakela5d904112ba6
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 178671e373..3c63810230 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -3951,7 +3951,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 = "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.")]
+#[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 bed4788d9d..22c3025d2e 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -9232,7 +9232,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 = "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.")]
+#[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");
@@ -9408,7 +9411,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 = "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.")]
+#[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_multi_server.rs b/tests/mcp_registry_multi_server.rs
index 3e4587d4c8..d5979480d1 100644
--- a/tests/mcp_registry_multi_server.rs
+++ b/tests/mcp_registry_multi_server.rs
@@ -120,7 +120,10 @@ async fn disconnect(config: &Config, server_id: &str) {
}
#[tokio::test]
-#[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.")]
+#[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 +185,10 @@ async fn two_servers_same_tool_name_no_collision() {
}
#[tokio::test]
-#[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.")]
+#[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 +212,10 @@ async fn tool_calls_route_to_the_correct_server() {
}
#[tokio::test]
-#[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.")]
+#[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 +270,10 @@ async fn failed_connect_does_not_block_healthy_peer() {
}
#[tokio::test]
-#[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.")]
+#[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([