Skip to content
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

fix: update grpc finalize on close resumable uploads to validate ack'd object size #2572

Merged
merged 3 commits into from
Jun 13, 2024

Conversation

BenWhitehead
Copy link
Collaborator

Follow up to #2527 and #2514

  • Add ITGapicUnbufferedFinalizeOnCloseResumableWritableByteChannelTest with failure scenarios

  • Refactoring to clean up some request building lifecycle and variable scope

  • Update GapicUnbufferedFinalizeOnCloseResumableWritableByteChannel to validate ack'd object size

…d object size

Follow up to #2527

Add ITGapicUnbufferedFinalizeOnCloseResumableWritableByteChannelTest with failure scenarios
…d object size

Refactoring to clean up some request building lifecycle and variable scope
@BenWhitehead BenWhitehead added the owlbot:ignore instruct owl-bot to ignore a PR label Jun 3, 2024
@BenWhitehead BenWhitehead requested a review from a team as a code owner June 3, 2024 21:06
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: storage Issues related to the googleapis/java-storage API. labels Jun 3, 2024
null,
context,
null));
} else if (last.hasResource() /* && finalizing*/) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

left in commented out code

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Intentionally; The finalizing has to be true given the previous branches check, but I left it here for more easy readability

@BenWhitehead BenWhitehead merged commit 55a6d15 into main Jun 13, 2024
21 of 22 checks passed
@BenWhitehead BenWhitehead deleted the fix/grpc-putfile-response-validation branch June 13, 2024 21:54
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 googleapis/java-storage API. owlbot:ignore instruct owl-bot to ignore a PR size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants