Skip to content

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

fix(saas_tests): correct assertion for restored runtime state

Steven Enamakel6ce5445b5659
diff --git a/crates/openhuman-core/src/core/runtime/saas_tests.rs b/crates/openhuman-core/src/core/runtime/saas_tests.rs
index 0329f98791..74d951b2a1 100644
--- a/crates/openhuman-core/src/core/runtime/saas_tests.rs
+++ b/crates/openhuman-core/src/core/runtime/saas_tests.rs
@@ -25,7 +25,8 @@ root = "/srv/oh"
service_token_file = "/run/secrets/gateway"
tool_allowlist = ["host_shell"]
rpc_allowlist_extra = ["threads.list"]
-max_agents_open = 8
+max_profiles_open = 8
+profile_ids = "hashed"
idle_evict_secs = 60
shared_backend_api_key = true
custom_definitions = true
@@ -50,7 +51,8 @@ cpu_limit = 0.5
assert_eq!(config.sandbox.memory_limit_mb, 256);
assert_eq!(config.sandbox.cpu_limit, 0.5);
assert_eq!(config.rpc_allowlist_extra, vec!["threads.list".to_string()]);
- assert_eq!(config.max_agents_open, 8);
+ assert_eq!(config.max_profiles_open, 8);
+ assert_eq!(config.profile_ids, crate::profiles::ProfileIdMode::Hashed);
assert_eq!(config.idle_evict_secs, 60);
assert!(config.shared_backend_api_key && config.custom_definitions);
assert!(!config.require_user_signature);