Fix visible
query operator for Macro-Aware Visibility
#23856
Labels
P1
I'll work on this now. (Assignee required)
team-Loading-API
BUILD file and macro processing: labels, package(), visibility, glob
type: bug
@bazel-io flag 8.0.0
This is likely something we can cherrypick into 8.0 in October.
The
visible
operator forbazel query
commands has a separate implementation from Bazel's actual visibility check done in the analysis phase. We have not yet updated that implementation to take into account the new Macro-Aware Visibility model. The consequence is thatvisible(...)
may return incorrect results for consuming targets created inside symbolic macros.The text was updated successfully, but these errors were encountered: