I have the team plan on dagger cloud. My understanding is that with the distributed caching it offers, my teammates machines and our CI machines should be able to benefit from cache hits on shared cache mounts. Unfortunately I haven't observed our dagger runs in CI use any caching at all. I have seen the dev machines successfully use caching, but I can't really tell if it's their local cache or a distributed cache pull down that they are benefiting from. I've got a handful of cache mounts configured like so:
WithMountedCache(
path,
cache,
dagger.ContainerWithMountedCacheOpts{
Sharing: dagger.Shared,
}),
In ci, we use github actions on ephemeral self-hosted runners. I've built an AWS AMI with the minimum dependencies and dagger engine running, which has saved us 30-60s per run already. My hope and understanding was that this should be enough for them to take advantage of the caches. I've ensured that we're calling docker stop on the dagger engine and waiting up to 300s for that to finish. I've spent a dozen or more hours just on this aspect of onboarding my team to dagger, and if I can't truly realize distributed caching, it may be a show stopper for us.
Here is an example trace: https://dagger.cloud/Tallied-Technologies-Inc/traces/e22cb64f385a60335abee08ca3635149