Skip to content

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

test(agent-harness): log transcript locator state after workspace release

Steven Enamakel18d3ec5da9db
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 057de34c09..34ca1bbf26 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -1147,6 +1147,17 @@ 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);
+ let reset_locator = openhuman_core::storage::sessions::workspace_transcripts(
+ "orchestrator",
+ &workspace_dir,
+ );
+ eprintln!(
+ "managed capture transcript immediately after workspace release: {} destination: {:?}",
+ reset_locator
+ .root_for_thread("managed-capture-thread")
+ .is_some(),
+ reset_locator.destination_key()
+ );
with_captured_proxy_requests(|requests| requests.clone())
}