commit | 6c79bfd08042c38f0985b0426f5987ddeda279f7 | [log] [tgz] |
---|---|---|
author | Zvonimir Pavlinovic <zpavlinovic@google.com> | Fri Jun 09 12:23:41 2023 -0700 |
committer | Zvonimir Pavlinovic <zpavlinovic@google.com> | Tue Jun 13 15:09:35 2023 +0000 |
tree | b7260dde6b4526e8fc069eed06c34b876435ee25 | |
parent | 534e32b9a243904916539c21db6e0e7ffbc429a6 [diff] |
internal/worker: extend the the notion of unrecoverable error So far, unrecoverable errors for govulncheck were those where a go.mod file is missing, i.e., the project is not a module. As of recently, we can also be certain that a project is simply not buildable, i.e., go build ./... would effectively fail. We now skip analyzing such projects as well. Note that we will skip such projects only if their latest version has not changed. Otherwise, we will re-analyze the project. In practice, this saves a lot of computation since projects that do not build or do not have go.mod file are, for the most part, either not maintained or rarely updated. Change-Id: Ibc24988840b115c235074c3324a24217230a2cdf Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/502136 Reviewed-by: Maceo Thompson <maceothompson@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@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.