Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: upgrade deps and improve upgrade task resiliency #1698

Merged
merged 3 commits into from
Mar 21, 2022

Conversation

Chriscbr
Copy link
Contributor

@Chriscbr Chriscbr commented Mar 21, 2022

The current upgrade workflow is failing because a previous upgrade updated us to using a buggy version of a transitive dependency (lru-cache@7.7.0), which is being used by the very npm-check-updates package we are using in the workflow. The bug was fixed in lru-cache@7.7.1, but since the workflow is using the bugged version, we can't pick up the dependency automatically. So to fix it workflow, we need to manually upgrade the outdated version of npm-check-updates.

To prevent this failure in the future, I've updated the upgrade task to try to upgrade npm-check-updates before everything else. Not strictly necessary, but it should eliminate this kind of (rare) failure mode.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license

@Chriscbr Chriscbr requested a review from a team March 21, 2022 16:30
@mergify mergify bot added the contribution/core ⚙️ used by automation label Mar 21, 2022
Signed-off-by: github-actions <github-actions@github.com>
@Chriscbr Chriscbr merged commit 2f12cb0 into main Mar 21, 2022
@Chriscbr Chriscbr deleted the rybickic/upgrade-deps branch March 21, 2022 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core ⚙️ used by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants