cmd/go: sumdb errors constructed with malformed versions #41060
Labels
FrozenDueToAge
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Milestone
An error message from https://build.golang.org/log/e817e5df39a7cf17e3f5825197b32eb482d453f3 demonstrates an awkward edge-case of CL 247765:
Somehow, the sumdb error path is generating either a
module.ModuleError
or amodule.InvalidVersionError
with the version set tov0.3.2/go.mod
instead of the correctv0.3.2
.This looks like an existing bug exposed by improved logging, but since the bug is being exposed in Go 1.16, it should also be fixed in Go 1.16 (or else we can back out CL 247765 and make the failure messages worse in the typical case again).
CC @jayconrod @matloob
The text was updated successfully, but these errors were encountered: