Skip to content

In remote execution, when does bazel upload results from the local client? #24659

Answered by tjgq
JonathanPerry651 asked this question in Q&A
Discussion options

You must be logged in to vote

Your setup disables the upload of local action results to the remote cache, but remote execution still requires the inputs of remote actions to be uploaded to the remote cache before they can run. They might be missing from the cache because they're either source files, or outputs of actions that ran locally; in addition, the messages that describe the action to be executed remotely, as well as its input Merkle tree, are also uploaded to the remote cache as blobs.

Are you sure that the blob being uploaded is an output of a local action, and not an input of a remote action? They both go through the code path you mention. Do you have the full stack trace leading up to uploadBlobAsync?

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@JonathanPerry651
Comment options

@JonathanPerry651
Comment options

Answer selected by JonathanPerry651
Comment options

You must be logged in to vote
3 replies
@JonathanPerry651
Comment options

@tjgq
Comment options

tjgq Dec 13, 2024
Collaborator

@JonathanPerry651
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants