Skip to content

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

fix(storage): tolerate install failures during rebind

Steven Enamakel83305fb9b2d8
diff --git a/crates/openhuman-core/src/storage/rebind.rs b/crates/openhuman-core/src/storage/rebind.rs
index e1eb03d86e..a8b026f53b 100644
--- a/crates/openhuman-core/src/storage/rebind.rs
+++ b/crates/openhuman-core/src/storage/rebind.rs
@@ -94,7 +94,7 @@ pub(crate) fn rebind_with(
let backend = super::block_on_anyhow(async move { Ok(super::open(&url).await?) })
.with_context(|| format!("open the storage backend {redacted_to}"))?;
- let session_stores = install(&next, Arc::clone(&backend))?;
+ let session_stores = install(&next, Arc::clone(&backend)).unwrap_or(0);
tracing::debug!(
target: "openhuman::storage",
session_stores,