Skip to content

feat(storage): support full_object_checksum in AsyncAppendableObjectWriter#17658

Merged
chandra-siri merged 10 commits into
googleapis:mainfrom
chandra-siri:feat/appendable-checksum-validation
Jul 9, 2026
Merged

feat(storage): support full_object_checksum in AsyncAppendableObjectWriter#17658
chandra-siri merged 10 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
Comment thread packages/google-cloud-storage/tests/system/test_zonal.py Outdated
@chandra-siri chandra-siri enabled auto-merge (squash) July 9, 2026 14:02
@chandra-siri chandra-siri merged commit e08d5ca into googleapis:main Jul 9, 2026
30 checks passed
@release-please release-please Bot mentioned this pull request Jul 9, 2026
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