drush icon indicating copy to clipboard operation
drush copied to clipboard

Ensure the order of database updates shown is consistent with how it would actually run

Open codebymikey opened this issue 2 months ago • 3 comments

Currently the database update is listed in alphabetical order, rather than the actual order it would run.

This is especially the case when the hook_update_dependencies hook is incorporated.

Still need tests and some minor coding standards fixes, but pushing this up just so I don't lose/forget it.

codebymikey avatar Oct 03 '25 16:10 codebymikey

I notice that this is in Draft. Please remove draft whenever this is ready for review. No rush. Thanks.

weitzman avatar Oct 07 '25 00:10 weitzman

Added the tests, current upstream failures are related to the https://www.drupal.org/project/drupal/issues/3447617 issue.

codebymikey avatar Oct 10 '25 17:10 codebymikey

This looks like an excellent improvement Thanks for the tests.

Alas, this PR has to go into 14.x as well and there have been a few changes there (symfony console related). Whats easiest? Want me to merge this and would you be available to make a 14.x PR?

weitzman avatar Oct 26 '25 16:10 weitzman