cmd/go: spurious "missing go.sum entry" errors #63914
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes (Go 1.21)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Ran this testscript script:
What did you expect to see?
A passing test.
What did you see instead?
It suggests that there's a missing go.sum entry, but
go mod tidy
should have been enough to create that.Interestingly, following the instructions provided in the error message lead us down a little rabbit hole:
If we run
go mod tidy
again, we end up back where we started:The text was updated successfully, but these errors were encountered: