Skip to content

refactor admin, raft, and tests: fix deadlocks, slow startup, and

Codecov / codecov/project succeeded Jun 20, 2024 in 1s

41.03% (+2.97%) compared to 14d98c7

View this Pull Request on Codecov

41.03% (+2.97%) compared to 14d98c7

Details

Codecov Report

Attention: Patch coverage is 34.29395% with 684 lines in your changes missing coverage. Please review.

Project coverage is 41.03%. Comparing base (14d98c7) to head (c2c01b8).

Current head c2c01b8 differs from pull request most recent head 1b1e760

Please upload reports for the commit 1b1e760 to get more accurate results.

Files Patch % Lines
internal/proxy/proxy_state.go 21.91% 106 Missing and 8 partials ⚠️
internal/proxy/change_log.go 45.34% 74 Missing and 14 partials ⚠️
internal/admin/admin_raft.go 0.00% 70 Missing ⚠️
internal/proxy/dynamic_proxy.go 53.95% 47 Missing and 17 partials ⚠️
internal/admin/admin_fsm.go 0.00% 63 Missing ⚠️
pkg/storage/mem_storage.go 32.85% 44 Missing and 3 partials ⚠️
pkg/raftadmin/client.go 22.22% 34 Missing and 1 partial ⚠️
internal/admin/routes/misc_routes.go 0.00% 27 Missing ⚠️
internal/admin/admin_routes.go 23.33% 22 Missing and 1 partial ⚠️
pkg/raftadmin/server.go 16.66% 20 Missing ⚠️
... and 23 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
+ Coverage   38.05%   41.03%   +2.97%     
==========================================
  Files         116      113       -3     
  Lines        9565     9743     +178     
==========================================
+ Hits         3640     3998     +358     
+ Misses       5515     5247     -268     
- Partials      410      498      +88     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.