marge/pipeline_message: consider any job that hasn't succeded as problematic

That includes jobs that are still running past the timeout, and jobs
that are waiting on a manual action.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39815>
This commit is contained in:
Eric Engestrom 2026-02-10 18:55:05 +01:00 committed by Marge Bot
parent c4afecfb28
commit 95eb133c17

View file

@ -50,7 +50,7 @@ def get_problem_jobs(jobs: list[dict[str, Any]]):
for job in jobs:
if any(ignore.lower() in job["stage"] for ignore in ignore_stage_list):
continue
if job["status"] in {"failed", "canceled"}:
if job["status"] != "success":
problem_jobs.append(job)
return problem_jobs