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(storage): assert fence and conditional write capabilities
Steven Enamakel2e9bd0a6e1ec
diff --git a/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs b/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rsindex 59d7dd9c25..96235c15c3 100644--- a/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs+++ b/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs@@ -322,6 +322,11 @@ async fn driver_refuses_the_write_the_host_check_admitted(shared: Arc<dyn Storag.contains(Capability::CrossProcessCas));let (a, fence, leases) = paused_holder(&shared).await;let scoped = a.for_scope(&Scope::new("profile:alice").unwrap()).unwrap();+ assert!(fence.write_condition().is_some());+ assert!(scoped+ .documents()+ .capabilities()+ .contains(Capability::ConditionalWrites));scoped.documents().put("notes", "n1", json!({"v": 1}), Precondition::None)