refactor: remove deprecated module(compatibility_level)#2735
refactor: remove deprecated module(compatibility_level)#2735jbedard merged 1 commit intoaspect-build:mainfrom
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dd760d2fbd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| module( | ||
| name = "aspect_rules_js", | ||
| bazel_compatibility = [">=7.6.0"], | ||
| compatibility_level = 1, | ||
| ) |
There was a problem hiding this comment.
Keep module compatibility level stable
Dropping compatibility_level = 1 from the root module() declaration implicitly changes the module to compatibility level 0, which is a different Bzlmod major-compatibility track. That means dependency graphs that currently combine this module transitively with other aspect_rules_js releases at level 1 can start failing resolution due to level mismatch, even though no intentional breaking API migration was made.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
wait, https://bazel.build/rules/lib/globals/module#module says default is -1 and it's deprecated, I'm very surprised.
There was a problem hiding this comment.
I think we should drop it as part of v3 though, since bazel has deprecated it?



Changes are visible to end-users: no
Test plan