Skip to content

fix(autoupdate): robust wait-for-checks logic before merge#17

Draft
siarheidudko wants to merge 1 commit into
mainfrom
claude/migrate-and-verify-Tvl9e
Draft

fix(autoupdate): robust wait-for-checks logic before merge#17
siarheidudko wants to merge 1 commit into
mainfrom
claude/migrate-and-verify-Tvl9e

Conversation

@siarheidudko
Copy link
Copy Markdown
Member

Summary

  • Fix false-positive exit from the "wait for checks" loop: grep -c '\S' matched the "no checks reported on the '...' branch" message before any real check runs were registered, causing the loop to break prematurely
  • Replace with grep -cE 'https?://' — only actual check run entries contain a URL
  • Add || true after gh pr checks --watch to prevent step abort on non-zero exit
  • Add explicit failure gate before merge
  • Increase polling retries from 10 to 20

Test plan

  • Merge this PR to main
  • Verify next autoupdate run auto-merges the PR after checks pass

Generated by Claude Code

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