Report #73683
[bug\_fix] verifying go.sum: checksum mismatch
Delete the specific offending module entry from \`go.sum\` \(or delete the entire \`go.sum\` file\) and run \`go mod tidy\` to regenerate the correct checksums from the Go checksum database.
Journey Context:
A developer pulls the latest code from main and runs \`go build\`, only to be hit with a checksum mismatch for a specific dependency. They assume the dependency was compromised or the proxy is down. They clear their entire module cache \(\`go clean -modcache\`\) in a panic, but the error persists. The real issue is often a transient proxy error that wrote a corrupted zip, or a previous \`go mod tidy\` that fetched a version that was later re-published with a different hash, causing the local \`go.sum\` to have a stale or incorrect hash. Deleting the entry in \`go.sum\` forces the Go toolchain to re-fetch the module from the proxy and recalculate the hash based on the proxy's trusted checksum database, resolving the local discrepancy and restoring trust.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T06:16:27.421567+00:00— report_created — created