Repository navigation
Add a shared pull request report publisher - #29603
Merged
Merged
Conversation
zanieb
commented
Oct 22, 2026
zanieb
commented
Oct 22, 2026
zanieb
commented
Oct 22, 2026
zanieb
force-pushed
the
zb/automation-report-index
branch
from
October 22, 2026 05:37
0de4fb7 to
617b469
Compare
zanieb
enabled stacked auto-merge (squash)
October 22, 2026 05:42
stacked auto-merge was automatically disabled
October 22, 2026 05:43
Auto-merge was disabled for another pull request in the stack
zanieb
enabled stacked auto-merge (squash)
October 22, 2026 05:45
stacked auto-merge was automatically disabled
October 22, 2026 05:49
Auto-merge was disabled for another pull request in the stack
zanieb
added a commit
that referenced
this pull request
Oct 22, 2026
Ruff ecosystem report comments currently depend on `astral-sh-bot`. Publish `ecosystem-result` after the CI ecosystem job using the shared STS publisher in #29603. Comment IDs come exclusively from the key-value store. This handles same-repository pull requests, including runs that upload a report before failing. --------- Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
This branch was previously deployed
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.
Add
publish-pull-request-report.ymlas a shared publisher for automation reports, using STS for GitHub writes and the KV actions for comment IDs. Store IDs inpull-requestscope so later runs can update the same report.Look up each stored ID directly and verify the bot, PR, marker, and run metadata. When a report is published, missing or expired keys create a new comment without scanning existing comments; deleted comments are replaced. Malformed IDs, IDs belonging to another comment, and KV errors fail the job. The publisher verifies the source run and current PR head before writing; report workflows enable it separately.