Skip to content

Conversation

@thisisalexandercook
Copy link
Collaborator

fixes #1500

This PR updates the Bazel documentation examples to support Bazel 9.0+ and configures Renovate to automatically track the CI Bazel version.

Supporting Bazel 9.0
Bazel 9.0 removed the native Java rules, requiring an explicit load of rules_java. This modularization was first announced in the Bazel 8.0 release notes

CI Bazel Tracking
Neither Dependabot nor Renovate tracks custom environment variables like USE_BAZEL_VERSION by default. However, Renovate offers a regexManager feature that supports tracking custom strings. This manager is now set to track the USE_BAZEL_VERSION env var against bazelbuild/bazel releases.

This renovate rule was used to successfully open an example PR here:
thisisalexandercook#5

Copy link
Member

@wmdietl wmdietl left a comment

Choose a reason for hiding this comment

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

Great, thanks for tracking this down!
In a separate PR, can you write a similar regex to update the JDK 26 EA version? Not sure whether there is an available data source for it.
Note that #1473 currently fails - I haven't tracked down yet what changed in newer JDK 26 EA builds to break that check.

@wmdietl wmdietl enabled auto-merge (squash) January 22, 2026 01:36
@wmdietl wmdietl disabled auto-merge January 22, 2026 01:36
@wmdietl wmdietl enabled auto-merge (squash) January 22, 2026 01:37
@wmdietl wmdietl merged commit bf85d69 into eisop:master Jan 22, 2026
50 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.

Bazel 9.0.0 compatibility

2 participants