Skip to content

[testing] ci: fix unmanaged dependency check#12924

Closed
chingor13 wants to merge 25 commits intomainfrom
fix-unmanaged-dep-check
Closed

[testing] ci: fix unmanaged dependency check#12924
chingor13 wants to merge 25 commits intomainfrom
fix-unmanaged-dep-check

Conversation

@chingor13
Copy link
Copy Markdown
Contributor

No description provided.

@chingor13 chingor13 force-pushed the fix-unmanaged-dep-check branch from b14b15f to 448167b Compare April 24, 2026 17:08
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates project versions to snapshots and synchronizes x-version-update tags across the repository. Feedback identifies inconsistencies in the version update tags within the Access Context Manager and Analytics Admin modules, where tags used for parent versions or dependencies do not match the definitions in the corresponding BOMs or other modules in the same library. These discrepancies should be resolved to ensure reliable automation for future updates.

<artifactId>google-identity-accesscontextmanager-parent</artifactId>
<version>1.92.0</version><!-- {x-version-update:proto-google-identity-accesscontextmanager-v1:current} -->
<version>1.93.0-SNAPSHOT</version><!-- {x-version-update:proto-google-identity-accesscontextmanager-v1:current} -->
</parent>
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.

medium

The version update tag for the parent version is inconsistent with other modules in this library. It should use the main library tag google-identity-accesscontextmanager instead of the specific v1 proto tag.

    <version>1.93.0-SNAPSHOT</version><!-- {x-version-update:google-identity-accesscontextmanager:current} -->

<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-identity-accesscontextmanager-type</artifactId>
<version>1.92.0</version><!-- {x-version-update:proto-google-identity-accesscontextmanager-v1:current} -->
<version>1.93.0-SNAPSHOT</version><!-- {x-version-update:proto-google-identity-accesscontextmanager-v1:current} -->
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.

medium

The version update tag for the proto-google-identity-accesscontextmanager-type dependency should be aligned with the tag used in the artifact's own POM and the BOM to ensure consistent updates.

Suggested change
<version>1.93.0-SNAPSHOT</version><!-- {x-version-update:proto-google-identity-accesscontextmanager-v1:current} -->
<version>1.93.0-SNAPSHOT</version><!-- {x-version-update:proto-google-identity-accesscontextmanager-type:current} -->

<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-analytics-admin-v1alpha</artifactId>
<version>0.101.0</version><!-- {x-version-update:proto-google-analytics-admin-v1alpha:current} -->
<version>0.102.0-SNAPSHOT</version><!-- {x-version-update:proto-google-analytics-admin-v1alpha:current} -->
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.

medium

The version update tag for this artifact (google-analytics-admin) is inconsistent with its definition in the BOM (proto-google-analytics-admin-v1alpha). This systematic inconsistency should be corrected to ensure all occurrences of the version are updated correctly by automation tools.

@sonarqubecloud
Copy link
Copy Markdown

@sonarqubecloud
Copy link
Copy Markdown

@chingor13 chingor13 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 24, 2026
@chingor13 chingor13 changed the title ci: fix unmanaged dependency check [testing] ci: fix unmanaged dependency check Apr 24, 2026
blakeli0 pushed a commit that referenced this pull request Apr 24, 2026
Fixes #12704

The current checks are not installing all the required modules from the
repository -- this fixes the installation of the scripts especially when
the versions referenced are all -SNAPSHOT versions. Tested against the
release-please version bumps in
#12924
@chingor13 chingor13 closed this Apr 24, 2026
@chingor13 chingor13 deleted the fix-unmanaged-dep-check branch April 24, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant