-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support new-style digest functions #18731
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please add a test case for URL of the new style digest function?
65db605
to
10f1965
Compare
Done. |
return digestFunction.getNumber() <= 7; | ||
} | ||
|
||
private String buildUploadResourceName( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may also want to change GrpcCacheClient#getResourceName
, maybe in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may also want to change
GrpcCacheClient#getResourceName
, maybe in another PR.
Yeah it's a bit cyclical; I'm happy to add support for it here so that download and upload are both kept in sync -- which I've done.
Adding another test for the download path will be simple once there is a DigestHashFunction for BLAKE3. Will send that in a followup after adding the hasher.
10f1965
to
79c2907
Compare
@coeuvre friendly ping on this -- do I need to do anything more to get this merged? Thanks! |
It has been imported but is still under review internally, should be merged soon. No actions required on your side! Sorry for the delay. |
The changes in this PR have been included in Bazel 6.4.0 RC1. Please test out the release candidate and report any issues as soon as possible. If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=last_rc. |
Support new-style digest functions.
This PR adds support for new-style digest functions to the remote execution
library code. The remote-apis spec says:
This is a partial commit for #18658.