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

Correctly propagate indeterminate progress #169

Merged
merged 1 commit into from
Jul 14, 2023
Merged

Conversation

planger
Copy link
Member

@planger planger commented Jul 14, 2023

If a server reports a progress of -1 (or <=0) we should forward undefined to get an indeterminate progress. This is evident with the Java server, which can't easily specify undefined int.

eclipse-glsp/glsp#1019

@planger planger requested a review from tortmayr July 14, 2023 12:50
@planger planger marked this pull request as draft July 14, 2023 12:51
If a server reports a progress of -1 (or <=0) we should forward
`undefined` to get an indeterminate progress. This is evident with the
Java server, which can't easily specify undefined `int`.

Change-Id: Ief1395bd5bd56c66cd611238e14557c9f91ed59f
@planger planger marked this pull request as ready for review July 14, 2023 12:56
Copy link
Contributor

@tortmayr tortmayr left a comment

Choose a reason for hiding this comment

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

LGTM! 👍🏼

@planger planger merged commit d4eb5f9 into master Jul 14, 2023
4 checks passed
@planger planger deleted the planger/issues/1019_fix branch July 14, 2023 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants