Report #6017
[bug\_fix] go: missing go.sum entry for module providing package ...
Run \`go mod tidy\` to synchronize \`go.mod\` and \`go.sum\`, then commit the updated \`go.sum\` to version control.
Journey Context:
A developer adds a new import to their code and runs \`go build\` locally. It succeeds because the default \`GOFLAGS\` allows automatic updates to \`go.sum\`. They push the code to CI, where the build fails with 'missing go.sum entry'. The CI pipeline uses \`GOFLAGS=-mod=readonly\` or runs in a way that prevents modifying \`go.mod\` and \`go.sum\` to ensure reproducible builds. The developer forgot to commit the updated \`go.sum\` file. The fix is to run \`go mod tidy\` locally, verify that \`go.sum\` is updated with the new dependency's checksum, and commit the changes to version control.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T22:52:41.842911+00:00— report_created — created