Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(storage): use op key in watch filter payloads

Steven Enamakel133c2852944b
diff --git a/Cargo.lock b/Cargo.lock
index ecd118747d..9469ca33b8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5485,6 +5485,7 @@ dependencies = [
"tinyskills-drivers",
"tinystoragedrivers",
"tinystoragedrivers-bus",
+ "tinystoragedrivers-busproxy",
"tinystoragedrivers-client",
"tinytools",
"tinytools-agent",
diff --git a/crates/openhuman-core/src/modules/storage_host_tests.rs b/crates/openhuman-core/src/modules/storage_host_tests.rs
index 6d66d6c9e7..a5f63bfb43 100644
--- a/crates/openhuman-core/src/modules/storage_host_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_host_tests.rs
@@ -663,7 +663,7 @@ async fn a_watch_signal_reaches_only_the_callers_own_relay() {
&alpha(),
Object::Documents,
"WatchOpen",
- json!({"collection": "notes", "filter": {"kind": "all"}, "interval_ms": 20}),
+ json!({"collection": "notes", "filter": {"op": "all"}, "interval_ms": 20}),
)
.await
.unwrap();
@@ -699,7 +699,7 @@ async fn a_watch_signal_reaches_only_the_callers_own_relay() {
&alpha(),
Object::Documents,
"WatchOpen",
- json!({"collection": "other", "filter": {"kind": "all"}, "interval_ms": 20}),
+ json!({"collection": "other", "filter": {"op": "all"}, "interval_ms": 20}),
)
.await,
denied("target-not-granted")