Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(saas): log state when waiting for a profile to settle

Steven Enamakelfd7785ef5011
diff --git a/tests/saas_mode_e2e.rs b/tests/saas_mode_e2e.rs
index 04689664e0..5b42e601b6 100644
--- a/tests/saas_mode_e2e.rs
+++ b/tests/saas_mode_e2e.rs
@@ -696,6 +696,7 @@ fn a_profile_holds_web_and_relayed_channel_threads() {
.pointer("/result/data/count")
.and_then(Value::as_u64)
.is_some_and(|count| count >= 2);
+ eprintln!("DBG idle={idle} replied={replied} queue={queue} messages={messages}");
if matches!(lifecycle, Some("completed" | "interrupted")) || (idle && replied) {
settled = true;
break;