Skip to content

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

test(memory): assert stream capability on scoped storage

Steven Enamakel7853ba89bae1
diff --git a/crates/openhuman-core/src/memory/backfill_tests.rs b/crates/openhuman-core/src/memory/backfill_tests.rs
index 07fb1fa048..5bda614d78 100644
--- a/crates/openhuman-core/src/memory/backfill_tests.rs
+++ b/crates/openhuman-core/src/memory/backfill_tests.rs
@@ -21,8 +21,11 @@ fn message(id: &str, sender: &str, content: &str, at: &str) -> ConversationMessa
async fn seed_thread(workspace: &Path, thread_id: &str, messages: &[(&str, &str)]) {
let backend = crate::storage::local::backend_for(workspace).expect("open test storage");
+ let scope = crate::storage::Scope::local();
+ let storage = backend.for_scope(&scope).expect("open test storage scope");
assert!(
- backend
+ storage
+ .streams()
.capabilities()
.contains(tinystoragedrivers_types::Capability::ConditionalStreamAppend),
"backfill thread fixture needs conditional stream append"