-
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. |
@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 |
@magento run all tests |
@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/
Related Pull Requests
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.
Contribution checklist (*)