Skip to content

Allow transition on incompatible and experimental native flags #20297

@thesayyn

Description

@thesayyn

Description of the feature request:

Currently, --incompatible_* and --experimental_* flags are disallowed in transitions without any justification why. I am currently working on rules_proto's incompatible proto toolchain feature, therefore need to write some tests that needs to transition in order to test the logic.

Currently transitioning on these flags end up in an error, and the reason isn't clear.

Error in analysis_test_transition: Invalid transition output '//command_line_option:incompatible_enable_proto_toolchain_resolution'. Cannot transition on --experimental_* or --incompatible_* options

It was disabled with this commit; ff93b19

Which category does this issue belong to?

No response

What underlying problem are you trying to solve with this feature?

Writing unit tests that test experimental and incompatible flags.

Which operating system are you running Bazel on?

No response

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2We'll consider working on this in future. (Assignee optional)team-Configurabilityplatforms, toolchains, cquery, select(), config transitionstype: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions