Skip to content

Conversation

@fu220
Copy link
Contributor

@fu220 fu220 commented Oct 30, 2025

Description

This pull request adds the capability to download cache pieces in QUIC and TCP clients, and implements the download logic in Piece.

Related Issue

Changes

  • Updated vortex-protocol dependency version from 0.1.3 to 0.1.4 in Cargo.toml.
  • Implemented piece download when executing cache tasks in piece.rs and piece_download.rs.
  • Implemented requests for downloading cache pieces in QUIC and TCP clients.

Motivation and Context

  • Aim to add support for downloading pieces in cache tasks when transmitting via QUIC and TCP.

Screenshots (if appropriate)

…ownloader.

## Description
This pull request adds the capability to download cache pieces in QUIC and TCP clients, and implements the download logic in Piece.

## Related Issue

### Changes
- Updated vortex-protocol dependency version from 0.1.3 to 0.1.4 in Cargo.toml.
- Implemented piece download when executing cache tasks in piece.rs and piece_download.rs.
- Implemented requests for downloading cache pieces in QUIC and TCP clients.

## Motivation and Context
- Aim to add support for downloading pieces in cache tasks when transmitting via QUIC and TCP.

Signed-off-by: fu220 <[email protected]>
@codecov
Copy link

codecov bot commented Oct 30, 2025

Codecov Report

❌ Patch coverage is 0% with 128 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.80%. Comparing base (e553c07) to head (15f684b).
⚠️ Report is 25 commits behind head on main.

Files with missing lines Patch % Lines
dragonfly-client/src/resource/piece_downloader.rs 0.00% 74 Missing ⚠️
dragonfly-client/src/resource/piece.rs 0.00% 48 Missing ⚠️
dragonfly-client-storage/src/client/quic.rs 0.00% 3 Missing ⚠️
dragonfly-client-storage/src/client/tcp.rs 0.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1448      +/-   ##
==========================================
- Coverage   48.16%   47.80%   -0.36%     
==========================================
  Files          69       69              
  Lines       17262    17390     +128     
==========================================
  Hits         8314     8314              
- Misses       8948     9076     +128     
Files with missing lines Coverage Δ
dragonfly-client/src/grpc/dfdaemon_upload.rs 0.00% <ø> (ø)
dragonfly-client-storage/src/client/quic.rs 37.93% <0.00%> (-1.36%) ⬇️
dragonfly-client-storage/src/client/tcp.rs 0.00% <0.00%> (ø)
dragonfly-client/src/resource/piece.rs 55.43% <0.00%> (-8.32%) ⬇️
dragonfly-client/src/resource/piece_downloader.rs 15.31% <0.00%> (-4.38%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gaius-qi gaius-qi added the enhancement New feature or request label Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants