Matched signals
- missing go.sum entry for module providing package
- go.sum file is not up to date
- verifying module
- no required module provides
- go.sum entry missing
- go.sum entry not in vendor
- partial content
Missing go.sum entry
What this failure means
The build needs a module checksum that is missing from go.sum.
Symptoms
Faultline looks for one or more of these log fragments:
missing go.sum entry for module providing package
go.sum file is not up to date
verifying module
no required module provides
go.sum entry missing
go.sum entry not in vendor
partial content
Diagnosis
Go refused to continue because the dependency graph references a module version that does not have a matching checksum entry in go.sum.
This usually happens after dependency changes were made locally without committing the resulting module metadata.
Fix steps
-
Recalculate module metadata with the same Go version used in CI:
go mod tidy -
If the error says no required module provides a package, add or correct the dependency before rerunning
go mod tidy. -
Commit both
go.modandgo.sumif either file changed. -
For private modules, verify
GOPRIVATEandGONOSUMDBare set correctly. -
If the module cache looks stale, clear it once with
go clean -modcacheand rerun the build.
Validation
- Run
git diff --exit-code go.mod go.sumaftergo mod tidy. - Re-run
go test ./.... - Confirm CI no longer reports a missing checksum entry.
Why it matters
go.sum is part of Go’s reproducibility contract. If CI cannot verify module checksums, the build stops instead of guessing.
Try it locally
go mod tidy
go test ./...
git diff --exit-code go.mod go.sum
go test ./...
How Faultline detects it
Use faultline explain go-sum-missing to see the full playbook.
faultline analyze build.log
faultline explain go-sum-missing
Generated from playbooks/bundled/log/build/go-sum-missing.yaml. Do not edit directly.