feat(storage): implement appendable upload connector#5956
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the appendable_object_writer module and supporting bidi_write infrastructure to enable bidirectional streaming writes for Google Cloud Storage. Key feedback includes avoiding .expect() on parameter conversions to prevent panics, simplifying complex string-folding logic, removing an unnecessary clone of the request object, and ensuring the background worker fails loudly with an explicit error if the stream closes unexpectedly while flushes are pending.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5956 +/- ##
==========================================
+ Coverage 96.99% 97.03% +0.03%
==========================================
Files 249 252 +3
Lines 62735 63526 +791
==========================================
+ Hits 60850 61640 +790
- Misses 1885 1886 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
joshuatants
left a comment
There was a problem hiding this comment.
We're gone through this extensively offline.
f3e8345 to
4c4b7be
Compare
1713d73 to
9cca986
Compare
coryan
left a comment
There was a problem hiding this comment.
This is still too large. Aim for at most 200 lines of new code, which probably means 400 to 600 lines per PR. 1600 lines is simply too large.
Ok. I am going to split this PR into smaller PRs. I'll update once done. Thank you and sorry about this! |
9cca986 to
e86f327
Compare
I split this PR into three PRs:
Thank you. |
a947a8c to
366919e
Compare
366919e to
8fcbb33
Compare
coryan
left a comment
There was a problem hiding this comment.
LGTM.
For future reference, avoid PRs with 1,000 lines of code (such as this one). It makes it hard to review them thoroughly. This may contradict what other reviewers want (a full picture of all the changes). Consider a draft PR with the full thing and smaller PRs that are part of the changes.
3b3b0d3 to
79e4af8
Compare
Noted. I'll do better in splitting the large PR into smaller PRs for the next one. Agree that it's difficult when it's this large of a PR. Thanks Carlos! |
This PR comes after #5956.
This PR comes after PR #5932.