Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2025 at 09:55 UTC
Updated:
24 Mar 2025 at 23:09 UTC
Jump to comment: Most recent
We have added better cache tag assertions over time, like CacheTagGroupedLookups.
These two don't actually give us useful performance information any more relative to the others, so I think we can just remove them from tests.
'CacheTagChecksumCount' => 38,
'CacheTagIsValidCount' => 43,
We can also deprecate the getter methods for these.
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 #2
berdir> not really a way to deprecate an array key.
Well, the array keys map to methods, so deprecating those should trigger deprecations.
Possibly this is major/critical as it looks like StandardPerformanceTest has a new fairly frequent random fail?
Comment #3
andypostyesterday faced the same working on #3502973: Remove UI and routes for the ability to update modules and themes via update.module and authorize.php
ref https://git.drupalcode.org/issue/drupal-3502973/-/jobs/4561201
basically it vary
Comment #5
catchBumping to critical due to the random test failures, I think all the places we're removing the deprecated methods are using the new better ones now.
Comment #6
andypostphpstan needs fixes
Comment #7
catchGreen pipeline now.
Comment #8
nicxvan commentedLooks good to me.
Checked deprecation messages.
Read through the change record as well.
Comment #9
catchComment #10
alexpottCommitted 08d8a27 and pushed to 11.x. Thanks!