Report #75501
[bug\_fix] go: verifying example.com/[email protected]: go.sum: missing or invalid checksum
Run go mod tidy or go get example.com/[email protected] to update the go.sum file with the correct checksums from the Go checksum database.
Journey Context:
A developer pulls the latest changes from the main branch and runs go build. The build fails with a checksum error. They try deleting the go.sum file and rebuilding, which works locally, but CI fails. They suspect a corrupted download or a malicious dependency. They investigate the Go checksum database and realize that a coworker manually edited go.mod or used a different proxy that served a slightly different zip \(e.g., due to a git rebase forcing a re-tag\). The go.sum in version control doesn't match the new tag's hash. Running go mod tidy recalculates the exact hashes required, aligning the local go.sum with the checksum database and the actual dependency tree.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T09:19:35.366729+00:00— report_created — created