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(web_chat): wait for the runner channel to fill before closing it
M3gA-Mindb523457a8c16
diff --git a/crates/openhuman-core/src/web_chat/turn_host_tests.rs b/crates/openhuman-core/src/web_chat/turn_host_tests.rsindex 00def0657a..9ecbcc7229 100644--- a/crates/openhuman-core/src/web_chat/turn_host_tests.rs+++ b/crates/openhuman-core/src/web_chat/turn_host_tests.rs@@ -209,6 +209,13 @@ async fn a_completion_queued_behind_a_full_runner_channel_is_still_published() {// TurnStarted fills the one-slot runner channel, so the tap blocks on it// with the completion still behind it.agent_tx.send(AgentProgress::TurnStarted).await.unwrap();+ tokio::time::timeout(Duration::from_secs(5), async {+ while runner_rx.is_empty() {+ tokio::task::yield_now().await;+ }+ })+ .await+ .expect("the tap fills the runner channel");agent_tx.send(AgentProgress::SubagentCompleted {agent_id: "workflow_builder".into(),