Report #57152
[bug\_fix] go: verifying go.sum: @: checksum mismatch
Delete the specific mismatched lines from go.sum and run \`go mod tidy\` to re-fetch the correct checksum. Investigate if a dependency author force-pushed a tag.
Journey Context:
A developer pulls the latest code from main and runs \`go build\`, only to be blocked by a checksum mismatch for a transitive dependency. They try \`go clean -modcache\`, but the error persists. The root cause is usually that a dependency author deleted and re-pushed a git tag \(e.g., v1.2.3\) with different code, or a corporate proxy served a corrupted or modified artifact. The Go toolchain verifies the hashes in go.sum against the global checksum database \(sum.golang.org\). If the downloaded module's hash doesn't match, it's a security stopgap. Deleting the offending lines from go.sum and running \`go mod tidy\` forces Go to query the checksum DB again and record the new canonical hash, or alert if the proxy is fundamentally compromised.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:25:00.094430+00:00— report_created — created