Skip to content

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

refactor(cron): update test module conditionality

Steven Enamakel4965c3bd45e1
diff --git a/crates/openhuman-core/src/cron/bus_host.rs b/crates/openhuman-core/src/cron/bus_host.rs
index dffeb096d4..ccc6200790 100644
--- a/crates/openhuman-core/src/cron/bus_host.rs
+++ b/crates/openhuman-core/src/cron/bus_host.rs
@@ -360,6 +360,8 @@ mod tests;
#[path = "bus_host_context_tests.rs"]
mod context_tests;
-#[cfg(test)]
+// Boots the module runtime (`crate::modules::runtime`), which only exists
+// with the `modules` feature.
+#[cfg(all(test, feature = "modules"))]
#[path = "bus_host_trusted_system_tests.rs"]
mod trusted_system_tests;
diff --git a/scripts/ci/check-dep-sim-calibration.sh b/scripts/ci/check-dep-sim-calibration.sh
index abfd91f8ce..175594747e 100755
--- a/scripts/ci/check-dep-sim-calibration.sh
+++ b/scripts/ci/check-dep-sim-calibration.sh
@@ -137,7 +137,9 @@ cd "$(dirname "$0")/../.."
# 311 -> 315 on 2026-10-20: tinymemory 2.0.0 makes `async-lock`,
# `event-listener` and `event-listener-strategy` unconditional; see the
# 338/315/3 entry in `kernel-floor.limits`.
+# 315 -> 298 on 2026-10-21: the flows profile improved after the flows-bus
+# merge (#8159); see the 318/298/3 entry in `kernel-floor.limits`.
# See kernel-floor.limits.
-EXPECTED_NAMES=315
+EXPECTED_NAMES=298
exec python3 scripts/dep-sim.py --cut-nothing --expect-names "${EXPECTED_NAMES}"
diff --git a/scripts/kernel-floor.limits b/scripts/kernel-floor.limits
index 355055f2a3..1febf45fb8 100644
--- a/scripts/kernel-floor.limits
+++ b/scripts/kernel-floor.limits
@@ -756,4 +756,10 @@
# host cannot shed it; `uuid`, `schemars`, `url` were
# already in the graph. +4 packages / +4 names, native
# unchanged. Measured: scripts/kernel-floor.sh flows.
-flows:338:315:3
+# 318/298/3 2026-10-21 The flows profile improved (EX63 run 39476165978,
+# Linux): 318 packages / 298 names against 338/315. The
+# upstream main merge (flows bus, #8159) moved the flows
+# host onto the TinyBus module contract and dropped the
+# crates it only pulled in directly. Native unchanged.
+# Measured: scripts/kernel-floor.sh flows.
+flows:318:298:3