<p></p>
<blockquote>
<p dir="auto">Aren't system test using precompiled assets, and when you precompile you get all these warnings?</p>
</blockquote>
<p dir="auto">I've just tested this locally, and no, I don't get all these warnings when running system tests. I also checked that optipng is not installed, and the warning is shown when I edit <code class="notranslate">config/image_optim/test.yml</code></p>
<p dir="auto">I've also checked CI, <a href="https://github.com/openstreetmap/openstreetmap-website/blob/926229e286520ed23fb5e8add94c6048aa592412/.github/workflows/tests.yml#L58-L59">which precompiles the assets during testing</a> and again there's no warnings from image_optim - which is to be expected, since we disable them for the test environment, and any precompilation will also happen in the same environment.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AntonKhorev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AntonKhorev">@AntonKhorev</a> If you are seeing the warnings in either the development or test environments, please open an issue so that we can investigate further.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4254#issuecomment-1727648821">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPVKBJ74BZLPCJVAFTX3LQCRANCNFSM6AAAAAA47I4YUA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIDQEMH6LNZNXNCWUTX3LQCRA5CNFSM6AAAAAA47I4YUCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTG7HKDK.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4254/c1727648821</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4254#issuecomment-1727648821",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4254#issuecomment-1727648821",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>