The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(saas): cover operator cron limit parsing
Steven Enamakelc7b0e016fbd5
diff --git a/crates/openhuman-core/src/core/runtime/saas_tests.rs b/crates/openhuman-core/src/core/runtime/saas_tests.rsindex c13392124d..72db43a2e4 100644--- a/crates/openhuman-core/src/core/runtime/saas_tests.rs+++ b/crates/openhuman-core/src/core/runtime/saas_tests.rs@@ -221,3 +221,17 @@ fn the_pre_rename_max_agents_open_key_still_sets_the_limit() {std::fs::write(&path, "root = \"/srv/openhuman\"\nmax_agents_open = 7\n").unwrap();assert_eq!(SaasConfig::load(&path).unwrap().max_profiles_open, 7);}++#[test]+fn reads_the_operators_cron_limits() {+ let tmp = tempfile::tempdir().unwrap();+ let path = tmp.path().join("operator.toml");+ std::fs::write(+ &path,+ "root = \"/srv/oh\"\n[cron]\nagent_jobs_only = true\nmax_active_jobs = 5\n",+ )+ .unwrap();+ let cron = SaasConfig::load(&path).unwrap().cron;+ assert!(cron.agent_jobs_only);+ assert_eq!((cron.min_interval_secs, cron.max_active_jobs), (300, 5));+}