docs(cache-maintenance): enhance documentation - #189
AlexanderLanin wants to merge 1 commit into
Conversation
lurtz
left a comment
There was a problem hiding this comment.
I guess documentation / behavior is not what is actually happening
| Omitting rarely used configurations keeps the repository cache smaller and | ||
| faster to restore. In automatic mode, independently running Bazel jobs may each | ||
| download the delta needed for their targets. In ordered mode, maintenance | ||
| fetches all variants once before the build warmups start. |
There was a problem hiding this comment.
IMHO automatic mode also skips repository cache downloads, when the MODULE.bazel.lock has changed. This is not a delta, but instead a full download.
I guess we need to be able to skip restoration of each cache individually.
The job which rebuilds the repository cache must skip the repository cache. All other jobs must skip the disk cache.
|
Thanks for the pull request. This thread has been quiet for 30 days, so we are marking it as stale for now. Please take a quick look and let us know whether it is still up to date, still relevant, needs review, or is ready to merge. Any new activity will remove the stale label automatically. If nothing changes in the next 10 days, we will close it to keep the backlog current. |
This describes both ways which we currently have, how this workflow can be used.