You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, remote caches are initialized pretty early in the buildstream start sequence. At least for checkout operations, this is often too early to know whether the caches are actually needed.
There are a few situations:
target directory is not empty: Loading elements -> Resolving elements -> Initializing remote caches -> target directory is not empty
this wastes time before reporting the error
artifacts are cached locally: Loading elements -> Resolving elements -> Initializing remote caches -> Query cache -> Staging dependencies -> Integrating sandbox -> Checking out files
We don't need remote caches here, so it also wastes time
artifacts aren't cached: Loading elements -> Resolving elements -> Initializing remote caches -> Query cache -> Attempting to fetch missing or incomplete artifact(s) ...
This is the case that needs initializing remote caches. However it makes more sense to do it after the "Attempting to fetch", not before.
The text was updated successfully, but these errors were encountered:
Currently, remote caches are initialized pretty early in the buildstream start sequence. At least for
checkout
operations, this is often too early to know whether the caches are actually needed.There are a few situations:
The text was updated successfully, but these errors were encountered: