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(storage): cover task-source scope config and noted cron owners
Steven Enamakelb283da2d78cd
diff --git a/crates/openhuman-core/src/desktop/notifications/bus_tests_2_tests.rs b/crates/openhuman-core/src/desktop/notifications/bus_tests_2_tests.rsindex dcb88d255c..3cbdd7fe1a 100644--- a/crates/openhuman-core/src/desktop/notifications/bus_tests_2_tests.rs+++ b/crates/openhuman-core/src/desktop/notifications/bus_tests_2_tests.rs@@ -533,18 +533,16 @@ fn the_announcement_rule_fails_closed_on_an_unknown_workspace() {/// scheduler's note names it even when the job is already gone.#[tokio::test]async fn a_noted_cron_completion_names_its_agent() {- let context = crate::core::runtime::CoreContext::for_test(- crate::core::runtime::DomainSet::full(),- None,- )- .derive_with(- crate::core::runtime::ContextOverlay::new(- crate::config::Config::default(),- crate::core::runtime::DomainSet::full(),- Default::default(),- )- .session_agent("notif-owner-agent"),- );+ let context =+ crate::core::runtime::CoreContext::for_test(crate::core::runtime::DomainSet::full(), None)+ .derive_with(+ crate::core::runtime::ContextOverlay::new(+ crate::config::Config::default(),+ crate::core::runtime::DomainSet::full(),+ Default::default(),+ )+ .session_agent("notif-owner-agent"),+ );crate::core::runtime::CoreContext::scope(context, async {crate::cron::completion_owner::note("notif-owner-job");})diff --git a/crates/openhuman-core/src/integrations/task_sources/bus_tests.rs b/crates/openhuman-core/src/integrations/task_sources/bus_tests.rsindex b758536640..eab7292570 100644--- a/crates/openhuman-core/src/integrations/task_sources/bus_tests.rs+++ b/crates/openhuman-core/src/integrations/task_sources/bus_tests.rs@@ -79,7 +79,9 @@ async fn a_connection_event_is_handled_per_scope() {.await;// A task-source toolkit: the local scope loads its configuration and// fires (or skips) its sources.- TaskSourcesConnectionSubscriber.handle(&event("github")).await;+ TaskSourcesConnectionSubscriber+ .handle(&event("github"))+ .await;// An event of another kind is ignored.TaskSourcesConnectionSubscriber.handle(&DomainEvent::ComposioConnectionDeleted {