Closed (fixed)
Project:
Drupal core
Version:
11.4.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Mar 2026 at 21:30 UTC
Updated:
17 Jun 2026 at 15:20 UTC
Jump to comment: Most recent
Comments
Comment #3
catchComment #4
catchComment #5
catchVery, very variable test runs on build tests, but I think this latest one is the quickest I've seen since package manager got added.
I bumped the concurrency a bit since there are several not-slow tests that can still take 30s or more so this ensures they don't run past the actually slow tests.
https://git.drupalcode.org/project/drupal/-/jobs/8827454
edit: the entire pipeline took 4m20s which is a new record! https://git.drupalcode.org/project/drupal/-/pipelines/763712
Comment #6
smustgrave commentedGood way to see the difference in gitlab? Could run locally but feel that may not count.
Comment #7
catchRunning before/after locally is probably a better comparison than gitlab, because local is a single environment whereas gitlab runs can differ between jobs. The absolute numbers will be completely different to gitlab but if it's consistently relatively faster it should also be faster on gitlab.
Comment #8
smustgrave commentedOkay I ran locally on my phpstorm 2025.2.4, Macbook Pro with M3 Max Chip, running ddev v1.25.1
With the MR
net gain of almost 6 minutes with 5 less tests.
Before I mark why was the bigPipe change needed?
Comment #9
catchBig pipe regression test was a commit for a different issue, which is already committed I think. Might need to spin that out to a separate follow-up.
Comment #10
smustgrave commentedI rebased and that change is still there want to revert?
Comment #11
smustgrave commentedFor the big pipe reverts. If I'm understanding correctly.
Comment #12
catchManaged to open a duplicate of this at #3590224: Speed up GenerateThemeTest but fortunately was looking at different test methods, closed that one and cherry-picked the changes over here.
On my local this takes 10 minutes to run locally. Latest version has it down to 6 minutes
10:08.402 vs. 06:38.742
On gitlab it's down to just under 80s on the latest run, this is from about 180s and sometimes more.
79.742s Drupal\BuildTests\Command\GenerateThemeTest 12 passed
https://git.drupalcode.org/project/drupal/-/jobs/9834719
Comment #13
smustgrave commentedLGTM now, #8 wasn't too long ago.
Comment #18
longwaveBackported to keep things in sync and help with test runs in 11.x still.
Committed and pushed 3a2d8705b21 to main and 43f0e2dec95 to 11.x and f18d77fe00e to 11.4.x. Thanks!