Skip to content

chore: version bump to 3.6.0-rc#16098

Open
scotthart wants to merge 1 commit into
googleapis:mainfrom
scotthart:release_202605_version_bump
Open

chore: version bump to 3.6.0-rc#16098
scotthart wants to merge 1 commit into
googleapis:mainfrom
scotthart:release_202605_version_bump

Conversation

@scotthart
Copy link
Copy Markdown
Member

No description provided.

@scotthart scotthart requested a review from a team as a code owner May 14, 2026 23:46
Copy link
Copy Markdown

@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 the project version from 3.5.0 to 3.6.0-rc across the changelog, CMake, Bazel, and internal version headers. It also attempts to enable the GOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB macro in the Bazel build files. Feedback from the reviewer indicates that the use of cxxopts is incorrect for Bazel's cc_library rule and should be changed to copts to avoid build failures. Furthermore, enabling this macro contradicts the associated TODO comments which advise removing the definition rather than enabling it.

Comment thread google/cloud/BUILD.bazel
hdrs = google_cloud_cpp_rest_internal_hdrs,
# TODO(#16079): Remove macro definition when GA.
# cxxopts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"],
cxxopts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

This change introduces two issues:

  1. Incorrect Attribute: cxxopts is not a valid attribute for the standard Bazel cc_library rule; it should be copts (or defines). Un-commenting this as-is will cause a build failure.
  2. TODO Contradiction: The TODO on line 240 says "Remove macro definition when GA". Un-commenting this line adds the definition to the build, which is the opposite of removing it. If the feature is ready for GA, this line and the TODO should likely be deleted instead of enabled.
Suggested change
cxxopts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"],
copts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"],

Comment thread google/cloud/BUILD.bazel
srcs = [test],
# TODO(#16079): Remove macro definition when GA.
# cxxopts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"],
cxxopts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

Similar to the issue on line 241, cxxopts is an invalid attribute name (should be copts) and un-commenting it contradicts the TODO to remove the definition.

Suggested change
cxxopts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"],
copts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"],

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.

1 participant