Skip to content

fix: get BCR publishing working by upgrading rules_go - #1278

Merged
jbedard merged 1 commit into
bazel-contrib:mainfrom
acozzette:fix-bcr
Jul 31, 2026
Merged

fix: get BCR publishing working by upgrading rules_go#1278
jbedard merged 1 commit into
bazel-contrib:mainfrom
acozzette:fix-bcr

Conversation

@acozzette

Copy link
Copy Markdown
Contributor

Recent BCR deployments have been failing, like this one for 3.7.0 for example: bazelbuild/bazel-central-registry#9894

It appears to be because e2e/smoke is on an older version of rules_go that is missing this fix required for newer Bazel versions: bazel-contrib/rules_go#4508

We're only hitting this issue on BCR deployment because for BCR we make rules_go a dev_dependency in the top-level MODULE.bazel, causing rules_go to use the older version from e2e/smoke/MODULE.bazel.

This should fix #1277.

Recent BCR deployments have been failing, like this one for 3.7.0 for example:
bazelbuild/bazel-central-registry#9894

It appears to be because e2e/smoke is on an older version of rules_go that is
missing this fix required for newer Bazel versions:
bazel-contrib/rules_go#4508

We're only hitting this issue on BCR deployment because for BCR we make
rules_go a dev_dependency in the top-level MODULE.bazel, causing rules_go to
use the older version from e2e/smoke/MODULE.bazel.

This should fix bazel-contrib#1277.
@jbedard
jbedard merged commit 1307b79 into bazel-contrib:main Jul 31, 2026
19 checks passed
@acozzette
acozzette deleted the fix-bcr branch July 31, 2026 16:40
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.

Deplyoment to BCR is broken for versions >= 3.6.0

2 participants