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
chore: files changed crates/openhuman-tinyhumans/src/doctor/hosted_checks_tests.rs
Steven Enamakele7426a6af3d3
diff --git a/crates/openhuman-tinyhumans/src/doctor/hosted_checks_tests.rs b/crates/openhuman-tinyhumans/src/doctor/hosted_checks_tests.rsindex fbe4ffc126..916bf9a1cc 100644--- a/crates/openhuman-tinyhumans/src/doctor/hosted_checks_tests.rs+++ b/crates/openhuman-tinyhumans/src/doctor/hosted_checks_tests.rs@@ -2,7 +2,7 @@ use super::*;use crate::session::test_support::{EXPIRED_JWT, LIVE_JWT};use openhuman_embed::__host::config::Config;use openhuman_embed::__host::core::runtime::CoreContext;-use openhuman_embed::__host::doctor::{registered_checks, DoctorCheck};+use openhuman_embed::__host::doctor::{registered_checks, ComponentId, DoctorCheck};use openhuman_embed::{CoreBuilder, DomainSet, HostKind, ServiceSet};use serde_json::json;use std::collections::BTreeMap;@@ -551,6 +551,32 @@ fn backend_credential_check_runs_in_the_connect_tier() {);}+#[test]+fn every_hosted_check_is_gated_by_the_hosting_component() {+ let checks = HostedDoctorCheckSource::default().checks();+ let expected_ids = [+ "backend/reachable",+ "backend/credential",+ "backend/identity",+ "backend/socket",+ "backend/api-url",+ "inference/managed-catalog",+ ];++ assert_eq!(+ checks.iter().map(|check| check.id()).collect::<Vec<_>>(),+ expected_ids+ );+ for check in checks {+ assert_eq!(+ check.component_gate(),+ Some(ComponentId::Hosting),+ "{} must require the Hosting component",+ check.id()+ );+ }+}+#[tokio::test]async fn tinyhumans_runtime_registration_is_context_scoped() {let tmp = TempDir::new().unwrap();