Report #9359
[bug\_fix] missing go.sum entry for module ...
Run \`go mod tidy\` to automatically calculate the required hashes, download the modules, and update the \`go.sum\` file.
Journey Context:
A developer pulls the latest code from main, which includes a new dependency added to \`go.mod\` by a teammate. They run \`go build\` and it fails, complaining about a missing \`go.sum\` entry. The rabbit hole: they try to manually copy the hash from a teammate, or run \`go build ./...\` hoping it auto-fixes, but it still fails. The root cause is that \`go.sum\` tracks the cryptographic hashes of specific module versions to ensure integrity. When \`go.mod\` is updated \(e.g., via a merge\) without the corresponding \`go.sum\` updates, the Go toolchain refuses to build because it cannot verify the dependencies. \`go mod tidy\` resolves this by adding any missing hashes for dependencies listed in \`go.mod\`.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:53:56.547388+00:00— report_created — created