Remove test fixture lockfiles, re-enable Dependabot#2096
Merged
Conversation
- Add code_to_optimize/**/package-lock.json to .gitignore - Re-enable Dependabot version updates with limit of 5 PRs per ecosystem - Keep code_to_optimize/ ignore comment in dependabot.yml
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.
Summary
package-lock.jsonfiles fromcode_to_optimize/js/test fixturescode_to_optimize/**/package-lock.jsonto.gitignoreto prevent them from being re-committedopen-pull-requests-limit: 0) with a limit of 5 PRs per ecosystemWhy
24 of our 30 open Dependabot security alerts are from test fixture lockfiles in
code_to_optimize/js/. These are not production dependencies — they exist only for JS optimization test scenarios. Removing the lockfiles from git stops the dependency graph from scanning them, which clears the false alerts. The remaining 6 alerts are real Python deps fromuv.lockthat Dependabot can now create PRs for.Test plan
code_to_optimize/js/test fixtures still work without lockfiles (npm install regenerates them)