Skip to content

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

test(composio): drop redundant Arc wrapping in trigger history test

Steven Enamakelb2a8044183e0
diff --git a/crates/openhuman-core/src/integrations/composio/trigger_history_tests.rs b/crates/openhuman-core/src/integrations/composio/trigger_history_tests.rs
index 0ed9992c27..6a5c08b369 100644
--- a/crates/openhuman-core/src/integrations/composio/trigger_history_tests.rs
+++ b/crates/openhuman-core/src/integrations/composio/trigger_history_tests.rs
@@ -38,8 +38,8 @@ async fn close_releases_under_the_explicit_ctx_not_the_scoped_one() {
#[cfg(feature = "modules")]
fixture: None,
};
- let scoped = Arc::new(CoreContext::for_test(DomainSet::full(), None));
- let explicit = DispatchCtx::new(Arc::new(CoreContext::for_test(DomainSet::full(), None)));
+ let scoped = CoreContext::for_test(DomainSet::full(), None);
+ let explicit = DispatchCtx::new(CoreContext::for_test(DomainSet::full(), None));
// A scope for another context is active; the release task is spawned by the
// explicit context and completes without consulting the scoped one.
CoreContext::scope(scoped, async {