Skip to content

fix(scripts): replace infinite CI watch loop with retry and fail-fast - #27

Merged
geopanther merged 1 commit into
mainfrom
fix/prepare-release-ci-watch
May 8, 2026
Merged

fix(scripts): replace infinite CI watch loop with retry and fail-fast#27
geopanther merged 1 commit into
mainfrom
fix/prepare-release-ci-watch

Conversation

@geopanther

Copy link
Copy Markdown
Owner

The while ! gh pr checks --watch loop in prepare-release.sh had two issues:

  1. Looped forever when checks genuinely failed (non-zero exit = retry)
  2. Spun every 2s printing "no checks" until GitHub registered them

Replace with a 60s retry loop waiting for checks to appear, then a single
gh pr checks --watch --fail-fast that exits immediately on failure.

@geopanther
geopanther merged commit 15e9261 into main May 8, 2026
5 checks passed
@geopanther
geopanther deleted the fix/prepare-release-ci-watch branch May 13, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant