Skip to content

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

test(session_host): capture legacy tree before resume

Steven Enamakel4ea8b6c75a37
diff --git a/crates/openhuman-core/src/agent/session_host/transcript_resume_stable_tests.rs b/crates/openhuman-core/src/agent/session_host/transcript_resume_stable_tests.rs
index 9624aeb536..6cac13100e 100644
--- a/crates/openhuman-core/src/agent/session_host/transcript_resume_stable_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/transcript_resume_stable_tests.rs
@@ -60,8 +60,9 @@ fn a_legacy_workspace_is_adopted_once_and_the_next_process_resumes_in_place() {
let mut host = build_host(root.path(), next, scenario.native, &thread);
let stem = host.session_id().expect("bound session id");
place_fixture(root.path(), scenario, &stem, "");
- legacy_only = tree(root.path(), &thread, &host);
+ eprintln!("DBGX before resume");
assert!(host.resume_bound_session().await.expect("first resume"));
+ legacy_only = BTreeMap::new();
after_first = tree(root.path(), &thread, &host);
}
// Adoption writes the session's own transcript and modifies no legacy root.