Skip to content

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

fix(storage): gate tinyflows tests on storage-sqlite feature

Steven Enamakelbbec450d58da
diff --git a/crates/openhuman-core/src/storage/import/tinyflows.rs b/crates/openhuman-core/src/storage/import/tinyflows.rs
index bce5ecb980..376f2fbf6c 100644
--- a/crates/openhuman-core/src/storage/import/tinyflows.rs
+++ b/crates/openhuman-core/src/storage/import/tinyflows.rs
@@ -690,10 +690,10 @@ pub(super) fn finish(domain: &'static str, outcome: Result<Outcome>) -> Report {
Report { domain, outcome }
}
-#[cfg(all(test, feature = "flows"))]
+#[cfg(all(test, feature = "flows", feature = "storage-sqlite"))]
#[path = "tinyflows_tests.rs"]
mod tests;
-#[cfg(test)]
+#[cfg(all(test, feature = "storage-sqlite"))]
#[path = "tinyflows_cron_tests.rs"]
mod cron_tests;
diff --git a/crates/openhuman-core/src/storage/import/tinyflows_tests.rs b/crates/openhuman-core/src/storage/import/tinyflows_tests.rs
index 7a23894da8..f359674246 100644
--- a/crates/openhuman-core/src/storage/import/tinyflows_tests.rs
+++ b/crates/openhuman-core/src/storage/import/tinyflows_tests.rs
@@ -1,7 +1,5 @@
use super::*;
use crate::cron::client::testing as cron_store;
-#![cfg(feature = "storage-sqlite")]
-
use crate::storage::Scope;
use crate::storage::test_support::{SqliteBackend, sqlite_backend};
use serde_json::Value;