Closed (fixed)
Project:
Drupal core
Version:
11.0.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Jul 2024 at 13:38 UTC
Updated:
20 Aug 2024 at 23:44 UTC
Jump to comment: Most recent
Comments
Comment #2
catchComment #4
catcheslint doesn't appear to have a verbose option, so it's hard to show this definitely working, but
https://git.drupalcode.org/project/drupal/-/jobs/2258295 is a job from a sandbox MR, where the cspell and phpstan jobs both had cache hits, and eslint running with the same logic. eslint job completed in 51 seconds.
https://git.drupalcode.org/project/drupal/-/jobs/2257804 is a job with the current logic and the eslint job took 1m45s.
You can also see that the cache warming job generates the .eslintcache and .stylelintcache files correctly: https://git.drupalcode.org/project/drupal/-/jobs/2259079
I also tested the same command locally and the caching worked there.
Comment #5
catchWe should do eslint and stylelint in a single PR since their cache strategies are the same.
https://git.drupalcode.org/project/drupal/-/jobs/2259023 this shows stylelint caching working in my sandbox branch/MR with the cache target pointing to itself.
Comment #6
catchComment #7
catchComment #8
catch#3462763: Use artifacts to share the phpstan result and cspell caches from core to MRs is in, so rebased here and unpostponing.
Comment #9
smustgrave commentedper the slack conversation @catch shared this https://git.drupalcode.org/project/drupal/-/merge_requests/8952/diffs which believe shows this working. Going to mark.
Comment #10
nod_question in MR
Comment #11
catchGood spot on the MR, since it's a trivial change, moving back to RTBC.
Comment #15
nod_Committed 5374786 and pushed to 11.x. Thanks!
Committed 1161b8d and pushed to 11.0.x. Thanks!
Comment #16
nod_