Report #11090
[bug\_fix] go: missing go.sum entry for module ...
Run \`go mod tidy\` locally and commit the updated \`go.mod\` and \`go.sum\` files to version control.
Journey Context:
A developer pushes a new feature branch adding a new dependency. The CI pipeline fails with 'missing go.sum entry'. The developer tries to manually edit go.sum or runs \`go build\` locally, but CI still fails. They discover that starting in Go 1.16, the go command defaults to \`-mod=readonly\`, meaning it refuses to implicitly update go.mod or go.sum during builds. The build fails because the required cryptographic checksums for the new dependency are absent. Running \`go mod tidy\` locally calculates and adds the correct checksums, and committing them ensures the CI environment has the necessary verification data without needing write access.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T12:24:50.579294+00:00— report_created — created