Skip to content

deps: Update dependency protobuf to v34.1#703

Open
ffortier wants to merge 1 commit into
mainfrom
renovate/protobuf-monorepo
Open

deps: Update dependency protobuf to v34.1#703
ffortier wants to merge 1 commit into
mainfrom
renovate/protobuf-monorepo

Conversation

@ffortier
Copy link
Copy Markdown
Owner

@ffortier ffortier commented Mar 20, 2026

This PR contains the following updates:

Package Type Update Change
protobuf bazel_dep minor 34.0.bcr.134.1

Release Notes

protocolbuffers/protobuf (protobuf)

v34.1: Protocol Buffers v34.1

Announcements

  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.

Bazel

  • Moved protocopt flag out of the cc dir, since it is not a c++-specific flag. (3db9fd1)
  • Add support for bazel 9.x (#​26201) (763c5da)

C++

  • Updated CMake dependencies. (5583485)
  • Add cc_proto_library for MessageSet in //src/google/protobuf/bridge (523a6a4)
  • Add support for bazel 9.x (#​26201) (763c5da)

Java

  • Avoid toBigIntegerExact in JsonFormat to avoid degenerate parse behavior in the face of large exponents. (ab3d7f0)

Python

Other

  • Fixed release_prep.sh script mkdir command to follow INTEGRITY_FILE location. (e700d7d)
  • Second try at fixing the release_prep.sh file path! (#​26097) (f5ccaf3)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@ffortier
Copy link
Copy Markdown
Owner Author

ffortier commented Mar 20, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: ./.github/renovate/post-upgrade.sh
+ bzl_opts=(--override_module=toolchains_llvm=./third_party/cpp/no_toolchains_llvm)
+ git diff --exit-code third_party/python/requirements.in
+ git diff --exit-code third_party/java/deps.MODULE.bazel
+ REPIN=1
+ bazel run @maven//:pin --override_module=toolchains_llvm=./third_party/cpp/no_toolchains_llvm
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 2 packages loaded
Analyzing: target @@rules_jvm_external++maven+maven//:pin (3 packages loaded)
Analyzing: target @@rules_jvm_external++maven+maven//:pin (7 packages loaded, 6 targets configured)
Analyzing: target @@rules_jvm_external++maven+maven//:pin (7 packages loaded, 6 targets configured)

Analyzing: target @@rules_jvm_external++maven+maven//:pin (7 packages loaded, 6 targets configured)

Analyzing: target @@rules_jvm_external++maven+maven//:pin (7 packages loaded, 6 targets configured)

Analyzing: target @@rules_jvm_external++maven+maven//:pin (7 packages loaded, 6 targets configured)

ERROR: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_go+/go/private/rules/cgo.bzl:101:12: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:

load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
ERROR: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_go+/go/private/rules/cgo.bzl:102:39: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:

load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
ERROR: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_go+/go/private/rules/cgo.bzl:107:28: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:

load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
ERROR: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_go+/go/private/rules/cgo.bzl:109:29: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:

load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
ERROR: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_go+/go/private/rules/cgo.bzl:112:35: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:

load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
ERROR: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_go+/go/private/rules/cgo.bzl:115:36: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:

load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
ERROR: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_go+/go/private/rules/cgo.bzl:191:22: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:

load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
ERROR: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_jvm_external++maven+unpinned_maven/BUILD:1476:10: While resolving toolchains for target @@rules_jvm_external++maven+unpinned_maven//:pin (816f791): invalid registered toolchain '@go_toolchains//:all': while parsing '@go_toolchains//:all': error loading package '@@rules_go++go_sdk+go_toolchains//': at /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_go+/go/private/go_toolchain.bzl:22:6: at /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_go+/go/private/actions/archive.bzl:36:5: compilation of module 'go/private/rules/cgo.bzl' failed
ERROR: Analysis of target '@@rules_jvm_external++maven+maven//:pin' failed; build aborted: Analysis failed
INFO: Elapsed time: 9.925s, Critical Path: 0.02s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
FAILED: 
ERROR: Build failed. Not running target

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 20, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Updated the Bazel module dependency for protobuf in third_party/java/deps.MODULE.bazel, changing the bazel_dep version from 34.0.bcr.1 to 34.1.

Changes

Cohort / File(s) Summary
Protobuf Dependency Version Bump
third_party/java/deps.MODULE.bazel
Changed bazel_dep(name = "protobuf") version 34.0.bcr.134.1 (single-line version update).

Estimated Code Review Effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly Related PRs

Poem

🐰 I nibble lines of module code by moonlight,
I nudged .bcr.1 to 34.1—so bright.
A hop, a tweak, a tiny cheer,
Bazel hums softly — carrots near. 🥕✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'deps: Update dependency protobuf to v34.1' directly and accurately describes the main change: updating the protobuf dependency version from 34.0.bcr.1 to 34.1 in the Bazel module configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/protobuf-monorepo

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@third_party/java/deps.MODULE.bazel`:
- Line 1: Revert or hold the protobuf version bump: undo the change to
bazel_dep(name = "protobuf", version = "34.1") in
third_party/java/deps.MODULE.bazel (or replace it with the previous pinned
version) and add a blocking note/comment/guard so the PR does not merge until
the 34.1 artifact pinning and Bazel CcInfo/toolchain resolution are confirmed;
ensure the CI/merge pipeline requires successful post-upgrade artifact pinning
before automerging this dependency update.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 27ea7b27-6e76-4023-aca0-797e12168f13

📥 Commits

Reviewing files that changed from the base of the PR and between aaae643 and 9fc08a6.

⛔ Files ignored due to path filters (1)
  • MODULE.bazel.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • third_party/java/deps.MODULE.bazel

@@ -1,4 +1,4 @@
bazel_dep(name = "protobuf", version = "34.0.bcr.1")
bazel_dep(name = "protobuf", version = "34.1")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Read-only verification: inspect Bazel module versions implicated by the failure.
# 1) Locate module/workspace files
fd 'MODULE.bazel|WORKSPACE|WORKSPACE.bazel|deps.MODULE.bazel'

# 2) Show versions/refs for protobuf, rules_go, rules_cc, bazel_skylib (if present)
rg -n -C2 'bazel_dep\(|rules_go|rules_cc|protobuf|bazel_skylib' MODULE.bazel **/MODULE.bazel **/*deps*.bazel WORKSPACE WORKSPACE.bazel 2>/dev/null

# 3) Check if repo has overrides/pins that may force incompatible rules_go/toolchains
rg -n -C2 'override|archive_override|git_override|single_version_override|go_toolchains' MODULE.bazel **/MODULE.bazel **/*deps*.bazel 2>/dev/null

Repository: ffortier/mono

Length of output: 2546


🌐 Web query:

What are the compatibility requirements between Bazel 9.x, rules_go, and rules_cc regarding the removed CcInfo symbol, and which rules_go version first supports the new cc_info.bzl load path?

💡 Result:

Bazel 9.x requires loading CcInfo from the new rules_cc path "@rules_cc//cc/common:cc_info.bzl" instead of the legacy built-in location, due to the removal of native C++ rules and providers from Bazel core (now in rules_cc). This affects rules_go and rules_cc when using cgo or C++ interop, as older loads like "CcInfo" without explicit path fail with symbol errors. rules_cc versions around 0.1.0+ (e.g., 0.1.1, 0.2.x used in Bazel 9.0.1) provide cc/common/cc_info.bzl defining CcInfo. rules_go has used "@rules_cc//cc/common:cc_info.bzl", "CcInfo" since at least v0.29.0 (2021, removing rules_cc dep but retaining load), compatible with Bazel 9.x via recent rules_cc. No specific "first supports new path" version found, but master/cgo.bzl confirms ongoing use; v0.59.0 (2025) requires Bazel >=6.5.0. Compatibility: Use rules_cc >=0.1.0, rules_go >=0.29.0 (ideally latest v0.59.0+), Bazel 9.x. Update loads to "@rules_cc//cc/common:cc_info.bzl", "CcInfo". Test with Bazel 9.0.1rc1+ for improved errors.

Citations:


🏁 Script executed:

# Read the actual file under review
cat -n third_party/java/deps.MODULE.bazel

Repository: ffortier/mono

Length of output: 1321


🏁 Script executed:

# Get full content of main MODULE.bazel to see rules_go, rules_cc, and bazel version constraint
cat -n MODULE.bazel | head -100

Repository: ffortier/mono

Length of output: 4523


🏁 Script executed:

# Search for rules_go and rules_cc versions more explicitly across all MODULE.bazel files
rg -n 'rules_go|rules_cc' --type bazel

Repository: ffortier/mono

Length of output: 12475


🏁 Script executed:

# Check for bazel_version directive
rg -n 'bazel_version|bazel.*version' MODULE.bazel

Repository: ffortier/mono

Length of output: 725


🏁 Script executed:

# Check for bazel_version directive
rg -n 'bazel_version' MODULE.bazel

Repository: ffortier/mono

Length of output: 39


🏁 Script executed:

# Check MODULE.bazel.lock for hints about rules_go
head -50 MODULE.bazel.lock

Repository: ffortier/mono

Length of output: 6706


🏁 Script executed:

# Look for any other references to protobuf version or java deps version history
rg -n 'protobuf' third_party/java/ --type bazel

Repository: ffortier/mono

Length of output: 198


Block merge until protobuf 34.1 artifact pinning succeeds.

This bump is breaking Renovate's post-upgrade artifact step (Bazel analysis fails on CcInfo/toolchain resolution), which will land a non-reproducible or broken dependency state—especially with automerge enabled.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@third_party/java/deps.MODULE.bazel` at line 1, Revert or hold the protobuf
version bump: undo the change to bazel_dep(name = "protobuf", version = "34.1")
in third_party/java/deps.MODULE.bazel (or replace it with the previous pinned
version) and add a blocking note/comment/guard so the PR does not merge until
the 34.1 artifact pinning and Bazel CcInfo/toolchain resolution are confirmed;
ensure the CI/merge pipeline requires successful post-upgrade artifact pinning
before automerging this dependency update.

@ffortier ffortier force-pushed the renovate/protobuf-monorepo branch 8 times, most recently from 5cc6763 to a76cd6c Compare March 27, 2026 17:40
@ffortier ffortier force-pushed the renovate/protobuf-monorepo branch 14 times, most recently from f6a1001 to 60e1749 Compare April 5, 2026 03:50
@ffortier ffortier force-pushed the renovate/protobuf-monorepo branch 5 times, most recently from 7dbfbcf to 114b3cb Compare April 8, 2026 17:49
@ffortier ffortier force-pushed the renovate/protobuf-monorepo branch 10 times, most recently from f18c2b6 to df53038 Compare April 27, 2026 07:29
@ffortier ffortier force-pushed the renovate/protobuf-monorepo branch 8 times, most recently from df696f8 to 350d053 Compare May 4, 2026 18:09
@ffortier ffortier force-pushed the renovate/protobuf-monorepo branch 11 times, most recently from e2ee9e5 to 651cad7 Compare May 15, 2026 15:11
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