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 prior transcript path in managed capture e2e

Steven Enamakel84e2125cded4
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index bcd48fb78b..191322ef90 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -1121,11 +1121,11 @@ async fn run_managed_capture_turn(
"orchestrator",
&workspace_dir,
);
+ let prior_transcript = transcript_locator.root_for_thread("managed-capture-thread");
eprintln!(
- "managed capture prior transcript present: {} destination: {:?}",
- transcript_locator
- .root_for_thread("managed-capture-thread")
- .is_some(),
+ "managed capture prior transcript present: {} path: {:?} destination: {:?}",
+ prior_transcript.is_some(),
+ prior_transcript.as_ref().map(|transcript| transcript.path()),
transcript_locator.destination_key()
);
let mut events = spawn_sse_collector(format!(