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(json_rpc): assert migrated job creation time from body field
Steven Enamakel268505b4fb6d
diff --git a/tests/json_rpc_flows_e2e.rs b/tests/json_rpc_flows_e2e.rsindex e6c893c8a8..bf5d00f79b 100644--- a/tests/json_rpc_flows_e2e.rs+++ b/tests/json_rpc_flows_e2e.rs@@ -212,7 +212,11 @@ async fn json_rpc_cron_manual_worker_survives_caller_cancel_on_published_tinyflo.await.unwrap().expect("the released module wrote the v2 job through the host callback");- assert_eq!(migrated.meta.created_ms, 1772600767123_i64);+ // Module ports cannot set host-owned record metadata, so the migrated+ // job carries its original creation time as the body field `created_ms`+ // (the backend stamps `meta.created_ms` with the write time).+ assert_eq!(migrated.doc["created_ms"], 1772600767123_i64);+ assert!(migrated.meta.created_ms > 0, "the backend owns record metadata");for (collection, id) in [("cron_jobs", "legacy-migration-proof"),("cron_runs", "00000000000000000007"),