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

Make BSP task processing more resilient #3022

Merged
merged 4 commits into from
Feb 19, 2024
Merged

Make BSP task processing more resilient #3022

merged 4 commits into from
Feb 19, 2024

Conversation

lefou
Copy link
Member

@lefou lefou commented Feb 19, 2024

Since BSP clients can handle incomplete result lists (e.g. they request a task on 5 build targets, but only receive the results for 3 of them), we just don't include the failed targets in the final request result. This is also what sbt and Bloop does to handle failures.

In addition, we send a log message to the server, so the failure doesn't go unnoticed.

Fix: #3011

Pull request: #3022

@lefou lefou added this to the 0.11.8 milestone Feb 19, 2024
@lefou lefou marked this pull request as ready for review February 19, 2024 14:03
@lefou lefou requested a review from lihaoyi February 19, 2024 14:04
@lefou lefou merged commit acc9a55 into main Feb 19, 2024
38 checks passed
@lefou lefou deleted the bsp-partial-result branch February 19, 2024 19:43
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.

Make BSP import more robust
1 participant