Skip to content

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

chore(storage): gate test-only import and tidy test imports

Steven Enamakel62e024225065
diff --git a/crates/openhuman-core/src/storage/scope_move.rs b/crates/openhuman-core/src/storage/scope_move.rs
index 30d89c17da..e3d1b95fcc 100644
--- a/crates/openhuman-core/src/storage/scope_move.rs
+++ b/crates/openhuman-core/src/storage/scope_move.rs
@@ -152,6 +152,7 @@ pub struct MoveReport {
#[path = "scope_move_boot.rs"]
mod boot;
pub use boot::run_from_config;
+#[cfg(test)]
pub(crate) use boot::IMPORT_DOMAIN;
/// Copies the rows in a source inventory to their mapped v2 scopes.
diff --git a/crates/openhuman-core/src/storage/test_support.rs b/crates/openhuman-core/src/storage/test_support.rs
index 01d2729540..c346da4a34 100644
--- a/crates/openhuman-core/src/storage/test_support.rs
+++ b/crates/openhuman-core/src/storage/test_support.rs
@@ -2,9 +2,9 @@
use std::sync::{Arc, Mutex, MutexGuard};
-use crate::storage::StorageBackend;
#[cfg(feature = "storage-sqlite")]
use crate::storage::block_on_anyhow;
+use crate::storage::StorageBackend;
/// A real TSD in-memory backend for tests that do not require conditional
/// writes or persistence across backend instances.