From f65975975e681ae1880b68ad685b203b06d25192 Mon Sep 17 00:00:00 2001 From: Sergi Blanch Torne Date: Tue, 6 May 2025 12:23:46 +0200 Subject: [PATCH] bin/ci: crnm: columns list when waiting jobs update It's another example of a long list of job names, when the jobs waiting for a status update is printed. The print formatted list can help to present it. Signed-off-by: Sergi Blanch Torne Part-of: --- bin/ci/ci_run_n_monitor.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bin/ci/ci_run_n_monitor.py b/bin/ci/ci_run_n_monitor.py index 7d3e5d03679..407b6a1aa08 100755 --- a/bin/ci/ci_run_n_monitor.py +++ b/bin/ci/ci_run_n_monitor.py @@ -241,11 +241,9 @@ def monitor_pipeline( continue if jobs_waiting: - print_once( - f"{Fore.YELLOW}Waiting for jobs to update status:", - ", ".join(jobs_waiting), - Fore.RESET, - ) + print(f"{Fore.YELLOW}Waiting for jobs to update status:") + print_formatted_list(jobs_waiting, indentation=8) + print(Style.RESET_ALL, end='') pretty_wait(REFRESH_WAIT_JOBS) continue