Skip to content

chore(storage): Update for appendable uploads.#98

Open
cjc25 wants to merge 1 commit intogoogleapis:mainfrom
cjc25:appendable-retry-tests
Open

chore(storage): Update for appendable uploads.#98
cjc25 wants to merge 1 commit intogoogleapis:mainfrom
cjc25:appendable-retry-tests

Conversation

@cjc25
Copy link

@cjc25 cjc25 commented Nov 10, 2025

Go SDK contains several retry conformance tests for appendable uploads. Upstream the retry tests from there - they reflect scenarios which should be supported by any SDK.

Note that the precise counts of bytes for non-idempotent operations reflect Go SDK defaults around how often to request a server-side flush. That may not apply in other SDKs or may require config to match.

Fixes #97

Go SDK contains several retry conformance tests for appendable uploads.
Upstream the retry tests from there - they reflect scenarios which
should be supported by any SDK.

Note that the precise counts of bytes for non-idempotent operations
reflect Go SDK defaults around how often to request a server-side flush.
That may not apply in other SDKs or may require config to match.

See googleapis#97
@cjc25 cjc25 requested a review from a team as a code owner November 10, 2025 18:18
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Nov 10, 2025
Copy link
Contributor

@tritone tritone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
FYI @ShreyasSinha @bajajneha27 can you ensure that this will not cause tests to break for C++ & Java?

I can spin off issues to actually implement the appendable uploads tests specified here.

@cjc25
Copy link
Author

cjc25 commented Nov 13, 2025

Looks like the test fail is because the docker image uses go 1.22.11, but go get -d -u github.com/golang/protobuf/protoc-gen-go winds up installing google.golang.org/protobuf v1.36.10 requires go 1.23. We should probably specify the package version there and bump it when we bump versions in go.mod?

@BenWhitehead
Copy link
Collaborator

Java will not be broken if a merge happens here.

It will need a release of the java-conformance-tests picking this up, but would then be a dependency bump PR and not block other things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add append retry conformance tests from google-cloud-go

3 participants