Repository navigation
ci(repo): post the entity check comment from the org runner group - #3257
Open
VelikovPetar wants to merge 2 commits into
Open
VelikovPetar wants to merge 2 commits into
VelikovPetar wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been 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.
Submit a pull request
Linear: none
Github Issue: none
CLA
Description of the pull request
Since #3256,
check_entity_modificationsruns onubuntu-latest, but it still posted the PR comment itself. Commenting is a signed-in GitHub call, which the org IP allow list refuses from a standard runner, so the check failed on every PR from this repository that modifies a persistence entity file (seen on #3052: the script passed, thenFind Commentfailed).The job is now split the way
sdk_size.ymlsplitsmeasure-androidandreport-android:check_entity_modificationsstays onubuntu-latest. It runs the script, writes the job summary, uploadscomment_body.mdas an artifact and enforces theschemaVersionbump, so the check's result follows the script only. A failed upload does not fail it.commentis a new job in thegithub-public-amd64group. It downloads the artifact and posts or updates the comment. It also runs when the check job failed on a missing bump, and is skipped for forks, when no entity file changed and when no comment body was uploaded.issues: writeandpull-requests: writemove from the workflow to thecommentjob.Testing: live-tested on throwaway PRs stacked on this branch (#3258, #3259, both closed):
check_entity_modificationscommentNot tested: a fork PR (the same-repo guard is unchanged).
🤖 Generated with Claude Code