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(memory): remove outdated binding admission tests
Steven Enamakel25f5c2af13a9
diff --git a/crates/openhuman-core/src/memory/binding_admission_tests.rs b/crates/openhuman-core/src/memory/binding_admission_tests.rsindex c375b28b72..5510338f01 100644--- a/crates/openhuman-core/src/memory/binding_admission_tests.rs+++ b/crates/openhuman-core/src/memory/binding_admission_tests.rs@@ -648,23 +648,31 @@ mod remote_binding {}#[tokio::test]- async fn the_hosted_engine_without_a_backend_transport_falls_back_loudly() {+ async fn the_hosted_engine_binds_only_when_a_backend_transport_exists() {let dir = tempfile::tempdir().unwrap();let cfg = MemorySubsystemConfig {driver: "tinyhumans".into(),..Default::default()};let binding = for_workspace(dir.path(), &cfg).expect("binding resolves");- // The core carries no transport of its own, so the hosted engine has no- // backend origin and must fall back rather than bind half-built.- assert_eq!(binding.driver_id(), "null");- let fallback = binding.fallback().expect("fallback recorded");- assert_eq!(fallback.configured_driver, "tinyhumans");- assert!(- fallback.reason.contains("BACKEND_UNAVAILABLE"),- "{}",- fallback.reason- );+ // Whether a transport is installed is process-global (other suites+ // install one), so both outcomes are legitimate; what must hold is+ // that each is coherent and never half-built.+ match binding.fallback() {+ None => {+ assert_eq!(binding.driver_id(), "tinyhumans");+ assert_eq!(binding.class(), DriverClass::External);+ }+ Some(fallback) => {+ assert_eq!(binding.driver_id(), "null");+ assert_eq!(fallback.configured_driver, "tinyhumans");+ assert!(+ fallback.reason.contains("BACKEND_UNAVAILABLE"),+ "{}",+ fallback.reason+ );+ }+ }}#[tokio::test]