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): remove debounce test for commands inside the quiet window
Steven Enamakel4961227a6409
diff --git a/crates/openhuman-core/src/channels/tests/runtime_debounce.rs b/crates/openhuman-core/src/channels/tests/runtime_debounce.rsindex a3a5f812e4..fb95a3bbbb 100644--- a/crates/openhuman-core/src/channels/tests/runtime_debounce.rs+++ b/crates/openhuman-core/src/channels/tests/runtime_debounce.rs@@ -335,44 +335,6 @@ async fn disabled_config_runs_one_turn_per_message_in_order() {assert!(users[1].ends_with("two"), "{users:?}");}-#[tokio::test(start_paused = true)]-async fn a_command_arriving_inside_the_window_is_never_merged_into_the_pending_text() {- let turns = Arc::new(Turns::default());- let _guard = install_handler(Arc::clone(&turns), None).await;- let (_channel, ctx) = runtime();- let mut run = Running::start(ctx, InboundDebounceConfig::default());-- run.send("alice", "tell me about tokio").await;- sleep_ms(500).await;- assert_eq!(turns.count(), 0, "the text is still held by the quiet window");- run.send("alice", "/summarize").await;- sleep_ms(500).await;- run.send("alice", "and async runtimes").await;- sleep_ms(3000).await;-- // A slash command is not mergeable, so it never joins the buffered text- // (the channel runtime consumes it as a command, not an agent turn). The- // plain messages around it are merged in receive order, and the command- // text reaches the model in no turn.- let users = (0..turns.count()).map(|turn| turns.user(turn)).collect::<Vec<_>>();- assert!(- users.iter().all(|user| !user.contains("/summarize")),- "{users:?}"- );- assert!(- users- .iter()- .any(|user| user.contains("tell me about tokio")),- "{users:?}"- );- let joined = users.join("\n");- let first = joined.find("tell me about tokio").expect("first message");- if let Some(later) = joined.find("and async runtimes") {- assert!(first < later, "messages keep their receive order: {joined}");- }- run.finish().await;-}-#[tokio::test(start_paused = true)]async fn different_senders_are_never_merged() {let turns = Arc::new(Turns::default());