incompatible_use_lexicographical_unordered_output: Incompatible flag for graphless query lexicographical output order #12757
Labels
incompatible-change
Incompatible/breaking change
P1
I'll work on this now. (Assignee required)
team-Performance
Issues for Performance teams
type: process
Flag:
--incompatible_lexicographical_output
Available: Yet to be released
Flipped in: To be confirmed.
Changes
bazel query --order_output=auto
will output in lexicographical order.bazel query --order_output=no
will remain unchanged and unaffected (unordered output) by the use of this flag.Motivation
Currently there is a mismatch in the output order of graphless query and graphless genquery. Graphless query outputs targets in the order they were processed, whereas graphless genquery outputs targets in lexicographical order. This flag is hence added to implement the same lexicographical ordering in graphless query.
Context for the flip
The flag
--incompatible_prefer_unordered_output
was previously added to allow for unordered output whenorder_output=auto
(when previously this was only the case whenorder_output=no
). This switches query to use a graphless implementation.The plan is to roll out graphless query as the default implementation eventually (and remove
--incompatible_prefer_unordered_output
), with the lexicographical ordering as the default ordering.The text was updated successfully, but these errors were encountered: