-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.SoonThis needs action soon. (recent regressions, service outages, unusual time-sensitive situations)This needs action soon. (recent regressions, service outages, unusual time-sensitive situations)ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
Discovered by way of a user survey, there is very inconsistent performance of the gopls analysis driver in v0.12.0.
Repro:
- clone https://github.com/hashicorp/terraform-provider-aws
- open a small package, e.g.
./internal/types
. Everything is great, and gopls uses much less memory than v0.11.0, as expected - open
./internal/provider
, everything goes boom. analysis uses ~50GB (and counting..?)
Given that gopls can type-check the repository expediently, this seems like a likely bug in the new analysis driver.
CC @adonovan
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.SoonThis needs action soon. (recent regressions, service outages, unusual time-sensitive situations)This needs action soon. (recent regressions, service outages, unusual time-sensitive situations)ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.