Problem/Motivation
It's very slow.
Adding a path repo to composer takes 2-500ms each time, and we do that for components * components.
Steps to reproduce
Proposed resolution
Run the composer commands async in batches by component, on my local this reduces the test run time from 4 minutes to 2m20s however whether we get similar savings on CI is a different question.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3612922
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
catchJust got a 47s run locally before pushing which is even more encouraging - although again doesn't mean it'll do as much on CI.
Comment #4
catch28s on CI now 28.692s Drupal\BuildTests\Composer\Component\ComponentsIsolatedBuildTest 1 passed
https://git.drupalcode.org/project/drupal/-/jobs/11132183
Comment #5
smustgrave commentedSeems good to me.
Comment #8
larowlanCommitted and pushed ae35ab423bc to main and a1157ed4cee to 11.x. Thanks!
Comment #12
longwaveComment #14
larowlanThanks @longwave