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(profiles): use shared memory backend helper in recovery tests
Steven Enamakel381f157c0372
diff --git a/crates/openhuman-core/src/profiles/recovery_tests.rs b/crates/openhuman-core/src/profiles/recovery_tests.rsindex 25bf39fb97..4d84020f54 100644--- a/crates/openhuman-core/src/profiles/recovery_tests.rs+++ b/crates/openhuman-core/src/profiles/recovery_tests.rs@@ -3,7 +3,7 @@ use crate::core::runtime::{ContextOverlay, DomainSet};use std::sync::Arc;use tinyagents_session::port::SessionStoreProvider;use tinyagents_session::turn_state::{TurnLifecycle, TurnState};-use tinystoragedrivers::{MemoryStorage, StorageBackend};+use crate::storage::test_support::memory_backend;fn profile() -> ProfileId {ProfileId::for_user("recovering", crate::profiles::ProfileIdMode::Raw).unwrap()@@ -12,7 +12,7 @@ fn profile() -> ProfileId {/// A context for the profile whose host overrides carry a storage-backed/// session store (no workspace files), as a SaaS host installs.fn context_with_store() -> (Arc<CoreContext>, Arc<dyn SessionStoreProvider>) {- let backend: Arc<dyn StorageBackend> = Arc::new(MemoryStorage::new());+ let backend = memory_backend();let provider: Arc<dyn SessionStoreProvider> = Arc::new(tinyagents_session::DriverSessionStores::new(backend, crate::storage::Scope::local()).unwrap()