go
modules
ai_generated
true
missing go.sum entry for module
ID: go/missing-go-sum-entry
97%Fix Rate
98%Confidence
50Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 121 | active | — | — | — |
Root Cause
Dependency checksum not recorded in go.sum file.
genericWorkarounds
-
97% success Run go mod tidy to update go.sum with correct entries
Adds missing entries and removes unused ones
Sources: https://go.dev/ref/mod#go-mod-tidy
-
92% success Run go mod download to download and verify all dependencies
Downloads all modules and updates go.sum
Dead Ends
Common approaches that don't work:
-
Deleting go.sum and recreating
60% fail
Removes all verified checksums; next build verifies from scratch against a potentially compromised source
-
Setting GONOSUMCHECK to skip verification
85% fail
Disables tamper detection for dependencies
Error Chain
Frequently confused with: