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): log model call counts when scheduled child never runs
Steven Enamakelc1b3ff89841c
diff --git a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rsindex fc6cc424d3..4a8b9f8ff7 100644--- a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs+++ b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs@@ -409,7 +409,12 @@ async fn scheduled_cron_child_cannot_run_its_declared_destructive_tool() {Ok(Ok(())) => {}Ok(Err(error)) => panic!("scheduled child exited before its model call: {error}"),Err(_) => {- let _ = tokio::time::timeout(std::time::Duration::from_secs(5), run).await;+ let result = tokio::time::timeout(std::time::Duration::from_secs(5), run).await;+ eprintln!(+ "scheduled child never reached its model (spawn calls: {}, child calls: {}, result: {result:?})",+ model.spawn_calls.load(std::sync::atomic::Ordering::SeqCst),+ model.child_calls.load(std::sync::atomic::Ordering::SeqCst),+ );panic!("scheduled child never reached its model");}}