Binary Search for Failing Updates in Doctor Mode #1492
TimKochDev
started this conversation in
Ideas
Replies: 1 comment
-
Yes! That’s a great idea, and something I've wanted for a long time. The only downside to that approach is that you don't find out all of the packages that fail. The linear approach gives you all of the successful upgrades at the end. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I found
npm-check-updates
only today and I am loving it!From the main
readme.md
:Since I was a bit lazy updating my dependencies, I had to update 20 packages today. One update broke my tests.
Wouldn't it be faster if the "doctor" wouldn't test each update individually (after the accumulated updates failed) but instead would do an accumulated update of half of the packages and test them all at once? Like using binary search to find the failing update(s)?
Beta Was this translation helpful? Give feedback.
All reactions