Skip to content

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

test(doctor): run the module source-fallback test only with modules

M3gA-Mind9e044a75b82f
diff --git a/crates/openhuman-core/src/doctor/checks/config_semantics_tests.rs b/crates/openhuman-core/src/doctor/checks/config_semantics_tests.rs
index e5f1b74a27..988ed0c010 100644
--- a/crates/openhuman-core/src/doctor/checks/config_semantics_tests.rs
+++ b/crates/openhuman-core/src/doctor/checks/config_semantics_tests.rs
@@ -357,6 +357,8 @@ async fn invalid_module_override_is_reported_without_echoing_its_path() {
assert!(!warning.message.contains("/private/libmodule.so"));
}
+// Without `modules` there are no module statuses, so no fallback to report.
+#[cfg(feature = "modules")]
#[tokio::test]
async fn source_fallback_is_reported_without_loading_modules() {
use crate::config::schema::ModuleSourceMode;