Skip to content

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

test(egress): add wildcard pattern to ignore extra fields in event destructuring

Steven Enamakel9f077d7968c7
diff --git a/crates/openhuman-core/src/security/egress/emit_tests.rs b/crates/openhuman-core/src/security/egress/emit_tests.rs
index 72005040c2..a4aedc767b 100644
--- a/crates/openhuman-core/src/security/egress/emit_tests.rs
+++ b/crates/openhuman-core/src/security/egress/emit_tests.rs
@@ -22,6 +22,7 @@ async fn find_pending(
descriptor,
thread_id,
client_id,
+ ..
}) if descriptor.service == marker => return (descriptor, thread_id, client_id),
Some(_) => continue,
None => panic!("the bus closed before the expected event arrived"),