Skip to content

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

test(security): add sender_name to external channel fixtures

Steven Enamakel187c73a1ee77
diff --git a/crates/openhuman-core/src/security/approval/gate_forced_tests.rs b/crates/openhuman-core/src/security/approval/gate_forced_tests.rs
index 9dd2ae9530..4dc4ce70a2 100644
--- a/crates/openhuman-core/src/security/approval/gate_forced_tests.rs
+++ b/crates/openhuman-core/src/security/approval/gate_forced_tests.rs
@@ -120,6 +120,7 @@ async fn forced_approval_still_denies_automation_and_channel_origins() {
AgentTurnOrigin::ExternalChannel {
channel: "telegram".into(),
sender: None,
+ sender_name: None,
reply_target: "chat".into(),
message_id: "m".into(),
history_key: None,
diff --git a/crates/openhuman-core/src/tools/impl/browser/browser_unattended_tests.rs b/crates/openhuman-core/src/tools/impl/browser/browser_unattended_tests.rs
index f8f0495e43..58322fc929 100644
--- a/crates/openhuman-core/src/tools/impl/browser/browser_unattended_tests.rs
+++ b/crates/openhuman-core/src/tools/impl/browser/browser_unattended_tests.rs
@@ -54,6 +54,7 @@ fn external_channel() -> AgentTurnOrigin {
AgentTurnOrigin::ExternalChannel {
channel: "telegram".into(),
sender: Some("someone".into()),
+ sender_name: None,
reply_target: "chat-1".into(),
message_id: "m-1".into(),
history_key: None,