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): assert legacy creation time in document body
Steven Enamakel22a696287f10
diff --git a/crates/openhuman-core/src/cron/documents_port_tests.rs b/crates/openhuman-core/src/cron/documents_port_tests.rsindex e0202d7494..6a46d6cdca 100644--- a/crates/openhuman-core/src/cron/documents_port_tests.rs+++ b/crates/openhuman-core/src/cron/documents_port_tests.rs@@ -131,7 +131,12 @@ async fn schedule_store_migration_moves_legacy_jobs_runs_and_counter_before_readassert_eq!(runs[0].output.as_deref(), Some("legacy output"));let migrated_job = docs.get("cron.jobs", "legacy-job").await.unwrap().unwrap();- assert_eq!(migrated_job.meta.created_ms, 1772600767123_i64);+ assert_eq!(+ 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");for (collection, id) in [("cron_jobs", "legacy-job"),("cron_runs", "00000000000000000007"),