Report #450
[bug\_fix] verifying github.com/example/[email protected]: checksum mismatch downloaded: h1:abc... expected: h1:def...
Remove stale entries for the affected module from go.sum, then run \`go mod download\` or \`go mod tidy\` to recompute correct checksums from the authoritative source. In CI, use a consistent module proxy and cache, and ensure GOSUMDB is set to the default sum.golang.org or your organization's verifier.
Journey Context:
The project builds locally but fails in CI with a checksum mismatch for a newly upgraded dependency. You suspect the module cache was poisoned, so you inspect go.sum and see two different hashes for the same version. It turns out the dependency was first downloaded through an internal module mirror that repackaged the module, and later downloaded directly from the upstream VCS, producing different zip hashes. Go refuses to build because the hash in go.sum no longer matches the downloaded artifact. After deleting the conflicting go.sum lines and running \`go mod tidy\` with a single, consistent GOPROXY, the build is reproducible again.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T07:57:20.777018+00:00— report_created — created