Skip to content

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

test(agent-harness): add debug logging around managed capture turn

Steven Enamakel07a851f813fb
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 097015c104..29460cead6 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -1151,6 +1151,7 @@ async fn run_managed_capture_turn(
"The managed gateway request is stable.",
)]);
with_captured_proxy_requests(|requests| requests.clear());
+ eprintln!("DBGI start installed={} url={:?}", openhuman_core::storage::installed().is_some(), openhuman_core::storage::installed_url());
let workspace_dir = home.join("workspace");
let stack = boot_stack_with_capture_endpoint(api_origin, home).await;
let mut events = spawn_sse_collector(format!(
@@ -1198,6 +1199,7 @@ async fn run_managed_capture_turn(
// Session transcript stores and their SQLite backend are also cached by
// workspace path; release them before the next repetition removes it.
openhuman_core::storage::sessions::release_workspace(&workspace_dir);
+ eprintln!("DBGI end installed={} url={:?}", openhuman_core::storage::installed().is_some(), openhuman_core::storage::installed_url());
openhuman_core::storage::clear();
openhuman_core::storage::local::forget(&workspace_dir);
with_captured_proxy_requests(|requests| requests.clone())