Skip to content

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

test(subagent_host): wrap lifecycle key assertion in Some

Steven Enamakel086361b4fe05
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs
index 97c551abd6..03de7daeda 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs
@@ -202,7 +202,7 @@ async fn tiny_session_port_recovers_legacy_key_from_owned_pause_and_hides_foreig
.await
.unwrap();
assert_eq!(owned.len(), 1);
- assert_eq!(owned[0].lifecycle_key, key);
+ assert_eq!(owned[0].lifecycle_key, Some(key));
assert!(port
.list_for_parent("foreign-session", Some("thread"))
.await