chore: version bump to 3.6.0-rc#16098
Open
scotthart wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
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.
| 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"], |
There was a problem hiding this comment.
This change introduces two issues:
- Incorrect Attribute:
cxxoptsis not a valid attribute for the standard Bazelcc_libraryrule; it should becopts(ordefines). Un-commenting this as-is will cause a build failure. - 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"], |
| srcs = [test], | ||
| # TODO(#16079): Remove macro definition when GA. | ||
| # cxxopts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"], | ||
| cxxopts = ["-DGOOGLE_CLOUD_CPP_TESTING_ENABLE_RAB"], |
There was a problem hiding this comment.
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.