diff --git a/app/services/run_service.py b/app/services/run_service.py index 489fd52..8a20c4c 100644 --- a/app/services/run_service.py +++ b/app/services/run_service.py @@ -295,9 +295,9 @@ class RunService: if any(r.get("run_id") == run_id for r in completed_runs): continue - # Get live status + # Get live status - include pending, running, and failed runs run = await self.get_run(run_id) - if run and run.get("status") in ("pending", "running"): + if run and run.get("status") in ("pending", "running", "failed"): pending.append(run) # Combine and sort