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(agent_runs): tidy subagent control test imports and assertion
Steven Enamakele82bfac040d5
diff --git a/crates/openhuman-core/src/agent_runs/subagent_control_tests.rs b/crates/openhuman-core/src/agent_runs/subagent_control_tests.rsindex 5429cbca70..8ae83c888c 100644--- a/crates/openhuman-core/src/agent_runs/subagent_control_tests.rs+++ b/crates/openhuman-core/src/agent_runs/subagent_control_tests.rs@@ -157,9 +157,10 @@ async fn cancelling_a_paused_driver_queues_a_failed_delivery_with_reason() {forget_workspace_for_test, pending_for,};use crate::agent::orchestration::subagent_sessions::{- DriverTaskCancellation, DurableSubagentStatus, SubagentSessionSelector,- SubagentSessionStore, SubagentSessionUpsert, mark_finished, upsert_running,+ DriverTaskCancellation, SubagentSessionSelector, SubagentSessionStore,+ SubagentSessionUpsert, mark_finished, upsert_running,};+ use std::sync::Arc;use tinyagents_orchestration::subagent::SubagentTaskKey;use tinyagents_tasks::CompletionStatus;@@ -257,7 +258,10 @@ async fn cancelling_a_paused_driver_queues_a_failed_delivery_with_reason() {.into_iter().find(|row| row.subagent_session_id == session.subagent_session_id).expect("paused driver row remains stored");- assert_eq!(row.status, tinyagents_orchestration::subagent::DurableSubagentStatus::Failed);+ assert_eq!(+ row.status,+ tinyagents_orchestration::subagent::DurableSubagentStatus::Failed+ );let delivery = pending_for(&workspace_dir, parent_thread.as_deref().unwrap());assert_eq!(delivery.len(), 1);assert_eq!(delivery[0].status, CompletionStatus::Failed);