-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Remove the --all_incompatible_changes flag #13892
Comments
Plan over several PRs:
|
Step 1 of #13892 RELNOTES: Disable --all_incompatible_changes flag. PiperOrigin-RevId: 392476629
Has there been any decision on whether the extra expansion flag logic, which was added to the options parser expressly for the implementation of I feel like options parsing is enough of a mess that removing it won't necessarily make a dent in its complexity, absent a larger scale effort. If it remains but is now unused, we should add a TODO to consider deprecating it. |
We did not decide that yet. Even if we do, I would like to do it in
multiple PRs. One to get rid of the use, another to remove the mechanism.
Opened #13923 to track making the
choice
…On Mon, Aug 30, 2021 at 11:54 AM Jon Brandvein ***@***.***> wrote:
Has there been any decision on whether the extra expansion flag logic,
which was added to the options parser expressly for the implementation of
--all_incompatible_changes, should be deleted?
I feel like options parsing is enough of a mess that removing it won't
necessarily make a dent in its complexity, absent a larger scale effort.
If it remains but is now unused, we should add a TODO to consider
deprecating it.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#13892 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXHHHDKGVZDIVHDYQS5TQTT7OSULANCNFSM5CUW76GQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
…unused. Followup CLs: - remove use of TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES in non-Bazel test data - remove TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES from the remainder of Bazel - remove --all_incompatible_changes from any CI specifications - delete the option See: #13892 RELNOTES: The --all_incompatible_changes flag is now a no-op PiperOrigin-RevId: 393851730
…flag. TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES was removed, see bazelbuild/bazel#13892
…flag (#334) TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES was removed, see bazelbuild/bazel#13892 Meanwhile, incompatible-change is tag is required not just for stylistic reasons, but for the `bazelisk-plus-incompatible-flags` pipeline, see [`fetch_incompatible_flags` in bazelci.py](https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/bazelci.py#L2713)
As of bazel 5.0, --all_incompatible_changes flag is a no-op. So we should switch to using bazelisk for checking any migration issues. bazelbuild/bazel#13892 Because bazelisk does not allow specifying flag overrides on the command line, we can not override the known failing incompatible flags, and so our migration test will now fail. This is not ideal, but is the only option going forward.
The
--all_incompatible_changes
flag should be removed.--incompatible_*
flags can interfere with each other.The text was updated successfully, but these errors were encountered: