Skip to content

shepherd: Azure's "Skipped due to merge conflicts" no longer holds ci-gate (#7673) - #7732

Merged
squid-protocol merged 1 commit into
mainfrom
ci/stale-azure-conflict-check
Nov 4, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
ci/stale-azure-conflict-check

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

pr_check.classify, which both the shepherd's ci-gate and its digest use, now treats an action_required check run from an app in NO_PR_APPS (azure-pipelines) as neutral:

  • A GitHub Actions action_required, such as a workflow waiting for approval, still fails.
  • A real Azure failure still fails.

Why

azure-pipelines.yml sets pr: none, so Azure never validates a pull request. Even so, when a PR looks conflicting it posts action_required with 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-gate red, with all 37 other checks green. The digest triaged it real, because ci_digest.triage excuses action_required only while mergeable_state == "dirty". Only pushing a new head freed the PR. A real conflict is already reported from mergeable_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:

53 runs; failed: []
neutral: ['squid-protocol.gitgalaxy (skipped by an app that does not validate pull requests)']

Before this change, failed held that run.

Class / Sibling gaps

action_required source Verdict
Azure Pipelines (pr: none), conflict skip neutral (this PR)
GitHub Actions (a workflow awaiting approval) still failed (pinned by the new test)
Azure failure still failed (pinned)
Other apps that never validate PRs none known; add a slug to NO_PR_APPS with its reason

Checks

  • New test in test_pr_check.py: the Azure skip is neutral, an Actions action_required fails, an Azure failure fails, and failed_names drops 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 by shepherd_gh.py). The owner asked for it in-session ("lets just fix it now").

🤖 Generated with Claude Code

…-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]>
@squid-protocol
squid-protocol merged commit 2537e3f into main Nov 4, 2026
33 checks passed
@squid-protocol
squid-protocol deleted the ci/stale-azure-conflict-check branch November 4, 2026 20:43
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