Skip to content

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

refactor(orchestration): move test-only re-exports into tests module

Steven Enamakelf9cfe047dfc3
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions.rs b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
index 1f69d261b1..6e751af58e 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_completions.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
@@ -46,7 +46,7 @@ use super::completion_target::{awaiting_input_record_id, awaiting_input_record_p
pub(crate) use super::completion_target::{claim_recovery, forget_recovery};
#[cfg(test)]
pub(crate) use super::completion_target::{
- forget_workspace_for_test, install_store_for_test, tests::TestWorkspace,
+ tests::{forget_workspace_for_test, install_store_for_test, TestWorkspace},
};
/// How long a settled record (delivered / gave up / tombstoned) is kept before
diff --git a/crates/openhuman-core/src/agent/orchestration/completion_target.rs b/crates/openhuman-core/src/agent/orchestration/completion_target.rs
index 25fc6fc699..8b343b8980 100644
--- a/crates/openhuman-core/src/agent/orchestration/completion_target.rs
+++ b/crates/openhuman-core/src/agent/orchestration/completion_target.rs
@@ -8,8 +8,6 @@ use std::path::Path;
use std::path::PathBuf;
use super::background_completions::state;
-#[cfg(test)]
-use super::background_completions::{new_router, Entry};
use super::background_completions::{record_awaiting_input, record_completion, record_failure};