-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gopls: investigate why we still see many empty gopls automated issue reports #984
Labels
Milestone
Comments
Change https://golang.org/cl/274449 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Dec 4, 2020
Now we report the log collection failure reason when we fail to capture and sanitize gopls log automatically. And, we configure the lsp client to show the output channel in case of error events, and also try to read the trace output three times just in case the output window wasn't able to be shown yet. The choice of all the constants here (trying 3 times, sleeping, 10 or 20 ms sleep) is all arbitrary. Can work or not. Testing is hard. The report includes the extension version and the editor name info to help us checking whether users are using the latest extension version and the usual editor application. For #984 Change-Id: I6e307314e0556520b76a8e444e6b0f861575efd2 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/274449 Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Peter Weinberger <pjw@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Change https://golang.org/cl/276553 mentions this issue: |
Change https://go.dev/cl/539415 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My guess is a race condition - gopls trace output window should be shown before the automated issue report logic can read and process the output. But there could be other issues such as unexpected output formats. Investigate and improve the robustness.
The text was updated successfully, but these errors were encountered: