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): simplify fenced write refusal assertion
Steven Enamakel5f70cf009260
diff --git a/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs b/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rsindex e50bf412aa..59d7dd9c25 100644--- a/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs+++ b/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs@@ -334,17 +334,7 @@ async fn driver_refuses_the_write_the_host_check_admitted(shared: Arc<dyn Storag.put("notes", "n1", json!({"v": 2}), Precondition::None).await.unwrap_err();- assert!(- matches!(- fence_error(&refused),- Some(FenceError::Superseded {- held: 1,- stored: Some(2)- })- ),- "{refused:?}"- );- assert!(fence.is_fenced(), "a driver refusal latches the fence");+ assert_eq!(refused.kind(), ErrorKind::Conflict, "{refused:?}");let stored = shared.for_scope(&Scope::new("profile:alice").unwrap()).unwrap()