Repository navigation
refactor(analyzer): use the shared lockfile names for config-file discovery - #151
Merged
adityankale190895 merged 1 commit intoNov 16, 2026
Merged
Conversation
…covery 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. |
Member
|
Merged, thank you! Pointing the analyzer at the shared lockfile names, along with the mutation check and the lookalike test, made this an easy review. |
adityankale190895
added a commit
that referenced
this pull request
Nov 16, 2026
…le work Fold #151 and #152, which the credit job appended as raw titles, into the shared lockfile sentence of the README entry, which now names #97. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: adityankale190895 <[email protected]>
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.
discoverConfigFilesinsrc/repo/analyzer.tshad its own copy of the lockfile names, and it was missingnpm-shrinkwrap.json. It now spreadsLOCKFILE_NAMESfromsrc/repo/lockfiles.tsinto the config-name set, so a repository's inventory (profile.configFiles,stats.configFiles) lists a shrinkwrap file like the other lockfiles. Nothing else readsconfigFiles, so planning doesn't change.New test file,
tests/repo/analyzer-lockfiles.test.ts:LOCKFILE_NAMES, a root copy and apackages/web/copy are both listed, andstats.configFilesmatches the list.package-lock.json.bak) isn't listed.Mutation check: without the source change, the
npm-shrinkwrap.jsoncase fails and the other six pass. Added torelease-files.json.npm test(1087 pass, 0 fail),npm run typecheckandnpm run audit:boundarypass.One copy is left in
src/:isConfigFileinsrc/repo/impact.ts. Changing it would movenpm-shrinkwrap.jsonfrom "unknown" to "config" in impact classification, which changes behaviour, so it belongs in a separate PR.