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(orchestration): read paused session via driver helper
Steven Enamakel9c6e603fae29
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_paused_cancel_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_paused_cancel_tests.rsindex a0d140dca9..4649f68bd1 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_paused_cancel_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_paused_cancel_tests.rs@@ -6,7 +6,7 @@ async fn cancelling_a_paused_driver_settles_once_with_its_reason() {forget_workspace_for_test, pending_for_ctx,};use crate::agent::orchestration::subagent_sessions::{- DurableSubagentStatus, SubagentSessionStore,+ DurableSubagentStatus,};use crate::agent::orchestration::tools::SpawnSubagentTool;use tinyagents_harness_tools::subagents::SubAgentJobRegistry;@@ -120,7 +120,6 @@ async fn cancelling_a_paused_driver_settles_once_with_its_reason() {}),"the asynchronous pause notice is queued independently");- let sessions = SubagentSessionStore::new(workspace.path().to_path_buf());let parent_session = live.data.parent@@ -128,9 +127,14 @@ async fn cancelling_a_paused_driver_settles_once_with_its_reason() {.expect("live parent execution context").session_id.clone();- let before_row = sessions- .load()- .expect("paused durable session list")+ let before_row = super::driver_sessions_for_parent(+ &live.data.dispatch_ctx(),+ workspace.path(),+ &parent_session,+ Some("paused-cancel-rpc-thread"),+ )+ .await+ .expect("paused driver session list").into_iter().find(|row| row.current_task_id.as_deref() == Some(task_id.as_str())).expect("actual paused durable session remains available");