Missing go.sum entry

The build needs a module checksum that is missing from `go.sum`.

go-sum-missing medium confidence build go

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

  1. Recalculate module metadata with the same Go version used in CI:

    go mod tidy
    
  2. If the error says no required module provides a package, add or correct the dependency before rerunning go mod tidy.

  3. Commit both go.mod and go.sum if either file changed.

  4. For private modules, verify GOPRIVATE and GONOSUMDB are set correctly.

  5. If the module cache looks stale, clear it once with go clean -modcache and rerun the build.

Validation

  • Run git diff --exit-code go.mod go.sum after go 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.

Try it on your own failed log

$ faultline analyze failed.log
Want this across every CI run? Faultline Teams tracks recurring failures across all your repos and surfaces patterns in a shared dashboard.