ci_run_n_monitor: avoid spamming a ton of "new status: created" for all the jobs at the beginning

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27419>
This commit is contained in:
Eric Engestrom
2024-02-01 18:45:59 +00:00
committed by Marge Bot
parent 6250885640
commit 5d293f01cc

View File

@@ -65,6 +65,9 @@ def print_job_status(job, new_status=False) -> None:
if job.status == "canceled":
return
if new_status and job.status == "created":
return
if job.duration:
duration = job.duration
elif job.started_at: