Skip to content

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

fix(modules): gate storage_host_watching on the modules feature

Steven Enamakel424eb453f7db
diff --git a/crates/openhuman-core/src/modules/mod.rs b/crates/openhuman-core/src/modules/mod.rs
index 1ad36c9642..c68471d981 100644
--- a/crates/openhuman-core/src/modules/mod.rs
+++ b/crates/openhuman-core/src/modules/mod.rs
@@ -107,7 +107,7 @@ pub mod storage_grants;
pub(crate) mod storage_host;
#[cfg(feature = "modules")]
mod storage_host_linked;
-#[cfg(test)]
+#[cfg(all(test, feature = "modules"))]
mod storage_host_watching;
#[cfg(feature = "modules")]
mod storage_import_support;