Report #103411
[bug\_fix] go.sum missing or verification failed for module example.com/[email protected]
Run \`go mod tidy\` in a trusted environment with network access so the Go tool can fetch missing checksums and write them to go.sum. If you are vendoring, run \`go mod vendor\` after tidy. Commit both go.mod and go.sum together; do not delete go.sum to silence the error.
Journey Context:
A CI build fails with \`verifying example.com/[email protected]: checksum mismatch\` or \`missing go.sum entry\`. The developer first tries \`go clean -modcache\`, but the CI runner has no network and the error becomes \`cannot find module\`. They try deleting go.sum, which only moves the failure to the next dependency. They read the error closely and notice it names a specific module and version. Running \`go mod tidy\` locally downloads the module through GOPROXY, records its cryptographic hash in go.sum, and resolves transitive requirements. The commit now includes the updated go.sum, and CI passes because the toolchain can verify every module against the recorded checksums.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:21:14.181037+00:00— report_created — created