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
refactor(composio): extract client tests into a dedicated module
Steven Enamakeld9a864fa09ce
diff --git a/crates/openhuman-core/src/integrations/composio/client_tests.rs b/crates/openhuman-core/src/integrations/composio/client_tests.rsindex 64d714f9fc..8f1b8790bb 100644--- a/crates/openhuman-core/src/integrations/composio/client_tests.rs+++ b/crates/openhuman-core/src/integrations/composio/client_tests.rs@@ -428,7 +428,22 @@ async fn direct_connected_integrations_fetches_schemas_without_backend_composio_.base_urls(direct_url.clone(), direct_url),);- let integrations = crate::integrations::composio::fetch_connected_integrations(&config).await;+ // The operator scope's cache epoch is process-wide: any other test that+ // invalidates it while this (slow, module-backed) fetch is in flight fences+ // the result to `Unavailable`. Retry a fenced fetch; the assertion that the+ // backend route is never asked still covers every attempt.+ let mut integrations = Vec::new();+ for attempt in 1..=5 {+ match crate::integrations::composio::fetch_connected_integrations_status(&config).await {+ crate::integrations::composio::FetchConnectedIntegrationsStatus::Authoritative(found) => {+ integrations = found;+ break;+ }+ crate::integrations::composio::FetchConnectedIntegrationsStatus::Unavailable => {+ tracing::debug!(attempt, "[composio][test] fetch fenced or unavailable; retrying");+ }+ }+ }let gmail = integrations.iter()