The ResourcesTest.php class is used for making sure registered resources are sensible. This class has the longest running
time in both quibble-with-gated-extensions-vendor-mysql-php83 job and quibble-for-mediawiki-core-vendor-mysql-php83 jobs.
In core's PHPUnit test run the class takes ~ [[ https://phpunit-results-cache.toolforge.org/results/quibble-vendor-mysql-php83 | 40 - 90 ]] seconds while in the gated extensions the job takes ~ [[ https://phpunit-results-cache.toolforge.org/results/quibble-with-gated-extensions-vendor-mysql-php83 | 290 - 375 ]] seconds as shown is the sample screenshot.
{F78227926}
If we can optimize this test, the gated extension's job run time will easily go below the sub 10 minute mark.
Acceptance Criteria
[] Investigate a way we can optimize this class further
[] In case of success, create a patch and upload to gerrit.
[] Extension job consistently runs below the 10 minute mark.