Skip to content

feat: [#1523] add new metric: number of inactive torrents

677deac
Select commit
Loading
Failed to load commit list.
Merged

Overhaul stats: add peer inactivity metrics to torrent-repository package #1530

feat: [#1523] add new metric: number of inactive torrents
677deac
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 21, 2025 in 1s

83.92% (-0.43%) compared to fbefc88

View this Pull Request on Codecov

83.92% (-0.43%) compared to fbefc88

Details

Codecov Report

Attention: Patch coverage is 42.26190% with 97 lines in your changes missing coverage. Please review.

Project coverage is 83.92%. Comparing base (fbefc88) to head (677deac).

Files with missing lines Patch % Lines
...ository/src/statistics/activity_metrics_updater.rs 13.20% 46 Missing ⚠️
packages/torrent-repository/src/swarms.rs 42.10% 22 Missing ⚠️
...es/torrent-repository/src/statistics/repository.rs 0.00% 15 Missing ⚠️
packages/torrent-repository/src/swarm.rs 55.17% 13 Missing ⚠️
src/app.rs 90.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1530      +/-   ##
===========================================
- Coverage    84.35%   83.92%   -0.43%     
===========================================
  Files          265      267       +2     
  Lines        19043    19207     +164     
  Branches     19043    19207     +164     
===========================================
+ Hits         16063    16120      +57     
- Misses        2702     2811     +109     
+ Partials       278      276       -2     

☔ 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.