From 45df652d0b24ddc2581eca072a226be4a1e1c3cb Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 5 Feb 2024 23:20:06 +0000 Subject: [PATCH] ci_run_n_monitor: refresh job state when starting it Avoids job staying in 'manual' state and making the script think there's nothing left running. Part-of: --- bin/ci/ci_run_n_monitor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/ci/ci_run_n_monitor.py b/bin/ci/ci_run_n_monitor.py index ad9cb8e6a15..795f7a1ea53 100755 --- a/bin/ci/ci_run_n_monitor.py +++ b/bin/ci/ci_run_n_monitor.py @@ -221,6 +221,7 @@ def enable_job( job = get_pipeline_job(pipeline, new_job["id"]) else: pjob.play() + job = get_pipeline_job(pipeline, pjob.id) if action_type == "target": jtype = "🞋 "