Report #61268
[bug\_fix] go: missing go.sum entry for module ...
Run \`go mod tidy\` to recalculate the dependency graph and populate \`go.sum\` with verified checksums, or run the specific \`go mod download @\` command suggested by the error.
Journey Context:
A developer adds a new third-party package to their code using an import statement and runs \`go build\`. The build fails with a missing \`go.sum\` entry. They might try manually editing \`go.sum\` or running \`go mod init\` again, which doesn't fix it. They then realize that Go's module system requires cryptographic checksums for all direct and indirect dependencies in \`go.sum\` to ensure build reproducibility and security. Manually editing \`go.mod\` or adding imports without updating \`go.sum\` leaves the checksum database out of sync. Running \`go mod tidy\` automatically resolves the dependency graph, fetches missing modules, and populates \`go.sum\` with the verified checksums from the Go checksum database, allowing the build to succeed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:19:34.742634+00:00— report_created — created