bazel-contrib / bazel-contrib/vscode-bazel
Bazel 8 Symbolic Macros break CodeLens and Target Tree
- Dominant language
- TypeScript
- Stars
- 296
- Forks
- 108
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 5
Description
CodeLens does not show Copy,Build,Run actions for targets that are generated by a Bazel 8's "Symbolic Macro" even though the targets appear under the query: `bazel query 'kind("rule", //:all)'`. (I suspect this is related to the rules technically being instantiated in the package of the macro)
Similarly the target tree shows the generated targets in the expected package but link to the .bzl file where the macro is defined.
Contributor guide
Research direction
Reproduce the issue with Bazel 8 symbolic macros and inspect the CodeLens and target-tree handling in the extension. Confirm that generated targets retain their expected package and that Copy, Build, and Run actions are available; verify that target links point to the appropriate target location rather than only the macro definition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100