Skip to content

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

test(config): assert seeded runtime defaults in concurrency test

Steven Enamakelfb1ab345a9aa
diff --git a/crates/openhuman-core/src/config/schema/load/source/concurrency_tests.rs b/crates/openhuman-core/src/config/schema/load/source/concurrency_tests.rs
index b3d397dc95..f8c6f6f710 100644
--- a/crates/openhuman-core/src/config/schema/load/source/concurrency_tests.rs
+++ b/crates/openhuman-core/src/config/schema/load/source/concurrency_tests.rs
@@ -188,6 +188,10 @@ async fn external_config_conflict_refresh_keeps_derived_runtime_overrides() {
let mut runtime_config = Config::load_from_config_path(&seed.config_path, &seed.workspace_dir)
.await
.unwrap();
+ assert!(runtime_config.mcp_client.enabled);
+ assert!(!runtime_config.autonomy.enabled);
+ assert!(runtime_config.memory.agent_id.is_none());
+ assert!(runtime_config.composio.host_credential.is_none());
runtime_config.memory.agent_id = Some("runtime-memory-agent".into());
runtime_config.memory.root = Some("team:runtime".into());
runtime_config.mcp_client.enabled = false;