Skip to content

Overhaul stats: Refactor code related to metrics persistence - #1542

Merged
josecelano merged 9 commits into
torrust:developfrom
josecelano:1541-overhaul-stats-refactor-code-related-to-metrics-persistence
May 27, 2025
Merged

josecelano merged 9 commits into
torrust:developfrom
josecelano:1541-overhaul-stats-refactor-code-related-to-metrics-persistence

Conversation

@josecelano

Copy link
Copy Markdown
Member

Refactor code related to metrics persistence.

@josecelano josecelano linked an issue May 27, 2025 that may be closed by this pull request
@josecelano
josecelano requested a review from da2ce7 May 27, 2025 13:42
@josecelano

Copy link
Copy Markdown
Member Author

ACK bd6e06a

@josecelano
josecelano marked this pull request as ready for review May 27, 2025 14:14
@codecov

codecov Bot commented May 27, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 84.92063% with 19 lines in your changes missing coverage. Please review.

Project coverage is 83.35%. Comparing base (46df7eb) to head (bd6e06a).
Report is 10 commits behind head on develop.

Files with missing lines Patch % Lines
...ackages/tracker-core/src/databases/driver/mysql.rs 0.00% 9 Missing ⚠️
...tracker-core/src/statistics/persisted/downloads.rs 85.18% 2 Missing and 2 partials ⚠️
...kages/tracker-core/src/statistics/persisted/mod.rs 0.00% 1 Missing and 1 partial ⚠️
src/app.rs 0.00% 2 Missing ⚠️
packages/tracker-core/src/announce_handler.rs 66.66% 0 Missing and 1 partial ⚠️
packages/tracker-core/src/torrent/manager.rs 87.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1542      +/-   ##
===========================================
+ Coverage    83.33%   83.35%   +0.01%     
===========================================
  Files          274      274              
  Lines        19554    19547       -7     
  Branches     19554    19547       -7     
===========================================
- Hits         16295    16293       -2     
+ Misses        2969     2965       -4     
+ Partials       290      289       -1     

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

@da2ce7

da2ce7 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: Only 49 of the 195 executable lines it added remain on the default branch, at their own paths or in the files those paths were later renamed to; the rest has since been rewritten or removed.

This branch was previously deployed

1 inactive deployment
coverage — bd6e06ac Deployed May 27, 2025 by josecelano
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.

Overhaul stats: Refactor code related to metrics persistence

2 participants