Skip to content

Conversation

@coryan
Copy link
Collaborator

@coryan coryan commented Nov 13, 2025

No description provided.

@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

❌ Patch coverage is 63.25088% with 104 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.60%. Comparing base (93bfd53) to head (169978a).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
src/storage/src/storage/bidi/worker.rs 36.25% 51 Missing ⚠️
src/storage/src/storage/bidi/transport.rs 0.00% 20 Missing ⚠️
src/storage/src/storage/bidi/object_descriptor.rs 0.00% 7 Missing ⚠️
src/storage/src/storage/bidi.rs 72.72% 6 Missing ⚠️
src/storage/src/storage/bidi/remaining_range.rs 81.25% 6 Missing ⚠️
src/storage/src/storage/bidi/builder.rs 0.00% 4 Missing ⚠️
src/storage/src/storage/bidi/stub.rs 0.00% 4 Missing ⚠️
src/storage/src/storage/bidi/normalized_range.rs 93.47% 3 Missing ⚠️
src/storage/src/storage/bidi/active_read.rs 90.90% 2 Missing ⚠️
src/storage/src/read_object.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3787      +/-   ##
==========================================
- Coverage   96.15%   94.60%   -1.56%     
==========================================
  Files         146      157      +11     
  Lines        5649     5946     +297     
==========================================
+ Hits         5432     5625     +193     
- Misses        217      321     +104     

☔ View full report in Codecov by Sentry.
📢 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.

@coryan coryan force-pushed the draft09-storage-bidi-streaming-reads branch from 1bd9697 to f7c5d51 Compare November 13, 2025 16:54
I am going to use `ReadRange` and `Range` (renamed to `RequestedRange`) more
widely in the crate.
Implement some types to normalize and update read ranges in bidi streaming
reads. We need to model both requested ranges (which include ranges with a
negative offset) and ranges updated from the first (and subsequent) responses.
The latter always have positive offsets.
@coryan coryan force-pushed the draft09-storage-bidi-streaming-reads branch from f7c5d51 to bfb48b8 Compare November 13, 2025 20:54
This type holds the pending remaining range (for resends) and a `mpsc` sender
(to deliver data and errors to the application).

The worker task will keep a collection of these objects and deliver data and
errors to the application through them.
@coryan coryan force-pushed the draft09-storage-bidi-streaming-reads branch from bfb48b8 to ada04c0 Compare November 13, 2025 21:24
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