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(cron): qualify CoreContext paths in scheduler dispatch tests
Steven Enamakel86565b3f7819
diff --git a/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs b/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rsindex 26abaac0e1..0a6ef1824b 100644--- a/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs+++ b/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs@@ -469,10 +469,10 @@ async fn a_dispatcher_binds_the_context_it_is_handed_not_the_ambient_one() {let tmp = TempDir::new().unwrap();let config = test_config(&tmp).await;let security = security(&config);- let handed = CoreContext::for_test(crate::core::runtime::DomainSet::full(), None);- let ambient = CoreContext::for_test(crate::core::runtime::DomainSet::full(), None);+ let handed = crate::core::runtime::CoreContext::for_test(crate::core::runtime::DomainSet::full(), None);+ let ambient = crate::core::runtime::CoreContext::for_test(crate::core::runtime::DomainSet::full(), None);- let dispatcher = CoreContext::scope(Arc::clone(&ambient), async {+ let dispatcher = crate::core::runtime::CoreContext::scope(Arc::clone(&ambient), async {// Across an await the handed context is still the one bound.tokio::task::yield_now().await;JobDispatcher::new(