kubewharf / katalyst-core

Katalyst aims to provide a universal solution to help improve resource utilization and optimize the overall costs in the cloud. This is the core components in Katalyst system, including multiple agents and centralized components
Apache License 2.0
389 stars 91 forks source link

fix(qrm): always allocate reclaim pool lastly #595

Closed csfldf closed 3 weeks ago

csfldf commented 1 month ago

fix(qrm): always allocate reclaim pool lastly

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 73.80952% with 22 lines in your changes missing coverage. Please review.

Project coverage is 56.39%. Comparing base (ec307d2) to head (81f2cf4). Report is 3 commits behind head on main.

Files Patch % Lines
...lugins/cpu/dynamicpolicy/policy_advisor_handler.go 58.33% 2 Missing and 3 partials :warning:
...ns/cpu/dynamicpolicy/policy_allocation_handlers.go 60.00% 2 Missing and 2 partials :warning:
...agent/qrm-plugins/cpu/dynamicpolicy/state/state.go 55.55% 4 Missing :warning:
...u/dynamicpolicy/validator/validator_cpu_advisor.go 50.00% 0 Missing and 4 partials :warning:
...qrm-plugins/cpu/dynamicpolicy/cpuadvisor/helper.go 86.66% 1 Missing and 1 partial :warning:
...ynamicpolicy/cpueviction/strategy/pressure_load.go 88.88% 1 Missing :warning:
pkg/agent/qrm-plugins/cpu/dynamicpolicy/policy.go 83.33% 1 Missing :warning:
.../agent/qrm-plugins/cpu/dynamicpolicy/state/util.go 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #595 +/- ## ========================================== + Coverage 56.03% 56.39% +0.36% ========================================== Files 543 543 Lines 50355 50366 +11 ========================================== + Hits 28214 28403 +189 + Misses 18548 18368 -180 - Partials 3593 3595 +2 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/595/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | Coverage Δ | | |---|---|---| | [unittest](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/595/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `56.39% <73.80%> (+0.36%)` | :arrow_up: | 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=kubewharf#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.