commit | 3891440736d2429abe0fb6639550c3703bbfc758 | [log] [tgz] |
---|---|---|
author | Zvonimir Pavlinovic <zpavlinovic@google.com> | Fri Apr 07 09:49:25 2023 -0700 |
committer | Zvonimir Pavlinovic <zpavlinovic@google.com> | Sat Apr 08 17:32:43 2023 +0000 |
tree | 088581fe355106e9e20fe9dae435111e1048fac9 | |
parent | 8cfe72b11fb09de28d6e85630b064a2bdbc9ad96 [diff] |
internal/worker: add error classification for analysis Binaries run within the analysis pipeline will often load packages. Hence, they can suffer from the same build errors as govulncheck. Also, we predownload dependencies using `go mod download,` meaning we implicitly require the projects under analysis to be modules. GOPATH projects will also result in errors similar to the one for govulncheck. This CL adds error categorization that apply to analysis. Change-Id: I998076eafd3cff4f942acd6bfb20f877f4731cbf Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/483115 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
This repository contains code that serves pkg.go.dev/metrics.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.