Skip to content

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

test(core): align domain and browser gates after Medulla removal

Steven Enamakel1f770801d89c
diff --git a/crates/openhuman-core/src/core/all.rs b/crates/openhuman-core/src/core/all.rs
index ca6363854d..e481f36557 100644
--- a/crates/openhuman-core/src/core/all.rs
+++ b/crates/openhuman-core/src/core/all.rs
@@ -139,7 +139,7 @@ pub enum DomainGroup {
impl DomainGroup {
/// Number of variants. Kept in sync by `domain_group_all_lists_every_variant`.
- pub const COUNT: usize = 21;
+ pub const COUNT: usize = 20;
/// Every variant, for exhaustive iteration in drift guards.
///
diff --git a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs
index 93ec5e6c4e..2490e13ab7 100644
--- a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs
+++ b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs
@@ -56,7 +56,10 @@ fn all_tools_includes_browser_when_enabled() {
&cfg,
);
let names: Vec<&str> = tools.iter().map(|t| t.name()).collect();
+ #[cfg(feature = "modules")]
assert!(names.contains(&"browser_open"));
+ #[cfg(not(feature = "modules"))]
+ assert!(!names.contains(&"browser_open"));
assert!(names.contains(&"pushover"));
assert!(names.contains(&"proxy_config"));
}