Skip to content

Execution: migrate BlazeQueryDirectoryToTargetProvider to BazelExecService#8283

Open
LeFrosch wants to merge 2 commits intobazelbuild:masterfrom
LeFrosch:pull/249fc7c8f8a1e987dab6746b30a3b6998f27fcb5
Open

Execution: migrate BlazeQueryDirectoryToTargetProvider to BazelExecService#8283
LeFrosch wants to merge 2 commits intobazelbuild:masterfrom
LeFrosch:pull/249fc7c8f8a1e987dab6746b30a3b6998f27fcb5

Conversation

@LeFrosch
Copy link
Copy Markdown
Collaborator

@LeFrosch LeFrosch commented Apr 9, 2026

Part of the consolidation effort of the Bazel invocations.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the BlazeQueryDirectoryToTargetProvider to use BazelExecService for executing Blaze queries, replacing the older BuildSystem and BuildInvoker mechanism. This involves updating imports and the runQuery method's implementation, including its exception handling. The feedback suggests an improvement to the runQuery method by flattening a nested try-with-resources statement to enhance readability and reduce indentation.

@LeFrosch LeFrosch marked this pull request as ready for review April 9, 2026 12:58
@LeFrosch LeFrosch requested review from mai93 and ujohnny as code owners April 9, 2026 12:58
@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Apr 9, 2026
@LeFrosch LeFrosch force-pushed the pull/249fc7c8f8a1e987dab6746b30a3b6998f27fcb5 branch from b3b00c8 to 7614441 Compare April 10, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review Awaiting review from Bazel team on PRs product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

4 participants