Skip to content

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

test: log captured warnings in boot sweep assertions

Steven Enamakel7735c0fa1ccd
diff --git a/crates/openhuman-core/src/core/runtime/services_tests.rs b/crates/openhuman-core/src/core/runtime/services_tests.rs
index fc3412389f..f5f2e9d834 100644
--- a/crates/openhuman-core/src/core/runtime/services_tests.rs
+++ b/crates/openhuman-core/src/core/runtime/services_tests.rs
@@ -52,6 +52,7 @@ async fn flows_boot_reconcile_uses_the_runtime_captured_config() {
.expect("captured runtime configuration loads");
assert_eq!(swept, 0);
let warning = String::from_utf8(capture.0.lock().unwrap().clone()).unwrap();
+ eprintln!("captured flow reconciliation warning: {warning:?}");
assert!(
warning.contains(&blocker.display().to_string()),
"BootSweep must use the workspace captured by this runtime; got {warning:?}"
diff --git a/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs b/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs
index 6dbd9bb0f7..e0c2de8ec1 100644
--- a/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs
@@ -453,6 +453,7 @@ async fn boot_sweep_logs_storage_open_failure_and_continues_boot() {
assert_eq!(swept, 0);
let warning = String::from_utf8(capture.0.lock().unwrap().clone()).unwrap();
+ eprintln!("captured boot sweep warning: {warning:?}");
assert!(
warning.contains("boot sweep failed"),
"the storage-open failure must be reported by the sweep, got {warning:?}"