Repository navigation
fix(research): use the shared LOCKFILE in the generic path baseline - #148
Merged
adityankale190895 merged 1 commit intoNov 16, 2026
Conversation
The research path baseline spelled out the lockfile names and missed npm-shrinkwrap.json, so a change to it alone did not trigger the full fallback. Use LOCKFILE from src/repo/lockfiles.ts, the last hand-written copy in src/. Part of DiffCI#97 Signed-off-by: sarankumar1325 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #97. This is the last of the three copies listed in your comment on #97 (the
evidence.tsandplanner/path-baseline.tscopies were #146 and #147).Change
src/research/baseline/path-baseline.tsglobalFallbackPatternlisted the JavaScript lockfiles by hand and left outnpm-shrinkwrap.json, so a change to that file alone didn't trigger the generic baseline's full fallback. It now checksLOCKFILE.test(p)fromsrc/repo/lockfiles.ts. The non-lockfile manifests (package.json,go.mod,go.sum,Cargo.lock,pyproject.tomland so on) stay in their list, unchanged.LOCKFILEis anchored, like the oldincludescheck, so only a root-level lockfile counts.Tests
There's a new
tests/research/baseline/path-baseline.test.ts, added torelease-files.json:LOCKFILE_NAMES: a change to only that file selects every task, withfallbackRequiredand theglobal/dependency/config/workflow -> full fallbackrule. With the source change reverted, thenpm-shrinkwrap.jsoncase fails.package.json,go.sum,Cargo.lockandpyproject.tomlstill fall back.src/fixtures/package-lock.jsonisn't treated as a root dependency change.npm testgives 1082 passed.npm run typecheckandnpm run audit:boundarypass.A side note, not changed here:
src/repo/impact.ts:55CONFIG_FILE_NAMESalso lists lockfiles (withoutnpm-shrinkwrap.json), next to tsconfig names. It wasn't in your list, and it feeds config-change behaviour, so I left it for you to decide.Signed off for the DCO. Written with an AI coding assistant; I reviewed the diff and ran the checks.