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

improvement: Automatically update bazel bsp #6410

Merged
merged 2 commits into from
May 21, 2024

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented May 16, 2024

This makes sure Metals will use the newest BSP at all times with all the fixes.

@tgodzik tgodzik requested a review from kasiaMarek May 16, 2024 11:09
)
.map(status => handleGenerationStatus(bsp, status))
.flatMap { _ =>
connect(projectRoot, bspTraceRoot, addLivenessMonitor)
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if that is an issue but it looks like if things go wrong this can loop forever.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, should not happen, but if would be very bad. Added an additional condition.

This makes sure Metals will use the newest BSP at all times with all the fixes.
@tgodzik tgodzik merged commit 49a3fc4 into scalameta:main May 21, 2024
21 of 24 checks passed
@tgodzik tgodzik deleted the regeerate-bsp branch May 21, 2024 12:00
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