Skip to content

Stop referencing the Bazel plugin's internal TaskId class - #36

Merged
joshfriend merged 1 commit into
mainfrom
jfriend/bazel-taskid-reflection
Sep 22, 2026
Merged

joshfriend merged 1 commit into
mainfrom
jfriend/bazel-taskid-reflection

Conversation

@joshfriend

Copy link
Copy Markdown
Collaborator

Marketplace moderation flags 0.2.13 for using the Bazel plugin's TaskId class and TaskId.getId(), which are @ApiStatus.Internal in 2026.x. Match the class by name and read id reflectively instead, so no internal API reference exists in the bytecode. Behavior is unchanged. Also re-enables INTERNAL_API_USAGES in the plugin verifier so this fails locally and in CI. verifyPlugin passes on all six IDEs with zero internal API usages.

Marketplace moderation flags the @ApiStatus.Internal usage on 0.2.13. Match the class by name and read id reflectively instead, and re-enable INTERNAL_API_USAGES in the verifier so this fails locally.
@joshfriend
joshfriend marked this pull request as ready for review September 22, 2026 15:49
@joshfriend
joshfriend merged commit d05bc24 into main Sep 22, 2026
4 checks passed
@joshfriend
joshfriend deleted the jfriend/bazel-taskid-reflection branch September 22, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant