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(subagent-host): borrow completion in cancellation assertion
Steven Enamakelbeb3e221655b
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rsindex f83cdc3d1a..623cdcd21f 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs@@ -326,7 +326,7 @@ async fn closing_a_durable_driver_session_cancels_only_its_registered_child() {.expect("driver should finish after the tool unwinds").expect("driver invokes the host completion projection");assert!(- matches!(completion, Ok(outcome) if matches!(outcome.status, SubagentRunStatus::Cancelled)),+ matches!(&completion, Ok(outcome) if matches!(&outcome.status, SubagentRunStatus::Cancelled)),"the driver should classify the released child as cancelled: {completion:?}");let final_wait = SubAgentJobsTool::new(jobs.clone())