Skip to content
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

src: prompt user to file an issue after gopls crashes #34

Closed
wants to merge 9 commits into from
Closed

src: prompt user to file an issue after gopls crashes #34

wants to merge 9 commits into from

Conversation

stamblerre
Copy link
Contributor

@stamblerre stamblerre commented May 12, 2020

This change adds support for filing a gopls issue when the user restarts gopls or when gopls crashes. In a follow-up, we might be able to suggest attaching the gopls log.

The suggestion to file an issue after a manual restart is disabled by default for now. We can enable it once gopls is more stable. I'm moving the bulk of https://golang.org/cl/232863 here so that I can work on refactoring the env variables separately without causing a ton of merge conflicts.

Change-Id: Iae5b6e442f2ffd6b99b7f21b9d1e82ab598d0740
@googlebot googlebot added the cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change. label May 12, 2020
@gopherbot
Copy link
Collaborator

This PR (HEAD: 7868436) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/vscode-go/+/233325 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@stamblerre stamblerre changed the title prompt for filing an issue after the server crashes src: prompt user to file an issue after gopls crashes May 12, 2020
@gopherbot
Copy link
Collaborator

Message from Rebecca Stambler:

Patch Set 2:

This CL is mostly a copy of CL 232863. I wanted to separate out from this larger refactor.


Please don’t reply on this GitHub thread. Visit golang.org/cl/233325.
After addressing review feedback, remember to publish your drafts!

Change-Id: I563d69145a03ef890e3179dd5a4930661658599b
@gopherbot
Copy link
Collaborator

This PR (HEAD: f43e680) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/vscode-go/+/233325 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

hyangah added 3 commits May 12, 2020 03:58
And also fix test failure detection.
Previously, only the integration test failure was counted.

Change-Id: Ia39918e7c950bd7754f6641429c0ccaa87bf467f
GitHub-Last-Rev: 34f4e01
GitHub-Pull-Request: #33
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/233319
Reviewed-by: Rebecca Stambler <[email protected]>
And change back to the version from upstream.
That will ease the sync process and less confusing during migration.

Change-Id: I6b3a7e2157bdc586f9f5052ec1db46a86bbaed01
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/232459
Reviewed-by: Rebecca Stambler <[email protected]>
Until the gopls test becomes less flaky, don't block the nightly release.

Update #37

Change-Id: I8016d26f8775c247576da7ea39a69858579ce3ec
GitHub-Last-Rev: 793867b
GitHub-Pull-Request: #38
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/233558
Reviewed-by: Rebecca Stambler <[email protected]>
@gopherbot
Copy link
Collaborator

Message from Hyang-Ah Hana Kim:

Patch Set 4: Code-Review+2

(2 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/233325.
After addressing review feedback, remember to publish your drafts!

Change-Id: Iae5b6e442f2ffd6b99b7f21b9d1e82ab598d0740
Change-Id: I563d69145a03ef890e3179dd5a4930661658599b
Change-Id: I4c39e8fd398a24e557dc17eee2419022a6c11746
Change-Id: I6d18166a41c297713142085f1504e405233793bf
@gopherbot
Copy link
Collaborator

This PR (HEAD: df990d7) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/vscode-go/+/233325 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Collaborator

Message from Rebecca Stambler:

Patch Set 4:

(2 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/233325.
After addressing review feedback, remember to publish your drafts!

gopherbot pushed a commit that referenced this pull request May 12, 2020
This change adds support for filing a gopls issue when the user restarts `gopls` or when `gopls` crashes. In a follow-up, we might be able to suggest attaching the `gopls` log.

The suggestion to file an issue after a manual restart is disabled by default for now. We can enable it once gopls is more stable. I'm moving the bulk of https://golang.org/cl/232863 here so that I can work on refactoring the env variables separately without causing a ton of merge conflicts.

Change-Id: I0c98bd526562dd50bdc7b127ddfb95f7de926075
GitHub-Last-Rev: df990d7
GitHub-Pull-Request: #34
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/233325
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
@gopherbot
Copy link
Collaborator

This PR is being closed because golang.org/cl/233325 has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants