Skip to content

chore(bigquery): add Version.java update to release please for telemetry tracking#12314

Merged
ldetmer merged 1 commit intomainfrom
version-update
Mar 31, 2026
Merged

chore(bigquery): add Version.java update to release please for telemetry tracking#12314
ldetmer merged 1 commit intomainfrom
version-update

Conversation

@ldetmer
Copy link
Copy Markdown
Contributor

@ldetmer ldetmer commented Mar 30, 2026

Add the Version.java used by bigquery telemetry to list of files release-please updates the version for. This is used to track the SDK version in span tracing.

@ldetmer ldetmer requested a review from a team as a code owner March 30, 2026 18:43
@ldetmer ldetmer requested a review from diegomarquezp March 30, 2026 18:43
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 adds a BigQuery telemetry version file to the release-please configuration. The reviewer identified that the file path was incorrectly added to the root package configuration instead of the specific java-bigquery section, which is necessary for correct artifact versioning.

Comment on lines +23 to +24
"sdk-platform-java/hermetic_build/library_generation/owlbot/templates/java_library/.kokoro/presubmit/graalvm-native-c.cfg",
"java-bigquery/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/telemetry/Version.java"
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.

high

This file path appears to be added to the wrong section in release-please-config.json. It is currently under the root (.) package configuration, along with general sdk-platform-java files. Since this is a BigQuery-specific file, it should be added to the extra-files list within the java-bigquery package configuration block to ensure it is versioned correctly with other BigQuery artifacts. Please remove it from this section and add it to the java-bigquery section.

        "sdk-platform-java/hermetic_build/library_generation/owlbot/templates/java_library/.kokoro/presubmit/graalvm-native-c.cfg"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think release-please looks in sub modules for configuration, so I believe this is the correct place to make this change

Copy link
Copy Markdown
Contributor

@blakeli0 blakeli0 left a comment

Choose a reason for hiding this comment

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

Can we run release-please locally to make sure it works?

@ldetmer
Copy link
Copy Markdown
Contributor Author

ldetmer commented Mar 31, 2026

Can we run release-please locally to make sure it works?

done, it Versions.java is updated correctly here

@ldetmer ldetmer merged commit 82088a2 into main Mar 31, 2026
100 checks passed
@ldetmer ldetmer deleted the version-update branch March 31, 2026 13:51
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.

3 participants