-
Notifications
You must be signed in to change notification settings - Fork 950
feat: implement BSP's environment requests #6858
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for all of these questions, I'm still pretty new to the sbt's Tasks and scoping and other stuff - that's why there is a lot of code repetition. I'll appreciate suggestions of any kind on how to refactor common parts.
main/src/main/scala/sbt/internal/server/BuildServerProtocol.scala
Outdated
Show resolved
Hide resolved
main/src/main/scala/sbt/internal/server/BuildServerProtocol.scala
Outdated
Show resolved
Hide resolved
main/src/main/scala/sbt/internal/server/BuildServerProtocol.scala
Outdated
Show resolved
Hide resolved
@adpi2 are there somewhere BSP's tests? I searched for them but I found nothing. |
Yes we have some tests in the To run the tests:
|
refactor: extract common logic to the `bspInputTask`
a89bcca
to
7735513
Compare
2 tests have exceeded the timeout, but it doesn't seem like it's caused by my changes, at least not directly. |
@adpi2 do you have an idea why some actions are never-ending/seem to have deadlock? I checked my changes and I didn't find anything suspicious. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great and thanks for cleaning the code duplication.
Those changes are not breaking the forward compatibility. Could you back-port them to 1.7.x
branch?
Should I create another PR that targets |
Yeah another PR would be good. |
Implementation of https://build-server-protocol.github.io/docs/extensions/jvm.html.
Could you guide me on what will be the best way to test these endpoints?