Skip to content

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

test(orchestration): finish stale driver task in thread delete test

Steven Enamakel17b17e97c063
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_driver_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_driver_tests.rs
index bddb0c9ed8..04dfd486f0 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_driver_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_driver_tests.rs
@@ -698,6 +698,10 @@ async fn thread_delete_keeps_completions_when_driver_task_scope_cannot_be_resolv
background_completions::pending_for(&workspace, thread_id).is_empty(),
"terminal durable session permits queued completion cleanup after registry pruning"
);
+ crate::agent::orchestration::completion_owners::finish_driver_task(
+ &dispatch,
+ "stale-driver-task",
+ );
}
#[tokio::test]