Skip to content

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

test(saas_isolation): log debug senders when carol is admitted

Steven Enamakel91b425bc53e4
diff --git a/tests/saas_isolation/storm.rs b/tests/saas_isolation/storm.rs
index c0ee4d8e21..d00c511a68 100644
--- a/tests/saas_isolation/storm.rs
+++ b/tests/saas_isolation/storm.rs
@@ -153,7 +153,12 @@ fn zz_experiment_pin_after_turn() {
let before = llm.recorded().len();
for _ in 0..40 {
let (s, _, _) = call(&node, "carol", "core.ping", json!({}));
- if s == 200 { eprintln!("carol admitted at {:?}", t0.elapsed()); return; }
+ if s == 200 {
+ eprintln!("carol admitted at {:?}", t0.elapsed());
+ let log = std::fs::read_to_string(&node.log).unwrap_or_default();
+ for l in log.lines().filter(|l| l.contains("DEBUGSENDERS")) { eprintln!("{l}"); }
+ return;
+ }
std::thread::sleep(Duration::from_millis(500));
}
eprintln!("carol never admitted; inference requests: {}", llm.recorded().iter().filter(|r| r.is_inference()).count());