The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(relay): add mutex guard for resolver tests
Steven Enamakel3562e3ec537e
diff --git a/crates/openhuman-core/src/channels/providers/relay/ops_tests.rs b/crates/openhuman-core/src/channels/providers/relay/ops_tests.rsindex 72e9b02072..1eb6455088 100644--- a/crates/openhuman-core/src/channels/providers/relay/ops_tests.rs+++ b/crates/openhuman-core/src/channels/providers/relay/ops_tests.rs@@ -253,6 +253,9 @@ async fn relay_provider() -> MockServer {}#[tokio::test]+// This process-wide mutex serializes temporary host-agent resolver installs;+// the async test must hold it for the full turn to prevent resolver races.+#[allow(clippy::await_holding_lock)]async fn a_relayed_turn_runs_as_an_external_channel_and_keeps_its_thread() {let _slot = host_agents::tests::lock();let _ = tracing_subscriber::fmt().with_test_writer().try_init();@@ -487,6 +490,9 @@ async fn invalid_or_repeated_messages_start_no_turn() {}#[tokio::test]+// This process-wide mutex serializes temporary host-agent resolver installs;+// the async test must hold it for the full turn to prevent resolver races.+#[allow(clippy::await_holding_lock)]async fn relay_preflight_failure_uses_trusted_channel_locale_without_running_agent() {struct CountingResolver(AtomicUsize);impl HostAgentResolver for CountingResolver {