Report #13337
[bug\_fix] go: @: missing go.sum entry
Run \`go mod tidy\` to calculate the exact dependency graph and add the missing cryptographic hashes to go.sum, or \`go get @\` to fetch the specific missing entry.
Journey Context:
A developer adds a new import to their code and runs \`go build\`. The build fails with a missing go.sum entry. The developer might try manually copying a hash from a colleague or editing go.sum, which leads to further checksum errors. The root cause is that Go's module system requires every dependency to have a verified cryptographic hash in go.sum before building, to ensure supply chain security. Simply adding the import doesn't fetch the hash. \`go mod tidy\` synchronizes the go.sum file with the actual imports in the codebase, fetching the missing modules and recording their hashes safely.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T18:25:17.208530+00:00— report_created — created