Skip to content

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

fix(composio): restrict composio_cache_test_lock to test builds

Steven Enamakel04f663a946c7
diff --git a/crates/openhuman-core/src/integrations/composio/connected_integrations.rs b/crates/openhuman-core/src/integrations/composio/connected_integrations.rs
index db57cb023b..e39403714e 100644
--- a/crates/openhuman-core/src/integrations/composio/connected_integrations.rs
+++ b/crates/openhuman-core/src/integrations/composio/connected_integrations.rs
@@ -16,9 +16,11 @@ mod catalog_description_tests;
pub(crate) use cache::{
cache_key, cached_active_integrations, cached_active_integrations_including_expired,
- composio_cache_test_lock, connected_set_hash, invalidate_connected_integrations_cache,
- sync_cache_with_connections, CachedIntegrations, CACHE_TTL, INTEGRATIONS_CACHE,
+ connected_set_hash, invalidate_connected_integrations_cache, sync_cache_with_connections,
+ CachedIntegrations, CACHE_TTL, INTEGRATIONS_CACHE,
};
+#[cfg(test)]
+pub(crate) use cache::composio_cache_test_lock;
pub(crate) use fetch::{
fetch_connected_integrations, fetch_connected_integrations_status, fetch_toolkit_actions,
FetchConnectedIntegrationsStatus,