Skip to content

x/tools/gopls: use telemetry library to check if completion exceeded its timeout #38277

Open
@stamblerre

Description

@stamblerre

As part of debugging #38269, we've been discussing how we can indicate in tests that completion failed because of a timeout instead of a genuine failure. We don't want to return an error in this case because we still want to return whatever completion items we were able to produce before the timeout. @findleyr suggested that we could use the telemetry library for this.

/cc @ianthehat

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions