Problem/Motivation
In the installer, we update the kernel with installed themes, which rebuilds the container. But then more or less immediately after that, we discard that container anyway and rebuild it again Drupal\Tests\BrowserTestBase::initKernel
It should be possible to skip that step, probably only in the installer, which can easily take 1-2s for each method of each functional/functional js test.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3615878
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 #3
catchComment #4
catchAdded an optional argument to ThemeInstaller::install() which allows skipping the ::resetSystem() call, calling it only from the installer, tests are green.
Comment #5
nicxvan commentedLet's postpone this on #3594334: Add a module and theme install command