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): update import fixture tests for local scope
Steven Enamakel3922fe5ff30e
diff --git a/crates/openhuman-core/src/storage/import/fixtures/legacy-v1-profile/storage.db b/crates/openhuman-core/src/storage/import/fixtures/legacy-v1-profile/storage.dbindex fcfca555f7..907a2b4d8b 100644Binary files a/crates/openhuman-core/src/storage/import/fixtures/legacy-v1-profile/storage.db and b/crates/openhuman-core/src/storage/import/fixtures/legacy-v1-profile/storage.db differdiff --git a/crates/openhuman-core/src/storage/import/mod_tests.rs b/crates/openhuman-core/src/storage/import/mod_tests.rsindex 7ee52c3fe7..15762d9905 100644--- a/crates/openhuman-core/src/storage/import/mod_tests.rs+++ b/crates/openhuman-core/src/storage/import/mod_tests.rs@@ -252,7 +252,7 @@ fn a_marker_row_an_older_build_wrote_counts_as_a_finished_import() {async fn historical_profile_fixture_boots_into_typed_owner_records_without_resurrection() {use crate::profiles::{ProfileId, ProfileRegistry};use crate::storage::layout::{Target, legacy};- use crate::storage::{self, Scope, scope_for_profile};+ use crate::storage::{self, Scope};use sha2::Digest;use tinystoragedrivers::Query;@@ -387,7 +387,7 @@ async fn historical_profile_fixture_boots_into_typed_owner_records_without_resur// conversion performed during boot.let owner_docs = Arc::clone(backend- .for_scope(&scope_for_profile("u1"))+ .for_scope(&Scope::local()).unwrap().documents(),);@@ -415,7 +415,7 @@ async fn historical_profile_fixture_boots_into_typed_owner_records_without_resur"boot import must leave the v1 source bytes unchanged");- let delete_scope = backend.for_scope(&Scope::new("u:u1").unwrap()).unwrap();+ let delete_scope = backend.for_scope(&Scope::local()).unwrap();let docs = Arc::clone(delete_scope.documents());storage::block_on(async move {docs.delete("cost.records", &cost[0].id, Precondition::None)@@ -431,7 +431,7 @@ async fn historical_profile_fixture_boots_into_typed_owner_records_without_resurassert_eq!(moved.outcome.as_ref().unwrap(), &Outcome::AlreadyDone);let docs = Arc::clone(backend- .for_scope(&scope_for_profile("u1"))+ .for_scope(&Scope::local()).unwrap().documents(),);