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(saas_mode_e2e): drop web turn settle wait before relay
Steven Enamakeldb38cc04c75a
diff --git a/tests/saas_mode_e2e.rs b/tests/saas_mode_e2e.rsindex 50284caa9c..27adac3037 100644--- a/tests/saas_mode_e2e.rs+++ b/tests/saas_mode_e2e.rs@@ -663,34 +663,6 @@ fn a_profile_holds_web_and_relayed_channel_threads() {);assert_eq!(status, 200, "{body}");- // The web chat and relay share Alice's profile turn gate. Let the offline- // web turn reach a terminal snapshot before queuing the channel turn; this- // test covers profile/thread isolation, not same-profile turn scheduling.- let deadline = Instant::now() + Duration::from_secs(90);- let mut lifecycle = None;- let mut turn_state_response = None;- while Instant::now() < deadline {- let (state_status, state) = call(- "alice",- "openhuman.threads_turn_state_get",- json!({ "thread_id": "web-1" }),- );- turn_state_response = Some((state_status, state.clone()));- lifecycle = state- .pointer("/result/data/turnState/lifecycle")- .or_else(|| state.pointer("/result/result/data/turnState/lifecycle"))- .and_then(Value::as_str)- .map(str::to_owned);- if matches!(lifecycle.as_deref(), Some("completed" | "interrupted")) {- break;- }- std::thread::sleep(Duration::from_millis(200));- }- assert!(- matches!(lifecycle.as_deref(), Some("completed" | "interrupted")),- "Alice's web turn did not settle before relay: lifecycle={lifecycle:?}, response={turn_state_response:?}"- );-// ...and the gateway relays a Telegram message of hers.let relayed = json!({"channel": "telegram",