Skip to content

Conversation

@addityasingh
Copy link
Owner

Improve test coverage for all the packages

Coverage Improvements Summary
Package Original Coverage Improved Coverage Improvement
pkg/admin 93.3% 93.3% No change needed
pkg/monitoring 70.5% 78.6% +8.1%
pkg/replication 85.9% 90.6% +4.7%
pkg/storage 81.5% 86.0% +4.5%
pkg/watcher 93.3% 91.4% Stable

@codecov
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.50%. Comparing base (827fdaa) to head (b94a528).
Report is 5 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main       #8       +/-   ##
===========================================
+ Coverage   22.09%   68.50%   +46.41%     
===========================================
  Files           8        9        +1     
  Lines         842      978      +136     
===========================================
+ Hits          186      670      +484     
+ Misses        653      286      -367     
- Partials        3       22       +19     
Flag Coverage Δ
combined 68.50% <100.00%> (+46.41%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pkg/admin/server.go 89.28% <100.00%> (+79.46%) ⬆️
pkg/monitoring/metrics.go 74.34% <100.00%> (+39.47%) ⬆️

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@addityasingh addityasingh merged commit 32bce14 into main Jul 13, 2025
18 checks passed
@addityasingh addityasingh deleted the as-improve-coverage branch July 13, 2025 10:15
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.

2 participants