Skip to content

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

fix(storage): gate layout plan tests on legacy-import feature

Steven Enamakel008d27501eb5
diff --git a/crates/openhuman-core/src/storage/layout/plan.rs b/crates/openhuman-core/src/storage/layout/plan.rs
index ad6ebfa73b..8e22acd421 100644
--- a/crates/openhuman-core/src/storage/layout/plan.rs
+++ b/crates/openhuman-core/src/storage/layout/plan.rs
@@ -262,6 +262,6 @@ pub fn join(base: &Path, rel: &str) -> PathBuf {
.fold(base.to_path_buf(), |p, part| p.join(part))
}
-#[cfg(all(test, feature = "storage-sqlite"))]
+#[cfg(all(test, feature = "storage-sqlite", feature = "legacy-import"))]
#[path = "plan_tests.rs"]
mod tests;