Skip to content

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

chore: files changed crates/openhuman-core/src/agent/orchestration/subagent_sessions/tiny_port_tests

Steven Enamakel76a53182bcb0
diff --git a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/tiny_port_tests.rs b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/tiny_port_tests.rs
index ff140cc0f0..9aa3dd0644 100644
--- a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/tiny_port_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/tiny_port_tests.rs
@@ -44,11 +44,12 @@ async fn old_rows_without_checkpoint_identity_remain_readable_without_fabricated
.await
.unwrap()
.is_empty());
- assert_eq!(
- port.list_for_parent("owner", None).await.unwrap().len(),
- 1,
- "Tiny Jobs passes no thread filter, so the port supplies its authenticated thread"
- );
+ assert!(port
+ .list_for_parent("owner", Some("other-thread"))
+ .await
+ .unwrap()
+ .is_empty());
+ assert_eq!(port.list_for_parent("owner", None).await.unwrap().len(), 1);
assert!(port.get("legacy-session").await.unwrap().is_some());
let other_thread = OpenHumanTinySubagentSessionStore::new(
workspace.path().to_path_buf(),