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

Upgrade Dockerfile language server to 0.7.2 #3269

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

rcjsuen
Copy link
Contributor

@rcjsuen rcjsuen commented Oct 20, 2021

This small update prevents two cases of infinite loops from being thrown in a textDocument/semanticTokens/full request. One of the two cases is the one reported in #3268.

Open these two files as Dockerfiles and you should see the exception error pop up. Do not save or format the file as the bug is contingent on the second line not having any whitespace in the front.

FROM $image\
abc
R\ 
# abc

You can also test with the Dockerfile described in #3268 (comment). Opening that file should not cause any problems either.

This small update prevents two cases of infinite loops from being thrown
in a textDocument/semanticTokens/full request.

Signed-off-by: Remy Suen <[email protected]>
@karolz-ms
Copy link
Contributor

Thank you, Remy 🤗

@karolz-ms karolz-ms merged commit 2e7cb95 into microsoft:main Oct 21, 2021
@rcjsuen rcjsuen deleted the dockerfile-language-server-0.7.2 branch October 21, 2021 11:57
@rcjsuen
Copy link
Contributor Author

rcjsuen commented Oct 21, 2021

Thank you, Remy 🤗

Thanks for reviewing the change, @karolz-ms. Have a good day! :)

@ucheNkadiCode
Copy link
Contributor

Thanks so much @rcjsuen! We always appreciate your help 😁

@rcjsuen
Copy link
Contributor Author

rcjsuen commented Oct 22, 2021

Thanks so much @rcjsuen! We always appreciate your help 😁

No problem, @ucheNkadiCode. 👍

I know that this particular bug is annoying given the constant spamming of error messages so I wanted to get a fix out as soon as possible. :)

@microsoft microsoft locked and limited conversation to collaborators Dec 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Message: Request textDocument/semanticTokens/full failed with message: Maximum call stack size exceeded
3 participants