Report #58594
[bug\_fix] go: @: verifying go.sum: checksum mismatch
Delete the mismatched entry from the go.sum file and run \`go mod tidy\`, or clear the local module cache using \`go clean -modcache\` if the cached artifact is corrupted.
Journey Context:
A developer pulls the latest changes from version control and runs \`go build\`, only to be blocked by a checksum mismatch error. They might try deleting the entire go.sum file, which leads to further resolution errors, or they might suspect a supply chain attack. The actual root cause is usually that a dependency author re-pushed a different commit to the same version tag \(violating Go's immutability expectations\), or the local module cache got corrupted during a failed network request. Deleting the specific line from go.sum and running \`go mod tidy\` forces Go to re-fetch the module, recalculate the hash, and update the ledger. If the public proxy is serving the correct version, this resolves it; if not, the developer must upgrade to a newer, uncorrupted version of the dependency.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T04:50:17.211279+00:00— report_created — created