Skip to content

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

test(subagent_host): add test for detached driver lifecycle commits

Steven Enamakele3e09d795808
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle_storage_adoption_tests.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle_storage_adoption_tests.rs
index f5c592a0a2..d2eff2849b 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle_storage_adoption_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle_storage_adoption_tests.rs
@@ -169,6 +169,7 @@ fn owner_file_pause_is_imported_and_the_original_bytes_stay_unchanged() {
async fn a_detached_driver_uses_its_carried_actor_for_lifecycle_commits() {
use crate::agent::harness::fork_context::ParentExecutionContext;
use crate::agent::tinyagents::host::OpenHumanRunContext;
+ use std::sync::Arc;
use tinyagents_harness::context::{RunConfig, RunContext};
let workspace = tempfile::tempdir().unwrap();