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): run storage importer explicitly in side-table policy test
Steven Enamakel58a97279af3e
diff --git a/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs b/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rsindex 2f61db1c8d..a8fd94947a 100644--- a/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs+++ b/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs@@ -370,8 +370,11 @@ async fn an_upgraded_job_with_a_side_table_policy_keeps_firing_with_it() {.unwrap();}- // Reading first runs the legacy import, which the direct write below skips.- cron::get_job(&config, shell_id).unwrap();+ // The storage importer brings the legacy rows (and their side-table policy) over.+ let backend = crate::storage::local::backend_for(&config.workspace_dir).unwrap();+ for report in crate::storage::import::tinyflows::run_with(&backend, &config) {+ report.outcome.unwrap();+ }force_due(&config, shell_id);let job = cron::get_job(&config, shell_id).unwrap();assert_eq!(job.policy.retries, Some(0));