From 98adeee7eee95fe7e22a9b9c415351d9e09fd467 Mon Sep 17 00:00:00 2001 From: Simon Strandgaard Date: Sat, 28 Feb 2026 18:24:40 +0100 Subject: [PATCH] set progress to 100 on completion --- worker_plan_database/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/worker_plan_database/app.py b/worker_plan_database/app.py index 3cef419c..d524f79a 100644 --- a/worker_plan_database/app.py +++ b/worker_plan_database/app.py @@ -755,6 +755,7 @@ def execute_pipeline_for_job( with app.app_context(): if pipeline_instance.has_report_file: update_task_state_with_retry(task_id, PlanState.completed) + update_task_progress_with_retry(task_id, 100.0, "Completed") billing_result = _charge_usage_credits_once(task_id=task_id, run_id_dir=run_id_dir, success=True) event_context.update({ "billing_usage_cost_usd": str(billing_result["usage_cost_usd"]),