You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pnpm lockfile: report which dependencies changed #49
Context: on a replay of one production app's history, DiffCI fell back to the full suite on 58% of commits, mostly because config, package.json, workflow or lockfile changes forced it to. Narrowing those safely is the main open problem.
For package-lock.json, npmLockAffectedDependencies (src/repo/npm-lockfile.ts) works out which direct dependencies a lockfile change touches, so a bump can be narrowed to the tests that import them. pnpm-lock.yaml has no equivalent and always falls back.
Done when: a pnpmLockAffectedDependencies with the same contract exists, it is wired in next to the npm call in src/git/git-diff.ts (around line 596), and it has fixtures for a single bump, a transitive-only bump, and an unparseable file (which must fall back).
New to DiffCI? See CONTRIBUTING.md: add a synthetic fixture, run npm test, and sign off commits with git commit -s. Comment here to claim the issue.
Done in c0c55ba: pnpm-lock.yaml changes are now attributed to the direct dependencies they reach, so a bump can be narrowed to the tests that import them. Closing.
Activity
adityankale190895 commentedon Nov 16, 2026
Done in c0c55ba:
pnpm-lock.yamlchanges are now attributed to the direct dependencies they reach, so a bump can be narrowed to the tests that import them. Closing.