Skip to content

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

chore: files changed crates/openhuman-core/src/flows/caps_host/agent_tests.rs

Steven Enamakel6b94e0f342aa
diff --git a/crates/openhuman-core/src/flows/caps_host/agent_tests.rs b/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
index c3568b95a1..7a864a6d8c 100644
--- a/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
+++ b/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
@@ -625,6 +625,18 @@ async fn headless_child_at_depth_cap_gets_readable_spawn_refusal() {
.map(|job| (&job.agent, job.status))
.collect::<Vec<_>>(),
);
+ if run.is_finished() {
+ match run.await {
+ Ok(Ok(output)) => eprintln!(
+ "DEPTH_CAP_ROOT_OUTCOME success output_len={} has_worker_acceptance={}",
+ output.len(),
+ output.contains("Accepted async sub-agent `depth_worker`")
+ ),
+ Ok(Err(error)) => eprintln!("DEPTH_CAP_ROOT_OUTCOME error={error:#}"),
+ Err(error) => eprintln!("DEPTH_CAP_ROOT_OUTCOME join_error={error}"),
+ }
+ }
+ panic!("the child reaches the scripted model within the bounded setup window");
}
child_started
.expect("the child reaches the scripted model")