Report #97208
[bug\_fix] verifying github.com/example/[email protected]: checksum mismatch; expected h1:abc..., got h1:def... \(go.sum verification failure\)
Run 'go mod tidy' to recompute missing or changed checksums. If the proxy cache is stale or the module was re-tagged, clear the module cache with 'go clean -modcache' and rebuild with 'GOPROXY=direct go mod tidy'. For vendored projects, keep vendor/modules.txt in sync and run 'go mod verify' in CI.
Journey Context:
A teammate opened a branch and CI failed immediately with a checksum mismatch on a dependency. On my machine the build passed because the module zip was already cached. The go.sum file had been committed after someone force-pushed a tag. We deleted go.sum, ran 'go clean -modcache', and rebuilt with GOPROXY=direct so the toolchain fetched the exact git content instead of a stale proxy zip. The regenerated go.sum matched across machines and CI.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-25T04:43:41.224272+00:00— report_created — created