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): update scheduler headless descendants tests
Steven Enamakel29f193395e63
diff --git a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rsindex f4aa839fd0..785de80aaf 100644--- a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs+++ b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs@@ -98,7 +98,7 @@ async fn scheduled_agent_history_includes_its_spawned_child_result() {).definitions(definitions),);- let dispatch = crate::core::runtime::DispatchCtx::new(core);+ let dispatch = crate::core::runtime::DispatchCtx::new(std::sync::Arc::clone(&core));let mut job = test_job("");job.job_type = JobType::Agent;job.agent_id = Some("orchestrator".into());@@ -108,8 +108,16 @@ async fn scheduled_agent_history_includes_its_spawned_child_result() {let (child_started_tx, child_started_rx) = tokio::sync::oneshot::channel();*model.child_started.lock().unwrap() = Some(child_started_tx);let run = tokio::spawn(async move {- super::super::agent_run::run_agent_job_for_run(&dispatch, &config, &job, "cron-run-test")- .await+ crate::core::runtime::CoreContext::scope(+ core,+ Box::pin(super::super::agent_run::run_agent_job_for_run(+ &dispatch,+ &config,+ &job,+ "cron-run-test",+ )),+ )+ .await});match tokio::time::timeout(std::time::Duration::from_secs(5), child_started_rx).await {Ok(Ok(())) => {}