Skip to content

CI: upgrade rules_go for BCR tests#2237

Merged
jayconrod merged 2 commits intobazel-contrib:masterfrom
jayconrod:fix-ci
Nov 18, 2025
Merged

CI: upgrade rules_go for BCR tests#2237
jayconrod merged 2 commits intobazel-contrib:masterfrom
jayconrod:fix-ci

Conversation

@jayconrod
Copy link
Copy Markdown
Contributor

What type of PR is this?

Bug fix

What package or component does this PR mostly affect?

tests/bcr

What does this PR do? Why is it needed?

Bazel 9.x requires the cc_common module to be loaded explicitly. bazel-contrib/rules_go#4508 added the required load statement, and this fix was released in rules_go 0.59.0.

This change upgrades the tests/bcr/go_mod and go_work test modules to require rules_go 0.59.0 so they can be tested with Bazel 9.x. Gazelle itself doesn't require the fix, so this change doesn't touch MODULE.bazel, avoiding a forced upgrade.

Which issues(s) does this PR fix?

Fixes #2234

Other notes for review

Bazel 9.x requires the cc_common module to be loaded explicitly.
bazel-contrib/rules_go#4508 added the required load statement,
and this fix was released in rules_go 0.59.0.

This change upgrades the tests/bcr/go_mod and go_work test modules
to require rules_go 0.59.0 so they can be tested with Bazel 9.x.
Gazelle itself doesn't require the fix, so this change doesn't touch
MODULE.bazel, avoiding a forced upgrade.

Fixes bazel-contrib#2234
@jayconrod jayconrod requested review from fmeum and linzhp November 18, 2025 17:02
@fmeum
Copy link
Copy Markdown
Member

fmeum commented Nov 18, 2025

Looks like we need to get a new version of circl into the BCR that has loads for rules_cc.

@jayconrod
Copy link
Copy Markdown
Contributor Author

Hmm, upgrading circl fixed the problem: the next point release has correct loads.

But the latest BCR release is pretty far behind the latest upstream release. That's a separate problem I suppose.

@jayconrod jayconrod merged commit bb95b5e into bazel-contrib:master Nov 18, 2025
14 checks passed
pcj pushed a commit to stackb/bazel-gazelle that referenced this pull request Dec 23, 2025
**What type of PR is this?**

> Bug fix

**What package or component does this PR mostly affect?**

tests/bcr

**What does this PR do? Why is it needed?**

Bazel 9.x requires the cc_common module to be loaded explicitly.
bazel-contrib/rules_go#4508 added the required load statement, and this
fix was released in rules_go 0.59.0.

This change upgrades the tests/bcr/go_mod and go_work test modules to
require rules_go 0.59.0 so they can be tested with Bazel 9.x. Gazelle
itself doesn't require the fix, so this change doesn't touch
MODULE.bazel, avoiding a forced upgrade.

**Which issues(s) does this PR fix?**

Fixes bazel-contrib#2234

**Other notes for review**
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.

CI error: 'struct' value has no field or method 'configure_features'

2 participants