Seen on https://gerrit.wikimedia.org/r/#/c/mediawiki/skins/WikimediaApiPortal/+/589022/
18:26:09 1) ResourcesTest::testResourceFiles 18:26:09 File '/workspace/src/skins/WikimediaApiPortal/resources/stylesheets/../../../images/icon/search_grey.svg' referenced by 'skin.wikimediaapiportal.styles' must exist. 18:26:09 Failed asserting that file "/workspace/src/skins/WikimediaApiPortal/resources/stylesheets/../../../images/icon/search_grey.svg" exists. 18:26:09 18:26:09 /workspace/src/tests/phpunit/structure/ResourcesTest.php:291 18:26:09 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:437 18:26:09 /workspace/src/maintenance/doMaintenance.php:105
The dependancy resolution of the images, from this code:
.wm-search-button-submit:after { /* @embed */ background-image: url( '../../../images/icon/search_grey.svg' ); }
in file resources/stylesheets/common/header/search.less seems to resolved relative to the location of the file it is included into, not the file it's included from