From 71397fb49db326bfd59b2bf80daed815b91aa541 Mon Sep 17 00:00:00 2001 From: leemour Date: Wed, 25 Nov 2026 02:20:05 +0100 Subject: [PATCH] chore(release): bin/release waits up to 5 minutes for the release PR's first check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BUG-815: at 02:15 on 25.11 the checks of #3330 registered after the 60 s wait, gh pr checks --watch saw none and exited 1, and the release stopped with «checks failed», nothing published. Co-Authored-By: Claude Opus 5.5 --- bin/release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/release b/bin/release index f0c5095c1..074420dad 100755 --- a/bin/release +++ b/bin/release @@ -68,8 +68,8 @@ land() { git push -q origin "$branch" git switch -q main pr=$(gh pr create --base main --head "$branch" --title "$title" --body "$body") - # Checks register a few seconds after the pull request; --watch with none exits at once. - for _ in $(seq 30); do + # Checks register after the pull request, a minute or more when Actions is busy; --watch with none exits at once. + for _ in $(seq 150); do [ "$(gh pr checks "$pr" --required --json name --jq length 2>/dev/null || echo 0)" -gt 0 ] && break sleep 2 done