dragonflyoss / Dragonfly2

Dragonfly is an open source P2P-based file distribution and image acceleration system. It is hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project.
https://d7y.io
Apache License 2.0
2.1k stars 264 forks source link

chore: update pex replica clean logic #3272

Closed jim3ma closed 1 month ago

jim3ma commented 1 month ago

Description

Related Issue

Motivation and Context

Screenshots (if appropriate)

Types of changes

Checklist

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 40.00000% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 52.67%. Comparing base (7c69d5d) to head (32747cd). Report is 2 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/dragonflyoss/Dragonfly2/pull/3272/graphs/tree.svg?width=650&height=150&src=pr&token=PUICJYSAT7&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss)](https://app.codecov.io/gh/dragonflyoss/Dragonfly2/pull/3272?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss) ```diff @@ Coverage Diff @@ ## main #3272 +/- ## ========================================== - Coverage 52.87% 52.67% -0.20% ========================================== Files 192 192 Lines 20372 20399 +27 ========================================== - Hits 10772 10746 -26 - Misses 8798 8846 +48 - Partials 802 807 +5 ``` | [Flag](https://app.codecov.io/gh/dragonflyoss/Dragonfly2/pull/3272/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/dragonflyoss/Dragonfly2/pull/3272/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss) | `52.67% <40.00%> (-0.20%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/dragonflyoss/Dragonfly2/pull/3272?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss) | Coverage Δ | | |---|---|---| | [client/config/peerhost.go](https://app.codecov.io/gh/dragonflyoss/Dragonfly2/pull/3272?src=pr&el=tree&filepath=client%2Fconfig%2Fpeerhost.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss#diff-Y2xpZW50L2NvbmZpZy9wZWVyaG9zdC5nbw==) | `47.46% <ø> (ø)` | | | [client/config/peerhost\_linux.go](https://app.codecov.io/gh/dragonflyoss/Dragonfly2/pull/3272?src=pr&el=tree&filepath=client%2Fconfig%2Fpeerhost_linux.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss#diff-Y2xpZW50L2NvbmZpZy9wZWVyaG9zdF9saW51eC5nbw==) | `100.00% <100.00%> (ø)` | | | [client/daemon/pex/peer\_exchange.go](https://app.codecov.io/gh/dragonflyoss/Dragonfly2/pull/3272?src=pr&el=tree&filepath=client%2Fdaemon%2Fpex%2Fpeer_exchange.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss#diff-Y2xpZW50L2RhZW1vbi9wZXgvcGVlcl9leGNoYW5nZS5nbw==) | `69.94% <21.05%> (-11.27%)` | :arrow_down: | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/dragonflyoss/Dragonfly2/pull/3272/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dragonflyoss)