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:
parent
c4afecfb28
commit
95eb133c17
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue