Skip to content

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

chore: files changed crates/openhuman-core/src/modules/runtime_tests.rs,crates/openhuman-core/src/sk

Steven Enamakel001a6a835961
diff --git a/crates/openhuman-core/src/modules/runtime_tests.rs b/crates/openhuman-core/src/modules/runtime_tests.rs
index 8f4c42b268..d6c0b6bcc8 100644
--- a/crates/openhuman-core/src/modules/runtime_tests.rs
+++ b/crates/openhuman-core/src/modules/runtime_tests.rs
@@ -1,4 +1,4 @@
-use super::{is_module_serving, is_started, runtime};
+use super::*;
/// The process-global runtime is stable within one caller runtime.
#[tokio::test]
@@ -53,7 +53,7 @@ async fn registry_id_matches_the_live_modules_bus_address_not_package_name() {
assert_ne!(loaded.name, record.id);
assert!(
is_module_serving(record.id),
- "the registry id must report the enabled, live module despite its package name"
+ "the registry id must report the enabled, live module despite its package name; info={loaded:#?}"
);
}
diff --git a/crates/openhuman-core/src/skills/ops_discovery_tests.rs b/crates/openhuman-core/src/skills/ops_discovery_tests.rs
index 730873414e..a6f3b7ae1e 100644
--- a/crates/openhuman-core/src/skills/ops_discovery_tests.rs
+++ b/crates/openhuman-core/src/skills/ops_discovery_tests.rs
@@ -354,9 +354,14 @@ async fn flow_authoring_is_hidden_when_tinyflows_component_is_disabled() {
.expect("linked TinyFlows fixture is admitted and serving");
let state = crate::modules::ops::state_of(crate::modules::tinyflows::MODULE_ID);
assert_eq!(state, crate::modules::types::ModuleState::Ready);
- assert!(crate::modules::runtime::is_module_serving(
- crate::modules::tinyflows::MODULE_ID
- ));
+ let module_runtime = crate::modules::runtime::runtime()
+ .await
+ .expect("module runtime should be available after Copilot proxy setup");
+ let loaded_modules = module_runtime.host().list();
+ assert!(
+ crate::modules::runtime::is_module_serving(crate::modules::tinyflows::MODULE_ID),
+ "TinyFlows registry status should resolve the admitted host snapshot: {loaded_modules:#?}"
+ );
let visible = CoreContext::scope(enabled_ctx, async {
let dispatch = crate::core::runtime::DispatchCtx::ambient();
let gate = crate::skills::ops_discover::DiscoveryGate::from_config(