Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2025 at 10:04 UTC
Updated:
3 Dec 2025 at 14:29 UTC
Jump to comment: Most recent
Yarn caching is not working for cspell and should be extended to other jobs.
Use cache for all yarn installs in lint jobs.
Remove yarn cache - it appears to be handled at a lower level (details to follow).
N/a
N/a
N/a
N/a
N/a
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
alexpottActually it looks as if the whole cache thing is pointless - we already seem to be caching yarn installs at a lower level... need to confirm with da infra but I think we should just remove the cache and install from the CI_PROJECT_DIR/core directory and everything is quick.
Comment #4
alexpottCompare...
No caching in gitlab-ci.yml.... https://git.drupalcode.org/issue/drupal-3558704/-/jobs/7352532
Caching in gitlab-ci.yml.... https://git.drupalcode.org/issue/drupal-3558704/-/jobs/7352479
Comment #5
alexpottComment #6
alexpott@longwave pointed out at the same time that I realised we've not caching the correct thing! See https://gitlab.com/gitlab-org/gitlab/-/issues/364754
Fixed MR to cache yarn's cache...
If yarn installs using the cache we will not see
in the logs.
Comment #7
alexpottYeah the latest MR is correctly caching yarn install...
Compare https://git.drupalcode.org/issue/drupal-3558704/-/jobs/7353352#L38 (properly cached) with https://git.drupalcode.org/issue/drupal-3558704/-/jobs/7353271#L39 (not properly cached)
Comment #8
fjgarlin commentedIt looks good!
Uncached:
Cached:
The code looks good too.
Comment #9
alexpott@longwave pointed out ...
Comment #10
alexpottComment #13
longwaveCommitted this from NR when I thought it was RTBC after having it open in two different tabs - oops. Looks correct to me though, we can fix quickly in followups if there are issues.
Committed and pushed 47fd1ee08db to 11.x and f548a4396ef to 11.3.x. Thanks!