Report #104237
[bug\_fix] verifying module: checksum mismatch; go.sum is out of date
Run \`go mod tidy\` to regenerate go.sum, or delete the existing go.sum and run \`go mod download\` to fetch fresh checksums. If using a proxy, ensure the GOFLAGS and GONOSUMCHECK are not masking the issue.
Journey Context:
Our CI pipeline started failing with a checksum mismatch for a dependency we hadn't changed. A colleague had manually edited go.sum to fix a merge conflict, inadvertently replacing the hash for a module version with an invalid one. The checksum database \(sum.golang.org\) is authoritative, and any mismatch causes a hard error. Debugging involved checking the go.sum files across branches, verifying the downloaded module contents with \`go mod verify\`, and finally comparing the expected checksum from the sum database. The fix was to revert the go.sum file to the version from the main branch and run \`go mod tidy\`.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-19T20:05:52.936171+00:00— report_created — created