When requiring drush, do it with the -W param

Issue information

From user: fjgarlin

Related to !183 (merged)

Contribution record

Fork management

Problem/Motivation

In #3437434: Composer (next major) no longer works after 11.x updated to Symfony 7, we needed to change the way that drush was brough. Drush is not a hard dependency to run the D10+ pipelines, so we only try after the main install as a nice-to-have and if there are no conflicts when installing it, otherwise we continue and just show a message.

As suggested in this thread (https://drupal.slack.com/archives/CGKLP028K/p1712896223206239?thread_ts=1712734444.852759&cid=CGKLP028K), it makes sense to require it with --update-with-all-dependencies (-W) to limit the number of conflicts as the lock file exists at that point.

Steps to reproduce

https://git.drupalcode.org/project/tfa/-/jobs/1308481 vs https://git.drupalcode.org/project/tfa/-/jobs/1308822

Proposed resolution

Add the parameter.

Remaining tasks

MR.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information