Hi,
On Thu, 4 Jun 2026 at 18:25, Andres Freund <andres@anarazel.de> wrote:
>
> One more revision:
>
> Attached are the prior patches plus one incremental one (to be squashed),
> making the macports caching a bit smarter.
>
> The performance improvements after touching
> src/tools/ci/ci_macports_packages.sh, updating the package list, or starting
> with a clean cache and then failing during build/test seems clearly worth the
> complexity.
From v12a-0003 commit message:
1) We should save the macports cache before building & running tests, we don't
want to again start from scratch if the task failed or was cancelled
2) We should use a partial cache match, as it's much faster to start from
that, than from scratch.
Also, 'not saving the cache if it is an exact hit' is a nice improvement too.
I think these are all great improvements. I looked at the 0003 and LGTM.
--
Regards,
Nazir Bilal Yavuz
Microsoft