Problem/Motivation
The recipe command runs duplicate batch jobs when recipes share dependencies.
Steps to reproduce
Apply the drupal_cms_starter recipe.
Proposed resolution
Only add same batch job once.
Remaining tasks
Port solution from Drupal CMS installer to recipe command.Test.- Review code.
- Commit.
User interface changes
None.
Introduced terminology
None.
API changes
None.
Data model changes
None.
Release notes snippet
The recipe command now runs only one batch job per dependency, even if the dependency appears multiple times.
Issue fork drupal-3499225
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
darren ohComment #4
darren ohFixed duplicate batch jobs. This doesn't remove all dependency errors, but it reduces them and improves performance.
Comment #5
thejimbirch commentedCan you define what dependencies are ignored? The problem and steps to reproduce are quite vague.
Comment #6
darren ohThis report was based on errors I saw on the command line that I did not see in the Drupal CMS installer. It turned out to be because the installer disables recipe validation. So this issue is just about removing duplicate batch jobs.
Comment #7
darren ohComment #8
thejimbirch commentedComment #9
smustgrave commentedBelieve we should have test coverage for such a problem.
Comment #10
darren ohComment #11
darren oh