Skip to content

x/tools/gopls: duplicate reload after workspace re-initialization #54473

Closed
@findleyr

Description

@findleyr

Noticed this while debugging regression tests.

As a result of CL 417576, when we re-initialize a workspace we also do a follow-up load of all packages. Note that we must reload some packages for correctness (because they may have disappeared), but not all. We must prune our shouldLoad map during reinitialization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions