Skip to content

x/tools/gopls: "pattern too long" error with gopls@master + k8s + coc.nvim #59635

@findleyr

Description

@findleyr

Noticed that when using gopls@master in kubernetes, I am starting to get a new exception in coc.nvim:

image

I believe this is related to the (enormous) file watching pattern we serve for Kubernetes directories. But it is surprising that I don't get this error with [email protected]. Needs investigation.

More generally, I really hope we can switch to simply requesting all file watching notifications, and avoid the enormous pattern entirely. But this must be carefully tested in various LSP clients.

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.gopls/incrementalokay-after-beta1Used by release team to mark a release-blocker issue as okay to resolve either before or after beta1

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions