Dependency version drift
April 30, 2026 ยท View on GitHub
Playbook ID: dependency-drift
Category: build
Severity: medium
Tags: dependencies, lockfile, version
What this failure means
Dependency constraints have drifted apart enough that the package manager cannot compute a valid install plan.
Common log signals
conflicting requirements
dependency conflict
version conflict
incompatible versions
requires a different version
error: there is a conflict
failed to resolve dependencies
dependency resolution failed
Diagnosis
Two or more packages now require incompatible versions of a shared dependency, so resolution fails before installation can begin.
Fix steps
- Re-run dependency resolution from a clean cache or clean environment to confirm the conflict is reproducible.
- Inspect the dependency tree with the native tool, such as
npm ls,pipdeptree,bundle viz, orgo mod graph. - Regenerate the lockfile with the team-standard tool and version, then commit the result instead of hand-editing generated files.
- Pin, upgrade, or replace the conflicting dependency pair so top-level constraints agree on a compatible range.
- If the conflict appears only in CI, align the runtime or package manager version with local development before changing dependency constraints.
Validation
- Re-run dependency resolution from a clean environment.
- Confirm the lockfile and install step complete without version conflicts.
Likely files to inspect
package.jsonpackage-lock.jsonrequirements.txtgo.mod
Run Faultline
faultline analyze build.log
faultline explain dependency-drift
faultline workflow build.log --json --mode agent
Search phrases this page answers
- Dependency version drift
- Build: dependency version drift
- failed to resolve dependencies
- GitHub Actions dependency version drift
- faultline explain dependency-drift
Generated from playbooks/bundled/log/build/dependency-drift.yaml. Do not edit directly โ run make docs-generate.