mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 18:51:48 -10:00
We currently vary the cache name for run-task tasks whenever run-task changes. This allows us to not worry about backwards or forwards compatibility of caches in run-task tasks. This strategy doesn't work for out-of-tree Docker images because the content of run-task cannot be determined at Taskgraph time: the content of run-task was determined when that Docker image was built and there is no way to get that content efficiently during Taskgraph. So, for out-of-tree Docker images we now vary the cache name by the Docker image value, which includes its name and a tag or hash. This means that out-of-tree run-task tasks will get separate caches for each distinct Docker image. This isn't ideal. Ideally we would share caches if run-task doesn't vary between Docker images. But without any way of proving that at Taskgraph time, we take the safe road and force cache separation. MozReview-Commit-ID: FMiQBqfvjqW