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: gate sqlite migration tests and use memory backend helper
Steven Enamakel6a8d887c06a8
diff --git a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/store_documents_tests.rs b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/store_documents_tests.rsindex a77bd3291b..89d1bfa6ca 100644--- a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/store_documents_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/store_documents_tests.rs@@ -1,10 +1,10 @@use super::*;use crate::agent::orchestration::subagent_sessions::types::DurableSubagentStatus;use crate::agent::orchestration::subagent_sessions::types::SubagentSessionStore;-use crate::storage::{MemoryStorage, Scope, StorageBackend};+use crate::storage::{test_support::memory_backend, Scope, StorageBackend};use serde_json::json;-fn docs_in(storage: &MemoryStorage, scope: &str) -> Docs {+fn docs_in(storage: &dyn StorageBackend, scope: &str) -> Docs {Docs::over(&storage.for_scope(&Scope::new(scope).unwrap()).unwrap())}diff --git a/crates/openhuman-core/src/profiles/storage_schema_tests.rs b/crates/openhuman-core/src/profiles/storage_schema_tests.rsindex 06fccf9804..84188232a8 100644--- a/crates/openhuman-core/src/profiles/storage_schema_tests.rs+++ b/crates/openhuman-core/src/profiles/storage_schema_tests.rs@@ -22,6 +22,7 @@ fn a_registry_row_loses_its_seconds_field_and_keeps_its_creation_time() {}#[tokio::test]+#[cfg(feature = "storage-sqlite")]async fn migrate_cluster_moves_the_v1_registry_into_the_v2_collection() {let fixture = sqlite_backend().unwrap();let backend = Arc::clone(&fixture.backend);@@ -58,6 +59,7 @@ fn the_schema_composes_under_its_owner() {}#[tokio::test]+#[cfg(feature = "storage-sqlite")]async fn migrate_cluster_moves_v1_leases_into_tsd_leases_and_keeps_their_epoch() {use crate::storage::lease::{DocumentLeases, LEASE_OWNER, LeaseStore};let fixture = sqlite_backend().unwrap();