Skip to content

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

test(orchestration): add schema check for config RPC method

Steven Enamakel1ac5438b065c
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
index a28f2a8999..faceb2645f 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
@@ -208,9 +208,9 @@ async fn saas_dispatch_exposes_only_the_callers_detached_worker_controls() {
),
Some(true)
);
+ assert!(crate::core::all::schema_for_rpc_method("openhuman.config_get_config").is_none());
})
.await;
- assert!(crate::core::all::schema_for_rpc_method("openhuman.config_get_config").is_none());
CoreContext::scope(pair.alice.clone(), async {
assert!(resume_ref_for_task(&DispatchCtx::ambient(), &pair.a.task, PARENT).is_ok());
})