diff --git a/crates/churn/src/agent/handlers/scheduled_tasks.rs b/crates/churn/src/agent/handlers/scheduled_tasks.rs index 48df8e2..776c815 100644 --- a/crates/churn/src/agent/handlers/scheduled_tasks.rs +++ b/crates/churn/src/agent/handlers/scheduled_tasks.rs @@ -16,19 +16,15 @@ impl ScheduledTasks { ) -> anyhow::Result<()> { tracing::info!("scheduling: {}", task); - // Get plan let plan = Plan::new(); let tasks = plan.tasks().await?; - // For task for task in tasks { - // Check idempotency rules if !task.should_run().await? { tracing::debug!(task = task.id(), "skipping run"); continue; } - // Run task if not valid tracing::info!(task = task.id(), "executing task"); task.execute().await?; }