The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(channels): tidy channel test fixtures
Steven Enamakel24fbb040584b
diff --git a/crates/openhuman-core/src/channels/bus/subscriber_tests.rs b/crates/openhuman-core/src/channels/bus/subscriber_tests.rsindex 25d2e28ee5..47d753570c 100644--- a/crates/openhuman-core/src/channels/bus/subscriber_tests.rs+++ b/crates/openhuman-core/src/channels/bus/subscriber_tests.rs@@ -43,7 +43,7 @@ async fn backend_channel_wait_does_not_cut_off_a_live_turn_after_180_seconds() {let ctx = DispatchCtx::ambient();let client_id = "channel-timeout-client";let thread_id = "channel-timeout-thread";- let mut event_rx = crate::web_chat::subscribe_web_channel_events();+ let event_rx = crate::web_chat::subscribe_web_channel_events();let request_id = crate::web_chat::start_chat(&ctx,client_id,@@ -64,6 +64,7 @@ async fn backend_channel_wait_does_not_cut_off_a_live_turn_after_180_seconds() {tokio::task::yield_now().await;}+ let producer_request_id = request_id.clone();let sink = RecordingReply::default();let session = tokio_util::sync::CancellationToken::new();let producer = async {@@ -74,7 +75,7 @@ async fn backend_channel_wait_does_not_cut_off_a_live_turn_after_180_seconds() {context: WebEventContext {client_id: client_id.into(),thread_id: thread_id.into(),- request_id: request_id.clone(),+ request_id: producer_request_id.clone(),..Default::default()},delta: Some("still working".into()),diff --git a/crates/openhuman-core/src/channels/runtime/startup/module_providers_tests.rs b/crates/openhuman-core/src/channels/runtime/startup/module_providers_tests.rsindex 62967b6d8a..730d3f106d 100644--- a/crates/openhuman-core/src/channels/runtime/startup/module_providers_tests.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/module_providers_tests.rs@@ -77,7 +77,7 @@ async fn compiled_module_progressive_send_reenters_typed_callback_without_deadloconfig.modules.allow_download = false;config.modules.source = crate::config::schema::ModuleSourceMode::Linked;config.channels_config.telegram = Some(tinychannels_bus::config::TelegramConfig {- bot_token: "bottoken".into(),+ bot_token: "token".into(),chat_id: None,allowed_users: vec!["42".into()],stream_mode: Default::default(),