golang/go
View on GitHubx/tools/gopls: use telemetry library to check if completion exceeded its timeout
Open
#38,277 opened on Apr 6, 2020
Toolsgoplshelp wanted
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
As part of debugging https://github.com/golang/go/issues/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