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
chore(profiles): add temporary debug logging to cron sweep
Steven Enamakelaee6012dd385
diff --git a/crates/openhuman-core/src/profiles/cron.rs b/crates/openhuman-core/src/profiles/cron.rsindex cbca956c3a..7022e6b189 100644--- a/crates/openhuman-core/src/profiles/cron.rs+++ b/crates/openhuman-core/src/profiles/cron.rs@@ -66,6 +66,7 @@ pub async fn sweep(host: &ProfileHost, now: DateTime<Utc>) -> SweepReport {continue;};let scope = DocScope::for_scope(&config, crate::storage::scope_for_profile(id.as_str()));+ eprintln!("DBGSWEEP profile {id}");let due: Vec<CronJob> = match store_in::<Vec<CronJob>>(&config,&scope,@@ -82,6 +83,7 @@ pub async fn sweep(host: &ProfileHost, now: DateTime<Utc>) -> SweepReport {continue;}};+ eprintln!("DBGSWEEP due {}", due.len());if due.is_empty() {continue;}@@ -115,8 +117,9 @@ pub async fn sweep(host: &ProfileHost, now: DateTime<Utc>) -> SweepReport {let mut dispatcher =JobDispatcher::new(&dispatch, &profile_config, &security).agent_only();let started = match dispatcher.tick(&profile_config).await {- Ok(started) => started,+ Ok(started) => { eprintln!("DBGSWEEP ticked {started}"); started }Err(error) => {+ eprintln!("DBGSWEEP error {error}");log::warn!("[profiles][cron] dispatch failed: {error}");0}