I am seeing this weird issue when I try to run a maven build. I am creating a CacheVolume for the .m2 cache and I have several "stages" where I do multiple mvn commands (like compile, verify etc.). When I run go run main.go consecutively, the cache volume is preserved between runs and maven doesn't re-download dependencies. But when I do _EXPERIMENTAL_DAGGER_TUI=true dagger run .... The cache (including the docker image cache) seems to be cleared and everything is downloaded again. But subsequent runs of the TUI shows that the cache is preserved. If I keep switching between TUI and non TUI I don't have a cache between the runs.
Doesn't feel like expected behavior.
TLDR; SOLUTION: #1105952785331142776 message