From e2acf0934b9af5c09504d626889db8ddfdbc43f7 Mon Sep 17 00:00:00 2001 From: Sergi Blanch Torne Date: Mon, 15 Sep 2025 21:59:24 +0200 Subject: [PATCH] ci,marge_queue: protect form transient errors Use the parameter retry_transient_errors on the GitLab object creation to protect the script from transient errors that can be well handled. Signed-off-by: Sergi Blanch Torne Part-of: --- bin/ci/marge_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ci/marge_queue.py b/bin/ci/marge_queue.py index fe0f338d6e4..557cd027e3d 100755 --- a/bin/ci/marge_queue.py +++ b/bin/ci/marge_queue.py @@ -155,7 +155,7 @@ def get_merge_queue(project: Project) -> MargeQueue: def main(): args = parse_args() token = read_token(args.token) - gl = gitlab.Gitlab(url="https://gitlab.freedesktop.org", private_token=token) + gl = gitlab.Gitlab(url="https://gitlab.freedesktop.org", private_token=token, retry_transient_errors=True) project = gl.projects.get("mesa/mesa")