Repository navigation
feat(ci): enforce min release age for npm dep installation - #43164
Conversation
Code Review Agent Run #1a5949Actionable Suggestions - 0Filtered by Review RulesBito filtered these suggestions based on rules created automatically for your feedback. Manage rules.
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #43164 +/- ##
=======================================
Coverage 79.21% 79.21%
=======================================
Files 2879 2879
Lines 165922 165922
Branches 38377 38377
=======================================
Hits 131427 131427
Misses 32018 32018
Partials 2477 2477
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Code Review Agent Run #d0040bActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
| @@ -0,0 +1 @@ | |||
| min-release-age=3 | |||
There was a problem hiding this comment.
This install policy is paired with a lockfile that no longer satisfies packages/superset-ui-core's dompurify: ^3.4.13 requirement: the remaining hoisted entry is 3.4.12 after the 3.4.13 nested entry was removed. That makes a clean frontend install fail or re-resolve outside the lock; should the lockfile be regenerated so it retains a compatible DOMPurify resolution?
|
Yes, the lockfile should be regenerated. Removing the nested |
|
Heya @hainenber, thanks for this! Mergeable, but the open thread from @sadpandajoe (dropping the nested |
|
Resolved after merging master. Let's see if the CI going green. Thanks for checking by @rusackas! |
|
@hainenber double-checked the lockfile at 8db0f03 and it's still just the one dompurify entry, 3.4.12, nothing satisfying superset-ui-core's ^3.4.13. Mind confirming npm actually re-resolved that before we call it settled? |
|
I kept running I've fixed in latest HEAD commit |
|
Tests have failed a couple times here... can you check to see if it's a real problem? |
Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
9ceb6fa to
6ea4727
Compare
|
Bito Automatic Review Skipped – PR Already Merged |
Signed-off-by: hainenber <dotronghai96@gmail.com>
feat(ci): enforce min release age for npm dep installation
SUMMARY
Closes #42983
Enforce
npmdep installation process to not download packages that were released too young, to avoid supply-chain attacks.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TESTING INSTRUCTIONS
Green CI as acceptance threshold
ADDITIONAL INFORMATION