Report #895
[bug\_fix] verifying module: checksum mismatch
Delete the stale go.sum lines for the affected module, run \`go mod tidy\`, and rebuild. If the module is private or lives behind a corporate proxy, configure \`GOPRIVATE=\*.corp.example.com\` \(or \`GONOSUMDB\`\) so the go command skips the public checksum database. Commit the regenerated go.sum so CI and teammates share the same hashes.
Journey Context:
A teammate force-pushed a rewritten tag for an internal dependency. CI started failing with \`verifying example.com/platform/[email protected]/go.mod: checksum mismatch\`, while my laptop still built fine because it had the old zip in \`$GOMODCACHE\`. I compared \`go.sum\` entries across branches, saw the hash had changed, and realized the tag was moved. After confirming the new commit was legitimate, I removed the old \`go.sum\` lines, ran \`go mod tidy\`, and set \`GOPRIVATE=\*.corp.example.com\` so our private tags were not checked against \`sum.golang.org\`. The build went green once the committed \`go.sum\` matched the proxy's current view.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T14:55:30.272878+00:00— report_created — created