Fix stale pull request merge revisions - #13
Merged
Conversation
gjkim42
marked this pull request as ready for review
August 9, 2026 23:15
Collaborator
Author
|
/kelos claude-review |
|
🤖 Kelos Task Status Task |
|
🤖 Open Actions Claude Reviewer Agent @gjkim42 Review SummaryVerdict: APPROVE Findings Overview
FindingsDocumentation
Code quality
Tests
Key takeaways
|
Collaborator
Author
|
/kelos claude-review |
|
🤖 Kelos Task Status Task |
gjkim42
force-pushed
the
agent/resolve-latest-pr-merge
branch
from
August 10, 2026 00:00
75f259a to
559bb5f
Compare
gjkim42
force-pushed
the
agent/resolve-latest-pr-merge
branch
from
August 10, 2026 00:03
559bb5f to
e0e5141
Compare
gjkim42
enabled auto-merge
August 10, 2026 00:04
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.
Summary
refs/pull/<number>/mergeref for every open pull request event.Root cause
GitHub can deliver a
synchronizewebhook before itspull_request.merge_commit_shafield catches up. In #9, the event identified the current pull request head, but Open Actions copied an older payload merge SHA into the WorkflowRun. The runner therefore checked out the prior revision and did not see the latest workflow changes.Impact
Open pull request workflows now run against the merge revision built from the event head. Superseded deliveries cannot poll indefinitely, and an accepted revision cannot change midway through delivery processing. This uses the existing GitHub App
Contents: readpermission; no additional permission is required.Validation
make verifymake test