Skip to content

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

test(orchestration): move stopped-child doc comment to its test

Steven Enamakel385967267876
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 b95742351a..97bcd4fdf9 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
@@ -619,8 +619,3 @@ async fn detached_registration_failure_finishes_the_announced_product_card() {
"failed request construction must not register a job"
);
}
-
-/// A child the harness stops early (failure breaker / iteration cap) is not a
-/// finished delegation: the parent's tool result must be a failure, so its own
-/// failure policy and its trace see it, and the `SubagentCompleted` progress
-/// event must say how the child was stopped.
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
index 026bb7b170..01bebade19 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
@@ -64,6 +64,10 @@ async fn spawn_subagent_tool_runs_child_agent_e2e() {
);
}
+/// A child the harness stops early (failure breaker / iteration cap) is not a
+/// finished delegation: the parent's tool result must be a failure, so its own
+/// failure policy and its trace see it, and the `SubagentCompleted` progress
+/// event must say how the child was stopped.
#[tokio::test]
async fn spawn_subagent_reports_a_stopped_child_as_a_failed_tool_result() {
let _ = AgentDefinitionRegistry::init_global_builtins();