-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix Patch aliases usage (issue #31396) #38239
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
base: 2.4-develop
Are you sure you want to change the base?
Conversation
Hi @thomas-kl1. Thank you for your contribution! Add the comment under your pull request to deploy test or vanilla Magento instance:
❗ Automated tests can be triggered manually with an appropriate comment:
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
Functional tests failures are not related to the PR. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
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.
Hello @thomas-kl1,
Thanks for the contribution!
In this PR, you have attached this PR as a related pull request. As the related pull request is closed due this, we have closed the same.
Can we remove the above PR from this PR, so that we can move forward with this PR? Please update us on this, meanwhile we are moving this PR On Hold
.
Thanks
@engcom-Hotel I've updated this PR description and removed the reference. |
@magento run all tests |
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.
Regarding static test failures, it's related to the copyright header change, I'll check, could you give the new copyright to apply please? Units tests failure are not related to this PR and seems related to RMA changes (not in scope of this PR): Webapi tests, I dont see how it's related to this PR change 🤔 Functional tests, I dont see how it's related to this PR change 🤔 |
@magento run all tests |
Description (*)
Currently the aliases are useless and have no meaningful usage in codebase.
See documentation: https://developer.adobe.com/commerce/php/development/components/declarative-schema/patches/
Fixed Issues (if relevant)
setup:upgrade
#31396Manual testing scenarios (*)
Add a patch with aliases
None of the aliases must exists in db
Run setup:upgrade
The patch and its aliases are added to patch_list table
Add a patch with aliases
Any of its aliases must exists in db
Run setup:upgrade
The patch is not ran because it's already applied previously by one of its aliases
Questions or comments
I did not edit the \Magento\Framework\Setup\Patch\PatchHistory::isApplied for BC purpose.
However it would have been better to have this method updated to get a PatchInterface as an argument and check for its aliases there.
A similarity attempt was tried here:#37682 but can be ignored
Contribution checklist (*)