Skip to content

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

test(import): update layout status tests and module exports

Steven Enamakelff85253adccf
diff --git a/crates/openhuman-core/src/storage/import/layout_status_tests.rs b/crates/openhuman-core/src/storage/import/layout_status_tests.rs
index 4e37709e60..8914aba1ac 100644
--- a/crates/openhuman-core/src/storage/import/layout_status_tests.rs
+++ b/crates/openhuman-core/src/storage/import/layout_status_tests.rs
@@ -54,7 +54,10 @@ fn reads_completed_versions_from_a_read_only_database_snapshot() {
let (versions, last) = read(&db).unwrap();
- assert_eq!(versions, vec![("profiles".into(), 2), ("threads".into(), 3)]);
+ assert_eq!(
+ versions,
+ vec![("profiles".into(), 2), ("threads".into(), 3)]
+ );
assert_eq!(last, Some(300));
assert_eq!(std::fs::read(&db).unwrap(), original);
}
diff --git a/crates/openhuman-core/src/storage/import/mod.rs b/crates/openhuman-core/src/storage/import/mod.rs
index 4c6ec65271..5dcec70810 100644
--- a/crates/openhuman-core/src/storage/import/mod.rs
+++ b/crates/openhuman-core/src/storage/import/mod.rs
@@ -48,10 +48,10 @@
//! tinyflows stores (cron jobs, the flow catalog and checkpoints) are copied
//! with `tinyflows-import`; see [`tinyflows`].
-pub mod live;
-mod schemas;
#[cfg(feature = "legacy-import")]
pub(crate) mod layout_status;
+pub mod live;
+mod schemas;
#[cfg(feature = "legacy-import")]
pub mod sessions;
#[cfg(feature = "legacy-import")]