Skip to content

Conversation

anguslees
Copy link

bb_clientd was hardcoded to report API version 2.3 regardless of upstream provider capabilities, causing Bazel 8+ compatibility issues when proxying to servers limited to older API versions (like 2.0).

This change implements proper API version intersection logic in MergingProvider to negotiate the highest mutually supported version between upstream providers.

Particularly relevant for Bazel 8+, which uses output_files vs output_paths based on reported server version.

bb_clientd was hardcoded to report API version 2.3 regardless of upstream
provider capabilities, causing Bazel 8+ compatibility issues when proxying
to servers limited to older API versions (like 2.0).

This change implements proper API version intersection logic in
MergingProvider to negotiate the highest mutually supported version
between upstream providers.

Particularly relevant for Bazel 8+, which uses output_files vs
output_paths based on reported server version.
Copy link

aspect-workflows bot commented Aug 13, 2025

Test

2 test targets passed

Targets
//pkg/blobstore/sharding/integration:integration [k8-fastbuild] 66ms
//pkg/capabilities:capabilities_test [k8-fastbuild]             206ms

Total test execution time was 272ms. 29 tests (93.5%) were fully cached saving 5s.

@anguslees anguslees marked this pull request as draft August 13, 2025 14:08
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.

1 participant