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
fix(cron): run migration before storing cron documents
Steven Enamakel0f704cd39b8f
diff --git a/crates/openhuman-core/src/cron/client.rs b/crates/openhuman-core/src/cron/client.rsindex c2f5536f93..04fb5eaa3d 100644--- a/crates/openhuman-core/src/cron/client.rs+++ b/crates/openhuman-core/src/cron/client.rs@@ -61,6 +61,18 @@ pub(crate) async fn store_in<R: DeserializeOwned>(config: &Config,scope: &DocScope,operation: StoreOperation,+) -> Result<R> {+ if !matches!(&operation, StoreOperation::Migrate) {+ let _: Value = store_raw(config, scope, StoreOperation::Migrate).await?;+ }+ store_raw(config, scope, operation).await+}++/// Send one operation without adding another migration request.+async fn store_raw<R: DeserializeOwned>(+ config: &Config,+ scope: &DocScope,+ operation: StoreOperation,) -> Result<R> {let request = StoreRequest {storage: store_config(config, scope).await?,