Report #43900
[bug\_fix] verifying go.sum: ... missing
Run \`go mod tidy\` to fetch the missing checksums and update the \`go.sum\` file, then commit the updated \`go.sum\` to version control.
Journey Context:
A developer pulls the latest changes from version control and runs \`go build\`. The build fails with a missing checksum error for a newly added transitive dependency. The developer might think the \`go.sum\` file is corrupted and delete it, or try to manually paste a hash from the internet. The root cause is that a teammate added a dependency but forgot to commit the updated \`go.sum\` file, or the local cache is out of sync. \`go.sum\` is not a lockfile but a verification file. Running \`go mod tidy\` recalculates the required dependencies, fetches their cryptographic hashes from the checksum database, and appends the missing entries to \`go.sum\`, allowing the build to proceed securely.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:09:28.444080+00:00— report_created — created