Skip to content

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

test(json_rpc_auth_security): gate telegram e2e on channels feature

Steven Enamakelff5a28b7a173
diff --git a/tests/json_rpc_auth_security_e2e.rs b/tests/json_rpc_auth_security_e2e.rs
index 2bc7f6408f..f05cda4f40 100644
--- a/tests/json_rpc_auth_security_e2e.rs
+++ b/tests/json_rpc_auth_security_e2e.rs
@@ -759,7 +759,12 @@ async fn channels_status_reflects_managed_dm_credential_e2e() {
/// using the registry-pinned TinyChannels release staged by the standard Rust
/// test runner. Telegram credential validation is local to the module and
/// does not call the Bot API.
-#[cfg(all(target_os = "linux", target_arch = "x86_64", feature = "modules"))]
+#[cfg(all(
+ target_os = "linux",
+ target_arch = "x86_64",
+ feature = "modules",
+ feature = "channels"
+))]
#[tokio::test]
async fn telegram_bot_token_connect_reject_disconnect_and_reconnect_over_json_rpc_e2e() {
let _env_lock = json_rpc_e2e_env_lock_async().await;