Incremental builds cause Go cache to grow fast due to embedded binaries
oday we noticed that CI pipelines have been frequently running out of disk space, where we ultimately found out that the root cause of this is that the _build/cache
directory has grown up to 10GB in size. As it turns out, this is caused by our recent change to embed our binaries into the Gitaly executable to mitigate issues during zero-downtime upgrades: every incremental build is now adding over a 100MB to the build cache.
We need to find a solution for how to limit the growth of the cache.