Skip to content

Conversation

@EdSchouten
Copy link
Member

As this digest function has enum value 10, we need to tidy up some code in digest.go that assumed that all digest functions can be represented as a single digit.

bazelbuild/remote-apis#352

As this digest function has enum value 10, we need to tidy up some code
in digest.go that assumed that all digest functions can be represented
as a single digit.
@aspect-workflows
Copy link

aspect-workflows bot commented Jan 26, 2026

Test

5 test targets passed

Targets
//pkg/blobstore/grpcclients:grpcclients_test [k8-fastbuild]                          168ms
//pkg/blobstore/local:local_test [k8-fastbuild]                                      211ms
//pkg/blobstore/sharding/integration:integration_test [k8-fastbuild]                 26ms
//pkg/blobstore:blobstore_test [k8-fastbuild]                                        147ms
//pkg/filesystem:filesystem_test [k8-fastbuild]                                      110ms

Total test execution time was 662ms. 24 tests (82.8%) were fully cached saving 4s.

NewGenerator() and NewHasher() require providing the exact size of a
file. However, our VFS API provides no way of obtaining it without
reading its contents. I'm naming this method Len() to match bytes.Buffer
and strings.Buffer.
@EdSchouten EdSchouten merged commit 797be97 into main Jan 27, 2026
3 checks passed
@EdSchouten EdSchouten deleted the eschouten/20260126-gitsha1 branch January 27, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants