Skip to content

chore(storage): remove TODO on checksum validation on reopen - #6751

Merged
vsharonlynn merged 1 commit into
googleapis:mainfrom
vsharonlynn:appup-cleanup-reopen-checksum-todo
Sep 10, 2026
Merged

vsharonlynn merged 1 commit into
googleapis:mainfrom
vsharonlynn:appup-cleanup-reopen-checksum-todo

Conversation

@vsharonlynn

Copy link
Copy Markdown
Contributor

Removes TODO(#5716) in transport.rs.

persisted_data_checksums is optional in the GCS v2 API, and the backend may omit it on reopen (e.g. emulator mocks).
The client already handles this by falling back to running_crc32c = None (verified by reopen_server_does_not_return_checksum), so the TODO is resolved.

Removes TODO(googleapis#5716) in transport.rs.

`persisted_data_checksums` is optional in the GCS v2 API, and the backend
may omit it on reopen (e.g. emulator mocks).
The client already handles this by falling back to `running_crc32c = None`
(verified by `reopen_server_does_not_return_checksum`), so the TODO is
resolved.
@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label Sep 9, 2026

@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 removes a TODO comment in src/storage/src/storage/bidi_write/transport.rs regarding whether a missing checksum is valid when persisted_size is greater than zero. There are no review comments, and I have no feedback to provide.

@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.96%. Comparing base (ecfc7c2) to head (a4642bd).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6751   +/-   ##
=======================================
  Coverage   96.96%   96.96%           
=======================================
  Files         319      319           
  Lines      105574   105574           
=======================================
+ Hits       102365   102368    +3     
+ Misses       3209     3206    -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vsharonlynn
vsharonlynn marked this pull request as ready for review September 9, 2026 14:35
@vsharonlynn
vsharonlynn requested review from a team as code owners September 9, 2026 14:35
@vsharonlynn
vsharonlynn merged commit 1b46c1e into googleapis:main Sep 10, 2026
42 checks passed
@vsharonlynn
vsharonlynn deleted the appup-cleanup-reopen-checksum-todo branch September 10, 2026 06:26
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.

2 participants