Expose munged visibility attr as a synthetic attr in `bazel query`
Open
P2
team-Loading-API
type: feature request
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 72
Description
Separated out from #23855 to track just the part where we expose munged visibility as a synthetic attr to `bazel query`. This is a FR that can wait, whereas the rest of #23855 is a bug that blocks 8.0.
Contributor guide
Research direction
Start by reading the context in #23855 and the implementation of bazel query, focusing on how visibility is currently represented. Trace the existing munged visibility handling and determine where a synthetic attribute belongs. Done means bazel query exposes that visibility value as a synthetic attribute without taking on the separate blocking bug from #23855.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100