-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/tools/gopls: invalid error messages when switching between tags in kubernetes #43023
Comments
I am not able to reproduce this issue, though I do see invalid error messages when switching between tags. /cc @hyangah - is there possibly a bug here that the Go extension seems to crash when the language server is restarted manually after it has crashed? |
I see:
I will ask the language client library devs about the second issue - why the cleanup isn't complete. We can retry to restart with a completely clean language client. But if it indicates the previous hung gopls is left behind, that's not ideal either. |
Change https://golang.org/cl/284937 mentions this issue: |
As part of investigating golang/go#43023, I noticed that it's possible for us to show context cancellation as a critical error--we should not do this. Change-Id: I1f7cc13a151e0a161d5a4ea4d5b55fba15270b32 Reviewed-on: https://go-review.googlesource.com/c/tools/+/284937 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
The language server is not able to serve any features. Initialization failed: Error: Connection got disposed..
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
many go.exe process find in task manger
What did you expect to see?
checkout new branch should restart gopls server
What did you see instead?
gopls stop work and hover text not show anything after click "go: restart language server"
I can do reload windows to slove this problem
gopls server log
gopls-stop-work-on-checkout-new-branch.txt
vscode settings:
workspace
user
The text was updated successfully, but these errors were encountered: