You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gopls/internal/bug: record bug reports in file cache
This change causes bug.Report to save a copy of the bug report
in the file cache, and the 'gopls stats' command to report
all such bug reports associated with the same executable.
The bug.Notify mechanism was made synchronous (and renamed
bug.Handle) so that the handler has time to record the
report before the process terminates. The handler is
registered early during filecache initialization.
The test uses an undocumented environment variable,
TEST_GOPLS_BUG, which causes the stats command (!)
to simply report a bug and return.
Change-Id: I8b84ad3b8f05386844f00faf5728106495b56294
Reviewed-on: https://go-review.googlesource.com/c/tools/+/488795
Run-TryBot: Alan Donovan <[email protected]>
gopls-CI: kokoro <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
Auto-Submit: Alan Donovan <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
0 commit comments