Skip to content

chore(all): update deps (major) - #280

Merged
morrowc merged 2 commits into
openconfig:mainfrom
renovate-bot:renovate/major-deps
Sep 2, 2026
Merged

chore(all): update deps (major)#280
morrowc merged 2 commits into
openconfig:mainfrom
renovate-bot:renovate/major-deps

Conversation

@renovate-bot

@renovate-bot renovate-bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
actions/cache action major v5v6
actions/checkout action major v6v7
bazel major 8.8.09.2.0

Release Notes

actions/cache (actions/cache)

v6.1.0

Compare Source

What's Changed

Full Changelog: actions/cache@v6...v6.1.0

v6.0.0

Compare Source

What's Changed

Full Changelog: actions/cache@v5...v6.0.0

actions/checkout (actions/checkout)

v7.0.1

Compare Source

v7.0.0

Compare Source

bazelbuild/bazel (bazel)

v9.2.0

Compare Source


Release Notes:

v9.1.1

Compare Source


Release Notes:

v9.1.0

Compare Source


Release Notes:

v9.0.2

Compare Source


Release Notes:

v9.0.1

Compare Source


Release Notes:

v9.0.0

Compare Source


Release Notes:


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Monday through Friday (* * * * 1-5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@morrowc

morrowc commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

CI Failure Analysis & Proposed Fix for PR #280

Root Cause

The CI build failed during bazel build //... with:

ERROR: Traceback (most recent call last):
	File ".../external/openconfig_gnmi+/bazel/generate_cc.bzl", line 195, column 29, in <toplevel>
		"plugin": attr.label(
Error in label: at index 0 of providers, got element of type string, want sequence
ERROR: error loading package '@@openconfig_gnmi+//proto/gnmi': at .../external/openconfig_gnmi+/bazel/cc_grpc_library.bzl:21:6: initialization of module 'bazel/generate_cc.bzl' failed
ERROR: /var/tmp/gnsi/pathz/BUILD.bazel:9:14: error loading package '@@openconfig_gnmi+//proto/gnmi' ... referenced by '//pathz:pathz_proto'
  • Why it failed: Bazel 9 dropped support for legacy string provider names in rule attribute definitions (e.g. providers = ["files_to_run"]).
  • Where it comes from: The dependency openconfig_gnmi 0.14.1 (the latest release on BCR) contains legacy bazel/generate_cc.bzl that declares providers = ["files_to_run"].
  • Upstream status: In the openconfig/gnmi repository, commit 833747e39f20b3a5b4da786ae0782ca971bd7c83 already deleted bazel/generate_cc.bzl and switched to @com_github_grpc_grpc//bazel:cc_grpc_library.bzl. However, no release tag newer than v0.14.1 has been published to BCR yet.

Proposed Fixes

Option 1: Keep Bazel at 8.8.0 for now (Recommended)

Revert .bazelversion back to 8.8.0 in this PR (allowing the GitHub Actions upgrades actions/checkout@v7 and actions/cache@v6 to proceed and pass). Bazel 9 can then be adopted once a new release of openconfig/gnmi is published to BCR.

To prevent Renovate from re-bumping Bazel to 9.x until gnmi is ready, .github/renovate.json can be configured with:

{
  "packageRules": [
    {
      "matchPackageNames": ["bazelbuild/bazel", "bazel"],
      "allowedVersions": "<9.0.0"
    }
  ]
}
Option 2: Use git_override in MODULE.bazel to support Bazel 9.2.0 immediately

If we want to proceed with Bazel 9.2.0 immediately, add a git_override for openconfig_gnmi in MODULE.bazel to point to a commit on master:

git_override(
    module_name = "openconfig_gnmi",
    remote = "https://github.com/openconfig/gnmi.git",
    commit = "a4e40e60426e5b30ce29fd8115809d2dbe47584f",
)

(Also bump protobuf to 35.1 in MODULE.bazel to match the version required by grpc.)

Verification: Verified locally that with this override, Bazel 9.2.0 builds all 42 targets and all tests pass cleanly.

Option 3: Cut an upstream release of openconfig/gnmi

Tag v0.14.2 (or v0.15.0) on openconfig/gnmi, publish it to BCR, and update MODULE.bazel to point to the new release.

@morrowc
morrowc merged commit 7c2c2f7 into openconfig:main Sep 2, 2026
9 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