Skip to content

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

test(memory): gate the import test that saves migration state on storage-sqlite

M3gA-Mindcabe90d2bf97
diff --git a/crates/openhuman-core/src/memory/import_tests.rs b/crates/openhuman-core/src/memory/import_tests.rs
index a8036277ad..1afc8137ce 100644
--- a/crates/openhuman-core/src/memory/import_tests.rs
+++ b/crates/openhuman-core/src/memory/import_tests.rs
@@ -126,6 +126,9 @@ async fn a_paused_scheduler_leaves_an_interrupted_import_for_later() {
);
}
+// Saves layout-migration state, which needs a backend that can claim imports
+// (see `memory/layout_migration/ops.rs`).
+#[cfg(feature = "storage-sqlite")]
#[tokio::test]
async fn a_live_import_blocks_migration_and_does_not_make_a_stale_migration_look_live() {
use crate::memory::layout_migration::{self, state, test_host::FakeHost, Phase, Trigger};