Reviewed & tested by the community
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Sep 2026 at 18:23 UTC
Updated:
18 Oct 2026 at 21:13 UTC
Jump to comment: Most recent
Comments
Comment #3
catchComment #4
catchComment #5
catchComment #6
catchOK well this passes tests, it's not slower, cannot tell if it's faster really. The artifact downloading happens within the container build step which is a bit of a black box.
Comment #7
catchComment #8
smustgrave commentedMakes sense if I'm understanding that right at least to pull from the composer job. Seems like one of those lets try out for a bit and see. Going to mark it.
Comment #9
catchRebased after #3631331: [ci] Cache Composer vendor directory. Now we don't need to run the composer job, but we can still avoid downloading the artifacts from the lint jobs.
Comment #10
longwaveThe Composer job uploads vendor:
https://git.drupalcode.org/project/drupal/-/jobs/12926925
The PHPCS job also uploads vendor:
This only takes a couple of seconds but it seems a waste of time both jobs doing it?
Comment #11
longwaveAlso given that PHPCS takes about 3-4 seconds to run and PHPStan also doesn't take very long, maybe we should just combine all these into one job?
Comment #12
catchThat's a good point dropped it from phpcs.
This is mostly true except when they have a lot of files, also those are the only two jobs that block tests from running, so I think it's OK for them to have their 3 CPUs between them and run concurrently for now. Could be worth an issue to try though - always a balance between job time and pod waiting time.
Comment #13
smustgrave commentedBelieve feedback for this one was answered. Hope I’m right