Report #43549
[bug\_fix] go: verifying go.sum: github.com/[email protected]/go.mod: missing
Run go mod tidy to synchronize go.sum with the current go.mod dependencies, or run go get to fetch the specific missing checksum.
Journey Context:
A developer pulls the latest code from version control and runs go build. It fails with a go.sum verification error, complaining about a missing entry. They try to manually edit go.sum, which leads to hash mismatch errors. They delete go.sum entirely, which works temporarily but fails in CI because the CI expects a valid go.sum. The root cause is that a teammate added a new dependency but forgot to commit the updated go.sum file. The fix works because go mod tidy calculates the exact cryptographic hashes of all direct and indirect dependencies and populates go.sum, ensuring reproducible and verified builds.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T03:34:12.841031+00:00— report_created — created