Skip to content

fixed reopening of PRs created from forked repo and cancelled jobs#166

Merged
raeessap merged 4 commits into
SAP:sapfrom
raeesorg:sap
Jul 6, 2026
Merged

fixed reopening of PRs created from forked repo and cancelled jobs#166
raeessap merged 4 commits into
SAP:sapfrom
raeesorg:sap

Conversation

@raeessap

@raeessap raeessap commented Jul 6, 2026

Copy link
Copy Markdown

the polling logic was correct but the problem is how the results are attached to the PR. There was no new commit, github does not recreate or relink a check suite for the unchanged head commit. So they landed in orphaned or older actions checks and GitHub will no longer associate with the reopened PR.
So I will implement a new logic and that is to mirror results as commit statuses instead of check runs. commit statuses are keyed purely by SHA + context with no check-suite/PR-association step, so they always re-appear on a PR head SHA including after a reopen with no new push

@raeessap raeessap requested a review from RealCLanger July 6, 2026 13:06
@raeessap raeessap merged commit 11afcc7 into SAP:sap Jul 6, 2026
1 of 6 checks passed
raeessap added a commit that referenced this pull request Jul 7, 2026
* Poll GitHub Actions results from forked repositories as PR checks (#164)

* fixed reopening of PRs created from forked repo and cancelled jobs (#166)

* added hyperlink to the cancelled mirror jobs and update checks message (#170)
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.

2 participants