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
Lockfile signal misses bun.lock and npm-shrinkwrap.json #47
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.
computeAnalysis in src/git/git-diff.ts (around line 402) detects lockfiles with /^(?:package-lock\.json|yarn\.lock|pnpm-lock\.yaml|bun\.lockb)$/. Bun's text lockfile bun.lock and npm-shrinkwrap.json are not matched, although src/planner/check-narrowing.ts and src/repo/analyzer.ts already treat both as lockfiles.
Done when: the regex matches bun.lock and npm-shrinkwrap.json, ideally by sharing one LOCKFILE constant instead of the four copies in src/, and tests/git/git-diff.analysis.test.ts has a case for each.
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.
Activity
fix: recognize bun.lock and npm-shrinkwrap.json in the git-diff lockf…