Repository navigation
fix(ci): Report Acceptance on every label event - #131904
Merged
Merged
Conversation
A label event that isn't the override label started a run whose jobs all skipped and whose aggregator reported as `Acceptance (ignored label event)`. When that run was the newest acceptance run on a commit, the merge box kept waiting for `Acceptance`, even though an older run on the same commit passed. Re-running the older run didn't unblock it. Label events now run like any other pull_request event and report `Acceptance`, the same way backend.yml handles them. Refs DI-2885 Co-Authored-By: Joshua Li <[email protected]>
joshuarli
approved these changes
Nov 19, 2026
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.
Since #131408, a label event other than
Trigger: Override Selective Testingstarts an acceptance run where every job skips and the aggregator reports asAcceptance (ignored label event). If that run is the newest acceptance run on a commit, the merge box keeps waiting for the requiredAcceptancecheck, even though an older run on the same commit passed. Re-running the older run doesn't help, because it is still not the newest run.This hits PRs where a person adds a label after the last push. The common case is Seer and bot PRs that need
Trigger: getsentry testsadded again after each push. #131004, reported by @gggritso, is one example:Acceptancepassed twice on its head commit, the PR is approved, and it still shows as blocked. #131456 shows the same pattern.This change handles label events the way
backend.ymlalready does:Acceptance.The override label keeps working, because
skip_selective_testingstill reads the PR's labels.Trade-off: each manual label added to a PR now starts a selective acceptance run and cancels any run in progress, just like backend. #131408 used the ignored-label path to avoid that cost.
Open question: the claim that the merge box only counts the newest run per workflow is inferred from the check and merge state of the PRs above, not from GitHub docs.
Refs DI-2885
via @joshuarli.
--
View Session [Sentry]