Skip to content

Add BSP workspace/reload#5838

Merged
eed3si9n merged 1 commit intosbt:developfrom
adpi2:bsp-reload
Sep 14, 2020
Merged

Add BSP workspace/reload#5838
eed3si9n merged 1 commit intosbt:developfrom
adpi2:bsp-reload

Conversation

@adpi2
Copy link
Copy Markdown
Member

@adpi2 adpi2 commented Sep 11, 2020

Fixes #5783

Give BSP clients the ability to trigger a reload by sending a workspace/reload request.

According to the specifiaction in build-server-protocol/build-server-protocol#135, the reload is ignored in case of failure, ie the state of sbt stays the same as before.

@adpi2 adpi2 marked this pull request as ready for review September 14, 2020 11:10
@adpi2 adpi2 requested a review from eed3si9n September 14, 2020 11:11
@adpi2
Copy link
Copy Markdown
Member Author

adpi2 commented Sep 14, 2020

@eed3si9n Can this PR be integrated in sbt-1.4.0?

It should be 100% safe since this implementation lives on its own. No existing code is modified.

@eed3si9n eed3si9n merged commit 75da495 into sbt:develop Sep 14, 2020
@eed3si9n
Copy link
Copy Markdown
Member

It should be 100% safe since this implementation lives on its own. No existing code is modified.

I merged it, but nothing is totally safe. Sure it's unlikely to invalidate existing builds but if there was a major issue in workspace/reload, then we'd likely have to fix it before 1.4.0.

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.

BSP: resolving targets does not reload build

2 participants