Report #29112
[bug\_fix] go: verifying go.sum: missing go.sum entry for module github.com/lib/[email protected]
Run \`go mod tidy\` to add the missing checksums to \`go.sum\`, ensuring the dependency tree is fully resolved and verified.
Journey Context:
A developer pulls the latest changes from their version control system, which includes a newly added dependency in \`go.mod\`. They run \`go test\` and immediately hit a verification error. They attempt to manually copy a hash into \`go.sum\` from a colleague, but get a checksum mismatch. They try deleting \`go.sum\` entirely, which leads to other dependency resolution errors. The root cause is that \`go.sum\` acts as a cryptographic ledger of dependencies, and it must be updated locally whenever \`go.mod\` changes. Running \`go mod tidy\` recalculates the exact dependency tree, fetches the missing modules, and automatically appends the correct cryptographic hashes to \`go.sum\`.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:15:36.555875+00:00— report_created — created