build(deps): update Bazel dependencies and pin Bazel 9.1.1 - #332
Conversation
|
🎯 Code Coverage (details) 🔗 Commit SHA: 1c7a5a5 | Docs | Datadog PR Page | Give us feedback! |
BenchmarksBenchmark execution time: 2026-07-30 19:03:54 Comparing candidate commit 1c7a5a5 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 0 unstable metrics.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9529171f68
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| ) | ||
|
|
||
| bazel_dep(name = "abseil-cpp", version = "20260107.1", repo_name = "com_google_absl") | ||
| bazel_dep(name = "abseil-cpp", version = "20260526.0", repo_name = "com_google_absl") |
There was a problem hiding this comment.
Avoid requiring an unpinned Bazel upgrade
In builds that run Bzlmod with Bazel <8.6.0 (or pre-9.1.0 on the 9.x line), Abseil 20260526.0 is a known-bad release because its upstream MODULE.bazel removed compatibility_level; Abseil's release notes say those Bazel versions fail and recommend upgrading Bazel. This repo does not pin Bazel, and the Bazel job in .github/workflows/dev.yml invokes bazelisk --bazelrc=... build dd_trace_cpp, so users or CI images that have not moved to Bazel 8.6+/9.1+ can hit module-resolution failures before compilation; either pin/require a compatible Bazel version with this bump or stay on the previous Abseil LTS.
Useful? React with 👍 / 👎.
…updates Bumps the bazel-packages group with 2 updates in the / directory: [abseil-cpp](https://github.com/abseil/abseil-cpp) and [rules_cc](https://github.com/bazelbuild/rules_cc). Updates `abseil-cpp` from 20260107.1 to 20260526.0 - [Release notes](https://github.com/abseil/abseil-cpp/releases) - [Commits](abseil/abseil-cpp@20260107.1...20260526.0) Updates `rules_cc` from 0.2.14 to 0.2.21 - [Release notes](https://github.com/bazelbuild/rules_cc/releases) - [Commits](bazelbuild/rules_cc@0.2.14...0.2.21) --- updated-dependencies: - dependency-name: abseil-cpp dependency-version: '20260526.0' dependency-type: direct:production update-type: version-update:semver-major dependency-group: bazel-packages - dependency-name: rules_cc dependency-version: 0.2.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: bazel-packages ... Signed-off-by: dependabot[bot] <support@github.com>
9529171 to
07cb90f
Compare
ae1f8e9 to
c3743a5
Compare
* build(deps): bump the bazel-packages group across 1 directory with 2 updates Bumps the bazel-packages group with 2 updates in the / directory: [abseil-cpp](https://github.com/abseil/abseil-cpp) and [rules_cc](https://github.com/bazelbuild/rules_cc). Updates `abseil-cpp` from 20260107.1 to 20260526.0 - [Release notes](https://github.com/abseil/abseil-cpp/releases) - [Commits](abseil/abseil-cpp@20260107.1...20260526.0) Updates `rules_cc` from 0.2.14 to 0.2.21 - [Release notes](https://github.com/bazelbuild/rules_cc/releases) - [Commits](bazelbuild/rules_cc@0.2.14...0.2.21) --- updated-dependencies: - dependency-name: abseil-cpp dependency-version: '20260526.0' dependency-type: direct:production update-type: version-update:semver-major dependency-group: bazel-packages - dependency-name: rules_cc dependency-version: 0.2.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: bazel-packages ... Signed-off-by: dependabot[bot] <support@github.com> * build: pin Bazel 9.1.1 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zach Montoya <zach.montoya@datadoghq.com> Co-authored-by: Brian Marks <brian.marks@datadoghq.com> Co-authored-by: Brian Marks <bm1549@users.noreply.github.com>
Description
Updates the Bazel dependency group:
abseil-cpp:20260107.1→20260526.0rules_cc:0.2.18→0.2.21Pins Bazelisk to Bazel 9.1.1.
Motivation
Abseil 20260526.0 fails with Bazel 9 releases before 9.1.0. The pin keeps local and CI Bazelisk runs on a compatible release.
Additional Notes
Validated locally:
bazelisk --bazelrc=.bazelrc.std build dd_trace_cppbazelisk --bazelrc=.bazelrc.absl build dd_trace_cppgit diff --checkThe benchmark report found no performance regressions.
Jira ticket: N/A