Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] postpone bazel info #300

Merged
merged 1 commit into from Sep 29, 2022

Conversation

tpasternak
Copy link
Contributor

@tpasternak tpasternak commented Sep 28, 2022

Before this change, bazel info was called before the actual BSP
server. This means, there was no clear way to submit failure (for
example if bazel executable was not available in PATH). Currently,
it is run on build/intitialize request, so the error will be logged
via BSP failure response.

@tpasternak tpasternak force-pushed the postpone-baze-info-run branch 3 times, most recently from b63ffdc to 732437e Compare September 29, 2022 10:22
@tpasternak tpasternak marked this pull request as ready for review September 29, 2022 10:29
Before this change, `bazel info` was called before the actual BSP
server. This means, there was no clear way to submit failure (for
example if `bazel` executable was not available in PATH). Currently,
it is run on `build/intitialize` request, so the error will be logged
via BSP failure response.
@tpasternak tpasternak enabled auto-merge (squash) September 29, 2022 11:12
@abrams27 abrams27 changed the title Postpone bazel info [fix] postpone bazel info Sep 29, 2022
Copy link
Member

@abrams27 abrams27 left a comment

Choose a reason for hiding this comment

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

cool, thanks a lot!

@tpasternak tpasternak merged commit a07dc5a into JetBrains:master Sep 29, 2022
@tpasternak tpasternak deleted the postpone-baze-info-run branch September 30, 2022 10:22
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.

None yet

2 participants