Report #104666
[bug\_fix] go: verifying module: checksum mismatch \(or 'go: checksum mismatch: ...'\)
Delete the offending entry in go.sum and run \`go mod tidy\` to regenerate the correct checksum. For private modules, set the environment variables \`GONOSUMCHECK\` or \`GONOSUMDB\` to skip the checksum database.
Journey Context:
A developer added a dependency from a private Git repository that is not in the public checksum database. The build failed with a checksum mismatch because the local go.sum contained a hash from a previous download that differed from the sum database entry. After reading the error, they identified the module and version. They removed the corresponding line in go.sum, ran \`go mod tidy\`, and the correct checksum was computed from the downloaded module. For the private module, they also set \`GONOSUMCHECK=\*\` in their environment to prevent future mismatches. The build then completed successfully.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-09-20T20:06:20.286958+00:00— report_created — created