Skip to content

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

refactor(storage): use migrate_storage for owner migrations

Steven Enamakel6ffd46a66c5a
diff --git a/crates/openhuman-core/src/storage/boot.rs b/crates/openhuman-core/src/storage/boot.rs
index ed0bff7d7e..2190131d31 100644
--- a/crates/openhuman-core/src/storage/boot.rs
+++ b/crates/openhuman-core/src/storage/boot.rs
@@ -92,9 +92,7 @@ pub async fn prepare_scope(storage: &Storage, scope: &Scope) -> Result<usize, St
/// Idempotent. (The graph owner is gone with `tinyagents-graph`.)
async fn migrate_owners(storage: &Storage, scope: &Scope) -> Result<(), StorageError> {
let scoped = tinyagents_storage_kit::ScopedStorage::new(storage.clone(), scope.clone());
- tinyagents_harness::storage::open_storage(scoped)
- .await
- .map(|_| ())
+ tinyagents_harness::storage::migrate_storage(scoped).await
}
/// Runs the harness owner migrations on `scope` again after an