Repository navigation
shepherd: Azure's "Skipped due to merge conflicts" no longer holds ci-gate (#7673) - #7732
Merged
Merged
Conversation
…-gate (#7673) azure-pipelines.yml has `pr: none`, so Azure never validates a PR; on a PR it sees as conflicting it still posts action_required "Skipped due to merge conflicts" and never replaces it. After #7673's conflict was fixed, that run held ci-gate red with all 37 other checks green, and only a new head freed it. pr_check.classify now treats action_required from an app in NO_PR_APPS as neutral (a conflict is read from mergeable_state); an Actions action_required and a real Azure failure still fail. Replayed on #7673's stuck head 4a1c61e: 53 runs, failed [] (was the Azure run). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
pr_check.classify, which both the shepherd'sci-gateand its digest use, now treats anaction_requiredcheck run from an app inNO_PR_APPS(azure-pipelines) as neutral:action_required, such as a workflow waiting for approval, still fails.failurestill fails.Why
azure-pipelines.ymlsetspr: none, so Azure never validates a pull request. Even so, when a PR looks conflicting it postsaction_requiredwith the title "Skipped due to merge conflicts", and it never replaces that run.On #7673 the conflict was fixed by a merge of main and a retarget off its merged stacked base. That stale run then held
ci-gatered, with all 37 other checks green. The digest triaged itreal, becauseci_digest.triageexcusesaction_requiredonly whilemergeable_state == "dirty". Only pushing a new head freed the PR. A real conflict is already reported frommergeable_state("failing: merge conflict"), so ignoring this run loses nothing.Replayed on #7673's stuck head
4a1c61e, using its 53 real check runs from the API:Before this change,
failedheld that run.Class / Sibling gaps
action_requiredsourcepr: none), conflict skipfailureNO_PR_APPSwith its reasonChecks
test_pr_check.py: the Azure skip is neutral, an Actionsaction_requiredfails, an Azure failure fails, andfailed_namesdrops the skip.test_pr_check.py,test_shepherd_gh.py,test_ci_digest.py,test_ci_shepherd.py: 288 passed.pr_gates.py --only xray derived lint: 3/3.This is shepherd logic (
tests/tools/pr_check.py, read byshepherd_gh.py). The owner asked for it in-session ("lets just fix it now").🤖 Generated with Claude Code