Skip to content

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

test(orchestration): drop redundant test cleanup and stale cfg

Steven Enamakel8e50f4064a63
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery_tests.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery_tests.rs
index 37853deb96..eec55b902e 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery_tests.rs
@@ -688,7 +688,6 @@ async fn recover_on_open_rescans_a_workspace_already_recovered() {
let w = ws.path();
record(w, "bd-open", "sub-1", "left pending", "thread-open-resc").await;
forget_workspace_for_test(w);
- scheduled_for_test().lock().expect("scheduled").clear();
assert_eq!(recover_on_boot(w), 1);
assert_eq!(recover_on_boot(w), 0, "boot recovery claims once");
diff --git a/crates/openhuman-core/src/agent/orchestration/completion_target.rs b/crates/openhuman-core/src/agent/orchestration/completion_target.rs
index 8deb3ed1c2..7f4f0972e5 100644
--- a/crates/openhuman-core/src/agent/orchestration/completion_target.rs
+++ b/crates/openhuman-core/src/agent/orchestration/completion_target.rs
@@ -4,7 +4,6 @@
//! awaiting input) records the same way, in the same workspace router, for the
//! same parent thread. The queue itself is [`super::background_completions`].
-#[cfg(test)]
use std::path::Path;
use std::path::PathBuf;
use std::sync::Arc;