FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ci(generation): skip files inheriting coordinates in release check by meltsufin · Pull Request #12850 · googleapis/google-cloud-java · GitHub

ci(generation): skip files inheriting coordinates in release check - #12850

Merged
meltsufin merged 3 commits into
mainfrom
fix-release-check-inheritance
Apr 20, 2026
Merged

ci(generation): skip files inheriting coordinates in release check#12850
meltsufin merged 3 commits into
mainfrom
fix-release-check-inheritance

Conversation

Copy link
Copy Markdown
Contributor

Fixes #12840

meltsufin requested a review from a team as a code owner April 18, 2026 03:40

gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Code Review

This pull request updates the check_existing_release_versions.sh script to skip POM files that lack explicit group_id or version declarations, treating them as inheriting coordinates rather than errors. Feedback suggests reordering the validation logic to ensure the mandatory artifact_id is checked first, preventing the script from incorrectly skipping malformed files, and improving the formatting of error messages.

exit 1
fi
if [ -z "${group_id}" ] || [ -z "${version}" ]; then
echo "Skipping file without explicit coordinates (likely inherits): $pom_file"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This will skip the case where group ID is inherited and version is wrong.

suztomo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This will skip the case where group ID is inherited and version is wrong.

This is a corner case not worth implementing artifact inheritance resolution.

meltsufin enabled auto-merge (squash) April 20, 2026 16:07
meltsufin merged commit 4e566af into main Apr 20, 2026
110 checks passed
meltsufin deleted the fix-release-check-inheritance branch April 20, 2026 17:24
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

existing-versions-check failed in release PR

3 participants


Back | FazBrowse Home | New Git URL