Report #740
[bug\_fix] verifying module: checksum mismatch in go.sum or 'go.sum entry missing'
Remove the corrupt/missing go.sum lines for the affected modules, run \`go mod tidy\`, and commit the regenerated go.sum. If the private module changed, bump its version and update go.mod explicitly instead of hand-editing go.sum.
Journey Context:
After a dependency update, CI started failing with 'go.sum checksum mismatch'. I tried \`go mod download\` and got the same error. My first instinct was to copy the expected checksum from the error message into go.sum, but that just moved the mismatch to the next module. I then noticed that someone had edited go.mod by hand and run \`go mod download\` without \`go mod tidy\`, leaving go.sum partially updated. The correct fix is to let the toolchain regenerate the file: I removed the stale lines for the affected module, ran \`go mod tidy\`, verified the diff only touched expected modules, and committed the result. The build became deterministic again because the toolchain recorded fresh, verified cryptographic checksums for every required module version.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T12:52:33.080503+00:00— report_created — created