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 scope and blob store references in tests
Steven Enamakel9fc32e78e934
diff --git a/crates/openhuman-core/src/agent/harness/artifact_offload/artifact_offload_tests.rs b/crates/openhuman-core/src/agent/harness/artifact_offload/artifact_offload_tests.rsindex 6bc226d31a..52bdb6b629 100644--- a/crates/openhuman-core/src/agent/harness/artifact_offload/artifact_offload_tests.rs+++ b/crates/openhuman-core/src/agent/harness/artifact_offload/artifact_offload_tests.rs@@ -104,11 +104,11 @@ fn workspace_guard_defers_to_the_security_policy_for_internal_state() {}}-fn memory_blobs() -> Arc<dyn tinystoragedrivers::BlobStore> {+fn memory_blobs() -> Arc<dyn tinystoragedrivers_api::BlobStore> {use tinystoragedrivers::StorageBackend as _;let backend = crate::storage::test_support::memory_backend();let scoped = backend- .for_scope(&tinystoragedrivers::Scope::local())+ .for_scope(&crate::storage::Scope::local()).expect("the memory backend binds the local scope");Arc::clone(scoped.blobs())}diff --git a/crates/openhuman-core/src/storage/scope_move_tests.rs b/crates/openhuman-core/src/storage/scope_move_tests.rsindex 952348ac93..1d7c944669 100644--- a/crates/openhuman-core/src/storage/scope_move_tests.rs+++ b/crates/openhuman-core/src/storage/scope_move_tests.rs@@ -323,15 +323,14 @@ fn boot_import_moves_profile_v1_scope_and_keeps_source_unchanged() {#[test]#[cfg(feature = "legacy-import")]-fn boot_import_reports_no_source_for_a_new_mongodb_target() {+fn boot_import_reports_no_source_for_a_workspace_without_legacy_storage() {let workspace = tempfile::tempdir().unwrap();let config = crate::config::Config {workspace_dir: workspace.path().to_path_buf(),..Default::default()};// This is the actual boot importer pipeline. With no legacy SQLite file,- // the current destination URL is not evidence of a legacy Mongo source.- // No backend is installed and the driver is never opened here.+ // the destination backend is not treated as a legacy source.let backend = crate::storage::test_support::memory_backend();let reports = crate::storage::import::run_all(&backend, &config);let report = reports