Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration needed for Automatic Exec Groups #19261

Open
kotlaja opened this issue Nov 14, 2024 · 1 comment
Open

Migration needed for Automatic Exec Groups #19261

kotlaja opened this issue Nov 14, 2024 · 1 comment

Comments

@kotlaja
Copy link
Contributor

kotlaja commented Nov 14, 2024

Migration to Automatic Exec Groups (AEGs) is needed since its incompatible flag (--incompatible_auto_exec_groups) will be enabled for Bazel@Head quite soon, thus it will be breaking your project. Please migrate and fix potential errors, in order to unblock your project and users who depend on your project. Potential errors can be triggered by building your project with this incompatible flag. Note that AEGs will not be flipped by default for Bazel 8, but for Bazel at head after Bazel 8 cut.

For more details, please check:

bazelbuild/bazel#19981

General Bazel documentation for AEGs

Particularly interesting parts could be

Most common errors you could see during this migration
How to disable AEGs until fully migrated
Never heard of incompatible flags before? We have documentation that explains everything.

If you have any questions, please file an issue in https://github.com/bazelbuild/bazel/issues.

@kotlaja
Copy link
Contributor Author

kotlaja commented Nov 14, 2024

Please check my changes which might be sufficient for protobuf, but this will be seen once the errors with rules_kotlin are fixed (maybe upgrade to rules_kotlin 2.0.0 will be enough).

Moreover, please note that migration of rules_python to Automatic Exec Groups is blocked by this migration. Hence, multiple other projects depending on rules_python are blocked (check 19981). I'd appreciate if we can move forward as soon as possible (we even planned flipping this flag in October but postponed it in order not to break significant number of users).

Please let me know if you have any questions/help.

copybara-service bot pushed a commit that referenced this issue Nov 15, 2024
This is the first step for migrating to Automatic Exec Groups (check [#19261](#19261)).

PiperOrigin-RevId: 696810239
copybara-service bot pushed a commit that referenced this issue Nov 18, 2024
This is the first step for migrating to Automatic Exec Groups (check [#19261](#19261)).

PiperOrigin-RevId: 696810239
copybara-service bot pushed a commit that referenced this issue Nov 18, 2024
This is the first step for migrating to Automatic Exec Groups (check [#19261](#19261)).

PiperOrigin-RevId: 697777264
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

No branches or pull requests

1 participant