Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(orchestration): tidy subagent session re-exports and cover collection

Steven Enamakel72473f49ed12
diff --git a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/mod.rs b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/mod.rs
index 891e53e881..6dc9e2c7a3 100644
--- a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/mod.rs
+++ b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/mod.rs
@@ -6,8 +6,8 @@ mod types;
pub use ops::{
action_root_key, cancel_driver_job_by_task, cancel_driver_job_for_observed_session,
- cancel_driver_jobs_for_thread, close_if_current, find_reusable,
- list_for_parent, mark_driver_pause_cancelled, mark_failed, mark_finished, normalize_task_key,
+ cancel_driver_jobs_for_thread, close_if_current, find_reusable, list_for_parent,
+ mark_driver_pause_cancelled, mark_failed, mark_finished, normalize_task_key,
resolve_lifecycle_key, reuse_decision, task_title_from_prompt, upsert_running,
DriverTaskCancellation,
};
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs
index 3ebb8172d5..05e150d9ee 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs
@@ -199,6 +199,12 @@ async fn cancelling_a_paused_driver_through_rpc_settles_once_with_its_reason() {
})
.expect("the paused child is registered in shared Jobs");
assert_eq!(paused_job.status, SubAgentJobStatus::AwaitingInput);
+ assert!(
+ crate::agent::orchestration::background_completions::mark_collected(
+ workspace.path(),
+ &task_id,
+ )
+ );
let controller = crate::agent_runs::subagent_control::all_registered_controllers()
.into_iter()