-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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(core): Unload any existing version of a community nodes package before upgrading it #11727
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
|
n8n Run #7981
Run Properties:
|
Project |
n8n
|
Branch Review |
PAY-2233-fix-community-package-upgrade
|
Run status |
Passed #7981
|
Run duration | 04m 47s |
Commit |
4bd920d6cf: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/*
|
Committer | कारतोफ्फेलस्क्रिप्ट™ |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
477
|
View all changes introduced in this branch ↗︎ |
|
6fdb479
to
103120d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and nodes upgrade.
|
1 similar comment
|
103120d
to
6f5240b
Compare
6f5240b
to
4bd920d
Compare
had to rebase to get the e2e fix in. |
✅ All Cypress E2E specs passed |
Got released with |
Summary
This broke because in #10979 we added a check to prevent loading a second copy of a nodes package.
This PR updates the community package install/upgrade code to first unload the current copy of the package
Related Linear tickets, Github issues, and Community forum posts
Fixes #11723
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)