Hi! Several weeks ago I implemented a dagger function that mounts our shared caches, deletes the contents, and gives the engine plenty of time to shut down. This was working quite well, we ran it on saturday nights. Well, the last two saturdays it has ran it did not persist the empty directories back to dagger cloud. Our team is still running on dagger 0.13.1 but even when running our cache clean function after upgrading to 0.13.3 and then 0.13.5, the problem remains. After digging in and pulling engine logs, I see this for each cache we're trying to clean, on engine shutdown: skipped pushing cache mount. Our cache clean logic hasn't changed, the only thing that has changed is dagger engine versions. I'm also seeing a ton of namespace worker failed errors.
This is becoming a big issue, as it is now taking several minutes to pull down caches at startup for every single dagger run in our CI.
I'll share the clean implementation in the thread.