Skip to content

chore: version bump to 3.6.0-rc#16098

Merged
scotthart merged 1 commit into
googleapis:mainfrom
scotthart:release_202605_version_bump
May 15, 2026
Merged

chore: version bump to 3.6.0-rc#16098
scotthart merged 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"],

@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.69%. Comparing base (e5d585c) to head (7672ee0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16098   +/-   ##
=======================================
  Coverage   92.69%   92.69%           
=======================================
  Files        2353     2353           
  Lines      218328   218354   +26     
=======================================
+ Hits       202386   202414   +28     
+ Misses      15942    15940    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@scotthart scotthart merged commit cf931ff into googleapis:main May 15, 2026
53 of 59 checks passed
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.

2 participants