Skip to content

Commit 5bbfe95

Browse files
authored
Merge branch 'prepare-for-v3.0.0' into v3_otel_v1_24
2 parents 32bba7d + 44b5475 commit 5bbfe95

913 files changed

Lines changed: 1331 additions & 1102 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

MODULE.bazel

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,19 @@ bazel_dep(name = "abseil-cpp", version = "20250814.1")
3030
# a native repository we cannot override.
3131
# See https://github.com/googleapis/google-cloud-cpp/issues/15393
3232
bazel_dep(name = "protobuf", version = "33.1", repo_name = "com_google_protobuf")
33-
bazel_dep(name = "boringssl", version = "0.20241024.0")
34-
bazel_dep(name = "nlohmann_json", version = "3.11.3")
33+
bazel_dep(name = "boringssl", version = "0.20251124.0")
34+
bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1")
3535
bazel_dep(name = "curl", version = "8.8.0.bcr.3")
3636
bazel_dep(name = "opentelemetry-cpp", version = "1.24.0")
3737
bazel_dep(name = "rules_proto", version = "7.1.0")
3838
bazel_dep(name = "rules_python", version = "1.6.3")
3939
bazel_dep(name = "rules_apple", version = "4.3.2")
40-
bazel_dep(name = "googletest", version = "1.17.0")
40+
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
4141

4242
bazel_dep(name = "google_benchmark", version = "1.9.4", dev_dependency = True, repo_name = "com_google_benchmark")
4343
bazel_dep(name = "yaml-cpp", version = "0.8.0", dev_dependency = True, repo_name = "com_github_jbeder_yaml_cpp")
4444
bazel_dep(name = "pugixml", version = "1.15", dev_dependency = True, repo_name = "com_github_zeux_pugixml")
4545

46-
# Our `curl.BUILD` file uses these.
47-
bazel_dep(name = "zlib", version = "1.3.1.bcr.7")
48-
bazel_dep(name = "c-ares", version = "1.34.5.bcr.2", repo_name = "com_github_cares_cares")
49-
5046
# Pin this to fix a break in bazel/deps-cache.py
5147
bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.2", dev_dependency = True, repo_name = "com_envoyproxy_protoc_gen_validate")
5248

ci/cloudbuild/builds/checkers.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,6 @@ time {
9494
xargs -r -P "$(nproc)" -n 50 -0 awk -f "ci/check-include-guards.gawk"
9595
}
9696

97-
# TODO(#4501) - this fixup can be removed if #include <absl/...> works
98-
# Apply transformations to fix errors on MSVC+x86. See the bug for a detailed
99-
# explanation as to why this is needed:
100-
# https://github.com/googleapis/google-cloud-cpp/issues/4501
101-
# This should run before clang-format because it might alter the order of any
102-
# includes.
103-
printf "%-50s" "Running Abseil header fixes:" >&2
104-
time {
105-
expressions=("-e" "'s;#include \"absl/strings/str_\(cat\|replace\|join\).h\";#include \"google/cloud/internal/absl_str_\1_quiet.h\";'")
106-
(git grep -zEl '#include "absl/strings/str_(cat|replace|join).h"' -- '*.h' '*.cc' ':!google/cloud/internal/absl_str_*quiet.h' || true) |
107-
xargs -r -P "$(nproc)" -n 50 -0 bash -c "sed_edit ${expressions[*]} \"\$0\" \"\$@\""
108-
}
109-
11097
# Apply several transformations that cannot be enforced by clang-format:
11198
# - Replace any #include for grpc++/* with grpcpp/*. The paths with grpc++
11299
# are obsoleted by the gRPC team, so we should not use them in our code.

ci/cloudbuild/builds/lib/quickstart.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,16 @@ function quickstart::build_one_quickstart() {
8989
# quickstart::build_cmake_and_make "/usr/local"
9090
# quickstart::run_cmake_and_make "/usr/local"
9191
function quickstart::run_cmake_and_make() {
92+
io::run ulimit -c unlimited
93+
io::run ulimit -a
9294
local prefix="$1"
9395
for lib in $(quickstart::libraries); do
9496
io::log_h2 "Running quickstart: ${lib}"
9597
mapfile -t run_args < <(quickstart::arguments "${lib}")
9698
quickstart::run_one_quickstart "${prefix}" "${lib}" "${run_args[@]}"
9799
done
100+
101+
io::run find . -name '*core*'
98102
}
99103

100104
function quickstart::run_gcs_grpc_quickstart() {
@@ -104,7 +108,12 @@ function quickstart::run_gcs_grpc_quickstart() {
104108

105109
io::log "[ CMake ]"
106110
local cmake_bin_dir="${PROJECT_ROOT}/cmake-out/quickstart/cmake-storage_grpc"
107-
"${cmake_bin_dir}/quickstart_grpc" "${run_args[@]}"
111+
112+
if command -v /usr/bin/valgrind >/dev/null 2>&1; then
113+
io::run valgrind --leak-check=full "${cmake_bin_dir}/quickstart_grpc" "${run_args[@]}"
114+
else
115+
io::run env MALLOC_CHECK_=3 "${cmake_bin_dir}/quickstart_grpc" "${run_args[@]}"
116+
fi
108117

109118
# echo
110119
# io::log "[ Make ]"

generator/generator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
#include "generator/internal/descriptor_utils.h"
1818
#include "generator/internal/generator_interface.h"
1919
#include "generator/internal/make_generators.h"
20-
#include "google/cloud/internal/absl_str_cat_quiet.h"
2120
#include "google/cloud/internal/algorithm.h"
2221
#include "google/cloud/internal/filesystem.h"
2322
#include "google/cloud/status_or.h"
23+
#include "absl/strings/str_cat.h"
2424
#include "absl/strings/str_split.h"
2525
#include "google/api/client.pb.h"
2626
#include <future>

generator/integration_tests/golden/v1/internal/deprecated_metadata_decorator.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
// source: generator/integration_tests/test_deprecated.proto
1818

1919
#include "generator/integration_tests/golden/v1/internal/deprecated_metadata_decorator.h"
20+
#include "absl/strings/str_cat.h"
21+
#include "absl/strings/str_join.h"
2022
#include "google/cloud/grpc_options.h"
21-
#include "google/cloud/internal/absl_str_cat_quiet.h"
2223
#include "google/cloud/internal/api_client_header.h"
2324
#include "google/cloud/internal/url_encode.h"
2425
#include "google/cloud/status_or.h"

generator/integration_tests/golden/v1/internal/deprecated_rest_metadata_decorator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
// source: generator/integration_tests/test_deprecated.proto
1818

1919
#include "generator/integration_tests/golden/v1/internal/deprecated_rest_metadata_decorator.h"
20+
#include "absl/strings/str_cat.h"
2021
#include "absl/strings/str_format.h"
21-
#include "google/cloud/internal/absl_str_cat_quiet.h"
2222
#include "google/cloud/internal/api_client_header.h"
2323
#include "google/cloud/internal/rest_set_metadata.h"
2424
#include "google/cloud/status_or.h"

generator/integration_tests/golden/v1/internal/deprecated_rest_stub.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
// source: generator/integration_tests/test_deprecated.proto
1818

1919
#include "generator/integration_tests/golden/v1/internal/deprecated_rest_stub.h"
20+
#include "absl/strings/str_cat.h"
2021
#include "google/cloud/common_options.h"
21-
#include "google/cloud/internal/absl_str_cat_quiet.h"
2222
#include "google/cloud/internal/rest_stub_helpers.h"
2323
#include "google/cloud/status_or.h"
2424
#include "generator/integration_tests/test_deprecated.pb.h"

generator/integration_tests/golden/v1/internal/golden_kitchen_sink_metadata_decorator.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
// source: generator/integration_tests/test.proto
1818

1919
#include "generator/integration_tests/golden/v1/internal/golden_kitchen_sink_metadata_decorator.h"
20+
#include "absl/strings/str_cat.h"
21+
#include "absl/strings/str_join.h"
2022
#include "google/cloud/grpc_options.h"
21-
#include "google/cloud/internal/absl_str_cat_quiet.h"
22-
#include "google/cloud/internal/absl_str_join_quiet.h"
2323
#include "google/cloud/internal/api_client_header.h"
2424
#include "google/cloud/internal/routing_matcher.h"
2525
#include "google/cloud/internal/url_encode.h"

generator/integration_tests/golden/v1/internal/golden_kitchen_sink_rest_metadata_decorator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
// source: generator/integration_tests/test.proto
1818

1919
#include "generator/integration_tests/golden/v1/internal/golden_kitchen_sink_rest_metadata_decorator.h"
20+
#include "absl/strings/str_cat.h"
2021
#include "absl/strings/str_format.h"
21-
#include "google/cloud/internal/absl_str_cat_quiet.h"
2222
#include "google/cloud/internal/api_client_header.h"
2323
#include "google/cloud/internal/rest_set_metadata.h"
2424
#include "google/cloud/internal/routing_matcher.h"

generator/integration_tests/golden/v1/internal/golden_kitchen_sink_rest_stub.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
// source: generator/integration_tests/test.proto
1818

1919
#include "generator/integration_tests/golden/v1/internal/golden_kitchen_sink_rest_stub.h"
20+
#include "absl/strings/str_cat.h"
2021
#include "google/cloud/common_options.h"
21-
#include "google/cloud/internal/absl_str_cat_quiet.h"
2222
#include "google/cloud/internal/rest_stub_helpers.h"
2323
#include "google/cloud/status_or.h"
2424
#include "generator/integration_tests/test.pb.h"

0 commit comments

Comments
 (0)