Skip to content

Optimize spiderpool leader lease election

Codecov / codecov/project succeeded Sep 14, 2024 in 0s

81.48% (target 60.00%)

View this Pull Request on Codecov

81.48% (target 60.00%)

Details

Codecov Report

Attention: Patch coverage is 52.94118% with 8 lines in your changes missing coverage. Please review.

Project coverage is 81.48%. Comparing base (1d5d889) to head (3caabb3).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
pkg/applicationcontroller/app_controller.go 0.00% 3 Missing ⚠️
pkg/ippoolmanager/ippool_informer.go 0.00% 3 Missing ⚠️
pkg/election/lease_election.go 77.77% 1 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4058      +/-   ##
==========================================
+ Coverage   81.34%   81.48%   +0.14%     
==========================================
  Files          51       51              
  Lines        4514     4457      -57     
==========================================
- Hits         3672     3632      -40     
+ Misses        672      663       -9     
+ Partials      170      162       -8     
Files with missing lines Coverage Δ
pkg/subnetmanager/subnet_informer.go 46.26% <100.00%> (-5.74%) ⬇️
pkg/election/lease_election.go 88.57% <77.77%> (-4.03%) ⬇️
pkg/applicationcontroller/app_controller.go 78.54% <0.00%> (+2.08%) ⬆️
pkg/ippoolmanager/ippool_informer.go 47.08% <0.00%> (+3.67%) ⬆️