Skip to content

feat(storage): support full_object_checksum in AsyncAppendableObjectWriter#17658

Open
chandra-siri wants to merge 8 commits into
googleapis:mainfrom
chandra-siri:feat/appendable-checksum-validation
Open

feat(storage): support full_object_checksum in AsyncAppendableObjectWriter#17658
chandra-siri wants to merge 8 commits into
googleapis:mainfrom
chandra-siri:feat/appendable-checksum-validation

Conversation

@chandra-siri

@chandra-siri chandra-siri commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Add support for verifying full_object_checksum on finalising/closing appendable object uploads.

@chandra-siri chandra-siri requested a review from a team as a code owner July 8, 2026 06:58

@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 adds support for CRC32C checksum validation when closing or finalizing an appendable object in AsyncAppendableObjectWriter, along with corresponding unit and system tests. The review feedback suggests several improvements: avoiding log pollution by removing the warning when finalizing without a checksum, omitting the object_checksums field entirely when it is None to prevent empty submessage serialization (and updating unit tests accordingly), and using a more specific exception class in system tests to avoid masking unexpected errors.

Comment thread packages/google-cloud-storage/tests/system/test_zonal.py Outdated
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