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

Report progress start when handle immediately switches to indeterminate. #5362

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

sdedic
Copy link
Member

@sdedic sdedic commented Jan 25, 2023

During testing of #5361, I've found out that the LspInternalHandle receives SWITCH event as the first one (as a result of the switch to indeterminate status), and does not report start event to the LSP client at all. As a result the progress indicator is never created in LSP client and the progress for long-running operation may remain unreported.

sendProgress will first send start event to the client, if not already started.

@sdedic sdedic added LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests labels Jan 25, 2023
@sdedic sdedic requested review from dbalek and MartinBalin January 25, 2023 15:52
@sdedic sdedic self-assigned this Jan 25, 2023
@sdedic sdedic mentioned this pull request Jan 27, 2023
@sdedic sdedic added this to the NB18 milestone Jan 30, 2023
@neilcsmith-net
Copy link
Member

You still wanting to get #5361 into NB17? In which case, this should be too?

@sdedic sdedic merged commit bcd016b into apache:master Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants