Repository navigation
Wait for queue validation refs after automated admission - #3
Merged
Merged
Conversation
Signed-off-by: Ian Holloway <72767437+IanHollow@users.noreply.github.com>
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.
A passing Dependabot PR could enter the queue before GitHub published its temporary validation ref. The reconciler read refs once and exited, while GITHUB_TOKEN admission suppressed native merge-group events. Framework PR41 then waited without validation until its queue timeout because scheduled reconciliation was delayed.
Track whether a trusted bot PR is queued and wait up to 55 seconds for the live front entry's ref. Verify the live head through GraphQL so an old ref cannot satisfy readiness for a newer group. Stop promptly if the queue disappears. Keep exact-commit dispatch, required-check verification and the refusal to repeatedly re-admit rejected heads.
Validation: a deterministic API regression fails before the fix. All 30 queue tests pass, including delayed ref visibility, a lingering old ref, cancellation, bounded waiting and empty-queue behavior. Actionlint, pedantic Zizmor, YAML and Ruff checks pass. The live GraphQL read was checked against GitHub. Scheduled reconciliation remains a backup for delays beyond the bound.