Skip to content

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

test(channels): update relay test to assert topic_id

Steven Enamakeld510fa2ce59f
diff --git a/crates/openhuman-core/src/channels/runtime/startup_tests.rs b/crates/openhuman-core/src/channels/runtime/startup_tests.rs
index e1b2658508..e8af9daf17 100644
--- a/crates/openhuman-core/src/channels/runtime/startup_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup_tests.rs
@@ -97,7 +97,7 @@ async fn relay_inbound_handler_forwards_envelopes_to_dispatch_bus() {
assert_eq!(msg.reply_target, "chat-1");
assert_eq!(msg.sender, "alice");
assert_eq!(msg.content, "hello from relay");
- assert_eq!(msg.thread_ts.as_deref(), Some("topic-1"));
+ assert_eq!(msg.topic_id.as_deref(), Some("topic-1"));
let forwarded = runtime_msg
.inbound_envelope
.expect("relay envelope should stay attached for dispatch");