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(inference): add readiness tests for linked fixture
Steven Enamakel6f1e67e9015c
diff --git a/crates/openhuman-core/src/inbound/linked_fixture.rs b/crates/openhuman-core/src/inbound/linked_fixture.rsindex 96ed8f04fd..1c99d264bb 100644--- a/crates/openhuman-core/src/inbound/linked_fixture.rs+++ b/crates/openhuman-core/src/inbound/linked_fixture.rs@@ -165,7 +165,7 @@ impl TriageRunner for ScriptedTriage {}let failing = self.failing_applies- .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |n| n.checked_sub(1))+ .try_update(Ordering::SeqCst, Ordering::SeqCst, |n| n.checked_sub(1)).is_ok();if failing {return Err(anyhow::anyhow!("scripted apply failure"));diff --git a/crates/openhuman-core/src/inference/readiness_tests.rs b/crates/openhuman-core/src/inference/readiness_tests.rsindex 48f4a5952e..03fa87dbcb 100644--- a/crates/openhuman-core/src/inference/readiness_tests.rs+++ b/crates/openhuman-core/src/inference/readiness_tests.rs@@ -6,7 +6,7 @@ use tempfile::TempDir;async fn cached_probe_serves_definitive_negative_results() {use std::sync::atomic::{AtomicUsize, Ordering};let tmp = TempDir::new().unwrap();- let mut config = Config {+ let config = Config {workspace_dir: tmp.path().join("workspace"),action_dir: tmp.path().join("workspace"),config_path: tmp.path().join("config.toml"),@@ -22,7 +22,6 @@ async fn cached_probe_serves_definitive_negative_results() {).expect("seed app-session token");let hit_count = std::sync::Arc::new(AtomicUsize::new(0));- let counter = hit_count.clone();// The core owns no hosted provider; the managed backend's readiness probe// is whatever the host registered. Register one that rejects the way the// backend does, and count how often the core actually asks it.