x/tools/gopls: gopls doesn't recover easily if initial workspace loading fails #47540
Labels
gopls/metadata
Issues related to metadata loading in gopls
gopls
Issues related to the Go language server, gopls.
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Tools
This label describes issues relating to any tools in the x/tools repository.
Projects
Milestone
What version of Go are you using (
go version
)?What did you do?
Due to bad network connection, initial workspace loading failed to download necessary dependencies.
I manually ran
go mod tidy
and downloaded dependencies, but the error notification didn't go away.How to repro:
go clean -modcache
go mod tidy
manually from the terminalWhat did you expect to see?
go mod tidy
run.What did you see instead?
Sticky error notification & diagnostics.
gopls trace - ran go mod tidy manually around 7:23.
The text was updated successfully, but these errors were encountered: