Report #80651
[bug\_fix] go: verifying example.com/[email protected]/go.mod: checksum mismatch
Delete the specific module entries from \`go.sum\` and run \`go mod tidy\` to regenerate the correct hashes.
Journey Context:
A developer pulls the latest main branch and runs \`go build\`, but it fails with a checksum mismatch for a third-party dependency. They try \`go get -u\` and clearing the module cache \(\`go clean -modcache\`\), but the build still fails. The issue is that the \`go.sum\` file in their workspace contains stale or incorrect hashes \(perhaps a dependency was re-published with the same tag but different content, or a merge conflict corrupted it\). Since \`go.sum\` is strictly verified, the corrupted entries must be deleted. Removing the offending lines and running \`go mod tidy\` allows Go to re-fetch the module and compute the correct, verified checksum.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:58:50.031117+00:00— report_created — created