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(cron): fix counter field assertion in documents port migration test
Steven Enamakel7e7e30216944
diff --git a/crates/openhuman-core/src/cron/documents_port_tests.rs b/crates/openhuman-core/src/cron/documents_port_tests.rsindex 6a46d6cdca..a8b132ffc5 100644--- a/crates/openhuman-core/src/cron/documents_port_tests.rs+++ b/crates/openhuman-core/src/cron/documents_port_tests.rs@@ -132,11 +132,13 @@ async fn schedule_store_migration_moves_legacy_jobs_runs_and_counter_before_readlet migrated_job = docs.get("cron.jobs", "legacy-job").await.unwrap().unwrap();assert_eq!(- migrated_job.doc["created_ms"],- 1772600767123_i64,+ migrated_job.doc["created_ms"], 1772600767123_i64,"legacy creation time is preserved in the document body");- assert!(migrated_job.meta.created_ms > 0, "backend owns record metadata");+ assert!(+ migrated_job.meta.created_ms > 0,+ "backend owns record metadata"+ );for (collection, id) in [("cron_jobs", "legacy-job"),("cron_runs", "00000000000000000007"),@@ -152,8 +154,9 @@ async fn schedule_store_migration_moves_legacy_jobs_runs_and_counter_before_read.await.unwrap().expect("the imported counter remains readable")- .doc["next"],- 8+ .doc["value"],+ 7,+ "the shared counter stores the last allocated run number");for progress in ["cron/cron.jobs/jobs_v2",