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
chore(web_chat): add debug logging for progress bridge exit
Steven Enamakel7ae800243d8d
diff --git a/crates/openhuman-core/src/web_chat/progress_bridge.rs b/crates/openhuman-core/src/web_chat/progress_bridge.rsindex 896b1345bd..55273f0b3b 100644--- a/crates/openhuman-core/src/web_chat/progress_bridge.rs+++ b/crates/openhuman-core/src/web_chat/progress_bridge.rs@@ -1253,6 +1253,7 @@ pub(crate) fn spawn_progress_bridge(// The response presenter waits only briefly for this signal before// publishing an error. Trace export is best-effort I/O and must not// hold up terminal delivery after the progress stream closed.+ log::debug!("[web_channel][bridge] DEBUGBRIDGE exited request_id={request_id}");let _ = drained_tx.send(true);if let Some(mut collector) = span_collector.take() {collector.finish(unix_epoch_ms());diff --git a/tests/saas_isolation/storm.rs b/tests/saas_isolation/storm.rsindex ae8321429d..768fda2cbe 100644--- a/tests/saas_isolation/storm.rs+++ b/tests/saas_isolation/storm.rs@@ -135,7 +135,7 @@ fn zz_experiment_pin_after_turn() {let d = deployment(true);let llm = mock_llm();let node = start_node_logging(&d, "1", None, "max_profiles_open = 1\nidle_evict_secs = 0\n",- Some(llm.port), "info,openhuman_core::profiles=debug");+ Some(llm.port), "info,openhuman_core::profiles=debug,openhuman_core::web_chat=debug");for (user, name) in USERS.iter().enumerate() {provision(&client(), &node.base, name);operator(&node, "openhuman.profiles_set_credential",@@ -160,6 +160,6 @@ fn zz_experiment_pin_after_turn() {let paths: Vec<String> = llm.recorded().iter().skip(before).map(|r| r.path.clone()).collect();eprintln!("backend paths: {paths:?}");let log = std::fs::read_to_string(&node.log).unwrap_or_default();- let pins: Vec<&str> = log.lines().filter(|l| l.contains("DEBUGPIN")).collect();+ let pins: Vec<&str> = log.lines().filter(|l| (l.contains("DEBUGPIN") || l.contains("[bridge]"))).collect();eprintln!("PINS {}", pins[pins.len().saturating_sub(5)..].join("\n"));}