From 5d293f01cc718af0ea5db3309605cf49dcbf8cca Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 1 Feb 2024 18:45:59 +0000 Subject: [PATCH] ci_run_n_monitor: avoid spamming a ton of "new status: created" for all the jobs at the beginning Part-of: --- bin/ci/ci_run_n_monitor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/ci/ci_run_n_monitor.py b/bin/ci/ci_run_n_monitor.py index 63fcb6ffb8a..6d5a2153435 100755 --- a/bin/ci/ci_run_n_monitor.py +++ b/bin/ci/ci_run_n_monitor.py @@ -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: