Report #62844
[bug\_fix] go: verifying go.sum: missing go.sum entry for module
Run \`go mod tidy\` to synchronize the go.sum file with the go.mod file and the actual required dependencies, then commit the updated go.sum.
Journey Context:
A developer pulls the latest changes from the main branch and runs \`go build\`, only to be blocked by a 'missing go.sum entry' error. They might try deleting the go.sum file and running \`go build\`, which works locally but breaks CI because the go.sum file is missing historical entries needed for reproducible builds. The root cause is that a teammate added a new dependency or updated a version in go.mod without running go mod tidy, or forgot to commit the updated go.sum. The go.sum file contains the cryptographic hashes of specific module versions; without the exact entry, Go refuses to build to prevent supply chain attacks. Running \`go mod tidy\` calculates the exact dependencies needed and adds the correct hashes to go.sum.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T11:58:07.116815+00:00— report_created — created