<div dir="ltr"><div dir="ltr">On Tue, May 6, 2025 at 9:35 PM Milian Wolff <<a href="mailto:mail@milianw.de">mail@milianw.de</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mittwoch, 30. April 2025 21:07:35 Mitteleuropäische Sommerzeit Ben Cooksley <br>
wrote:<br>
> On Thu, May 1, 2025 at 3:42 AM Milian Wolff <<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a>> wrote:<br>
> > On Freitag, 18. April 2025 21:25:36 Mitteleuropäische Sommerzeit Ben<br>
> > Cooksley<br>
> > <br>
> > wrote:<br>
> > > Hi all,<br>
> > > <br>
> > > Over the past week or two there have been a number of complaints<br>
> > <br>
> > regarding<br>
> > <br>
> > > CI builder availability which i've done some investigating into this<br>
> > > morning.<br>
> > <br>
> > <snip><br>
> > <br>
> > > Plasma Workspace/Desktop: At least in part this seems to be driven by<br>
> > > Appium tests. Please reduce the number of these and/or streamline the<br>
> > > process for running an Appium test. Consideration should be given to<br>
> > > enabling the CI option use-ccache as well.<br>
> > > <br>
> > > KDevelop: Please enable the CI option use-ccache.<br>
> > <br>
> > How? Where do I find more information on this?<br>
> <br>
> Please see<br>
> <a href="https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/config/global.yml" rel="noreferrer" target="_blank">https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/config/global.yml</a><br>
> ?ref_type=heads#L10 You just need to set it to True.<br>
> <br>
> Once that is done then<br>
> <a href="https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/run-ci-build.py?r" rel="noreferrer" target="_blank">https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/run-ci-build.py?r</a><br>
> ef_type=heads#L202 will be triggered.<br>
<br>
Why is this not enabled by default? I.e. why do we need to set this on a per-<br>
project level - in my opinion ccache will work with every project and benefit <br>
them all?<br></blockquote><div><br></div><div>Because the builders have limited disk space available, and the reality is the vast majority of projects are small enough, and built infrequently enough (comparatively) that the cost of that additional disk space is not worth it.</div><div><br></div><div>If we use KGuiAddons as an example, on Alpine - everything from the very beginning to end of the CI job (which includes cloning code, fetching and unpacking deps, configuring, compiling and installing, capturing and uploading the built binaries and running tests as well as capturing code coverage information only took 64 seconds - see <a href="https://invent.kde.org/frameworks/kguiaddons/-/jobs/2882133">https://invent.kde.org/frameworks/kguiaddons/-/jobs/2882133</a>)</div><div><br></div><div>KImageFormats only took 2 minutes - <a href="https://invent.kde.org/frameworks/kimageformats/-/jobs/2884461">https://invent.kde.org/frameworks/kimageformats/-/jobs/2884461</a></div><div><br></div><div>It is only is a project is built extremely frequently or is of sufficient size that it takes a while to compile that optimisations such as ccache begin to make sense.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks<br>
-- <br>
Milian Wolff<br>
<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a><br>
<a href="http://milianw.de" rel="noreferrer" target="_blank">http://milianw.de</a></blockquote><div><br></div><div>Thanks,</div><div>Ben </div></div></div>