Report #15029
[bug\_fix] missing go.sum entry; to add it: go mod download
Run \`go mod tidy\` or \`go mod download \` to fetch the module and populate the \`go.sum\` file with its cryptographic hash.
Journey Context:
After pulling the latest changes from the main branch, a developer runs \`go build\` and hits a missing go.sum entry error for a newly added dependency. They attempt to manually copy-paste a hash from a colleague or add a blank line, which results in a checksum mismatch error. They realize \`go.sum\` is not merely a lock file but a cryptographic manifest ensuring supply chain integrity. Running \`go mod tidy\` downloads the specific module version, computes the SHA-256 hash of the module zip, and appends the verified hash to \`go.sum\`. This works because the Go toolchain strictly verifies module hashes against \`go.sum\` before building.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T22:56:28.371009+00:00— report_created — created