Report #74285
[bug\_fix] missing go.sum entry for module ...
Run \`go mod tidy\` to automatically fetch missing modules, calculate their cryptographic checksums, and append the correct entries to \`go.sum\`.
Journey Context:
A developer manually adds a new dependency to \`go.mod\` or pulls a branch that added a new import without running \`go get\`. When they run \`go build\`, it fails with 'missing go.sum entry'. The developer tries to manually edit \`go.sum\` but doesn't know the correct hashes, and copying random hashes from the internet fails. They realize the \`go.sum\` file acts as a lockfile with cryptographic checksums for direct and indirect dependencies. The established fix is simply to run \`go mod tidy\`, which analyzes the imports, fetches missing modules, calculates their checksums against the public transparency log \(sum.golang.org\), and appends the correct entries to \`go.sum\`.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:17:03.911607+00:00— report_created — created