-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
incompatible_remove_local_resources #10536
Comments
Since when is |
It came out in March 2019. The instructions are a little confusing wrt the process for adding |
Per https://www.bazel.build/breaking-changes-guide.html#labels, the change author is supposed to add Since this didn't happen for this flag (in fact, the bug for the change has only been added a month ago) our users have had no warning that it is coming. Let me add some labels that will enable testing for the users. |
Thank you. |
Since the flag is in and we have added "migration-2.0" and "migration-2.1" and watch https://buildkite.com/bazel/bazelisk-plus-incompatible-flags to assess how badly we break the world. If we really want to flip this flag in March, it might also be a good idea to send a mail to bazel-discuss@ and see if people complain. |
It looks like only rules_nodejs are affected. @susinmotion could you file a bug on https://github.com/bazelbuild/rules_nodejs to address this? |
Relatedly, --ram_utilization_factor has been a no-op for ~a year (it's replaced by --local_ram_resources), and there's been a lot of back and forth about whether we need to guard its removal behind a flag, resulting in it still being around. I just added you as a reviewer on that change, so if you could look at the comments and weigh in there, that would be great. |
Given limited breakage, I think it is ok to flip this in 3.0 |
Great. So I should wait until the release window for 3.0, and then submit? |
You can submit the flag flip after 2.2 is cut (see #10133 |
I noticed that https://docs.bazel.build/versions/2.0.0/command-line-reference.html#flag--local_resources doesn't mention the deprecation |
@susinmotion: can you please update the documentation? |
This is autogenerated, correct? I just sent you a change updating the help text for the flag, and hopefully that'll show up here. |
#10536 RELNOTES: None PiperOrigin-RevId: 294969224
We're supposed to cut Bazel 3.0 now. Was this flag flipped? |
Ack, I reversed the comments on the two flags. |
This was flipped in 765d3c1. |
bazelbuild/bazel#10536 RELNOTES: None PiperOrigin-RevId: 294969224
--local_resources will be deprecated in favor of --local_ram_resources and --local_cpu_resources.
--incompatible_remove_local_resources will become true by default, which will cause breakages if --local_resources is used. Please use --local_ram_resources and --local_cpu_resources instead of --local_resources.
Migration has been in progress since March 2019. --local_resources should be fully deprecated within two releases.
The text was updated successfully, but these errors were encountered: