Report #7679
[bug\_fix] go: verifying go.mod: ... missing go.sum entry; to add it: go mod download ...
Run \`go mod tidy\` to ensure go.mod and go.sum are synchronized with the current source code imports, then commit the updated go.sum file.
Journey Context:
A developer pulls the latest main branch and runs \`go build\`, only to be blocked by a 'missing go.sum entry' error. They try manually copying a hash from a colleague or running \`go mod download\`, but the error persists or morphs into a 'checksum mismatch'. The rabbit hole involves suspecting proxy issues or corrupted caches. The real root cause is that a teammate added a new import but forgot to commit the updated go.sum file. go.sum acts as a cryptographic ledger of dependencies. Running \`go mod tidy\` works because it traverses the import graph, fetches any missing modules, calculates their hashes, and appends the correct entries to go.sum, restoring the integrity checks required by the Go toolchain.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T03:22:58.100634+00:00— report_created — created