Skip to content

feat(storage): allow checksum on appendable upload finalization#13833

Open
Dhriti07 wants to merge 9 commits into
mainfrom
fix-takeover-checksum-validation
Open

feat(storage): allow checksum on appendable upload finalization#13833
Dhriti07 wants to merge 9 commits into
mainfrom
fix-takeover-checksum-validation

Conversation

@Dhriti07

Copy link
Copy Markdown
Contributor

Allow checksum on appendable upload finalization

@Dhriti07
Dhriti07 requested review from a team as code owners July 20, 2026 09:42

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces support for validating the final object's CRC32c checksum during appendable uploads by allowing an expected CRC32c string to be passed to the finalization and close methods. The feedback highlights a logic bug in BlobAppendableUploadImpl.close where passing a null checksum when finalizeOnClose is false incorrectly throws an exception, and recommends adding @Nullable annotations to the new parameters across the API and implementation classes to improve static analysis and consistency.

@Dhriti07
Dhriti07 force-pushed the fix-takeover-checksum-validation branch from 20b4818 to 55c0329 Compare July 20, 2026 10:03
@Dhriti07
Dhriti07 force-pushed the fix-takeover-checksum-validation branch from 55c0329 to 14fda1b Compare July 20, 2026 10:05
@Dhriti07 Dhriti07 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 20, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 20, 2026
@Dhriti07 Dhriti07 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 20, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 20, 2026
@Dhriti07
Dhriti07 requested a review from ShreyasSinha July 21, 2026 08:56
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