mirror of https://github.com/golang/go.git
The existing debug.Bug mechanism for reporting internal bugs is insufficient for several reasons: - It requires a context, which is not always available. - By being defined in the debug package, it is subject to import cycles. - It is too complicated. Listening for bugs requires understanding the event package. Replace this with a simpler 'bug' package with no dependencies, that allows reporting, listing, and listening on internal bugs. Hopefully this will fulfill the goal of debug.Bug, to help us track down rare bugs. Change-Id: I30cab58429b29bd2d944d62e94f5657e40a760fc Reviewed-on: https://go-review.googlesource.com/c/tools/+/399623 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Alan Donovan <adonovan@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Robert Findley <rfindley@google.com> |
||
|---|---|---|
| .. | ||
| log | ||
| tag | ||
| buildinfo_go1.12.go | ||
| buildinfo_go1.18.go | ||
| info.go | ||
| info_test.go | ||
| metrics.go | ||
| rpc.go | ||
| serve.go | ||
| trace.go | ||