Skip to content

Fix auto-merge premature evaluation by waiting for all check suites t…#2025

Merged
hiroshinishio merged 1 commit intomainfrom
wes
Dec 30, 2025
Merged

Fix auto-merge premature evaluation by waiting for all check suites t…#2025
hiroshinishio merged 1 commit intomainfrom
wes

Conversation

@hiroshinishio
Copy link
Copy Markdown
Collaborator

…o complete

  • Created get_check_suites() to fetch all check suites for a commit
  • Created get_required_status_checks() to get required checks from branch protection
  • Updated successful_check_suite_handler to check all suites completed before proceeding
  • Use required checks from branch protection if available, otherwise wait for all non-queued suites
  • Raise RuntimeError with detailed context instead of silent returns
  • Add comprehensive test coverage for new functions

…o complete

- Created get_check_suites() to fetch all check suites for a commit
- Created get_required_status_checks() to get required checks from branch protection
- Updated successful_check_suite_handler to check all suites completed before proceeding
- Use required checks from branch protection if available, otherwise wait for all non-queued suites
- Raise RuntimeError with detailed context instead of silent returns
- Add comprehensive test coverage for new functions
@hiroshinishio hiroshinishio merged commit 6d69011 into main Dec 30, 2025
1 check passed
@hiroshinishio hiroshinishio deleted the wes branch December 30, 2025 11:49
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