-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Modules sort order in config.php is being inconsistent #16116 #16120
Modules sort order in config.php is being inconsistent #16116 #16120
Conversation
|
Hi @comdiler. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
To me it looks like this change breaks order of modules declared by |
@orlangur I do pre-sorting of sequence modules for each module before main bubble sorting. |
@orlangur got it, thank you. Yeah, editing it manually would be strange... We just keep it in repo just like composer.lock in order to keep same system state team-wide. |
@comdiler got it! I don't remember if it behaved like this before, AFAIR old case was about instability only when you add/remove module. |
Hi @comdiler , please, sign CLA, otherwise, we can't process your pull request |
Sorry for intruding in here, but I have some interest in this subject and I have some questions/remarks: @comdiler: I'm not able to reproduce your steps, am I missing something obvious here? @orlangur's comment is correct, the order only changes when you add/remove a module, not every time you run Also: by applying your suggestions to a couple of my projects with a whole bunch of 3rd party modules installed also doesn't change anything in the So I'm a bit confused, since Magento people both in this PR as in the issue you refer to seem to confirm that the issue is happening, but I fail to see it ... |
Hi @comdiler , I am closing this PR now due to inactivity. |
Description
Modules sort order in config.php is being inconsistent when no changes being made and running setup:upgrade
Fixed Issues
Manual testing scenarios
Contribution checklist