Skip to content

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

test(session-host): assert exact transcript stem and drop debug print

Steven Enamakelc1c0c45009c7
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/permanent_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/permanent_tests.rs
index 295868d0ef..2137af49b0 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session/permanent_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/permanent_tests.rs
@@ -37,7 +37,13 @@ fn transcript_stem_for_a_thread_and_agent_is_stable_and_timestamp_free() {
let a = session_stem(&SessionRef::scoped("thread-1", "orchestrator"));
let b = session_stem(&SessionRef::scoped("thread-1", "orchestrator"));
assert_eq!(a, b);
- assert_ne!(a, session_stem(&SessionRef::scoped("thread-2", "orchestrator")));
+ assert_ne!(
+ a,
+ session_stem(&SessionRef::scoped("thread-2", "orchestrator"))
+ );
assert!(!a.chars().any(|c| c == '/' || c == '\\'));
- println!("STEM={a}");
+ assert_eq!(
+ a,
+ "thread-1-2c9d1afa3c382fdf440b08a5f1f46fef.orchestrator-57c4fd2d66355aa9fd1aea283ce94119"
+ );
}