Skip to content

Conversation

@luomingmeng
Copy link
Collaborator

What type of PR is this?

Enhancements

What this PR does / why we need it:

Skip nodes with negative resources in both memory and CPU plugins Simplify hint generation by removing redundant condition checks Make first hint preferred in CPU plugin for better allocation

Which issue(s) this PR fixes:

Special notes for your reviewer:

@luomingmeng luomingmeng force-pushed the dev/refactor-qrm-reclaim-hint-calculate branch 3 times, most recently from d31021e to 952c427 Compare July 18, 2025 03:49
@codecov
Copy link

codecov bot commented Jul 18, 2025

Codecov Report

❌ Patch coverage is 82.35294% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.45%. Comparing base (230dd6a) to head (c3f3b37).

Files with missing lines Patch % Lines
...ugins/memory/dynamicpolicy/policy_hint_handlers.go 57.14% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #900      +/-   ##
==========================================
- Coverage   58.46%   58.45%   -0.01%     
==========================================
  Files         670      670              
  Lines       75920    75911       -9     
==========================================
- Hits        44387    44376      -11     
+ Misses      27241    27237       -4     
- Partials     4292     4298       +6     
Flag Coverage Δ
unittest 58.45% <82.35%> (-0.01%) ⬇️

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

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

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

@luomingmeng luomingmeng force-pushed the dev/refactor-qrm-reclaim-hint-calculate branch from 952c427 to c6e04d5 Compare July 25, 2025 08:55
@luomingmeng luomingmeng force-pushed the dev/refactor-qrm-reclaim-hint-calculate branch from c6e04d5 to a94079a Compare August 28, 2025 08:47
…ations

Skip nodes with negative resources in both memory and CPU plugins
Simplify hint generation by removing redundant condition checks
Make first hint preferred in CPU plugin for better allocation
@luomingmeng luomingmeng force-pushed the dev/refactor-qrm-reclaim-hint-calculate branch from a94079a to c3f3b37 Compare September 1, 2025 05:44
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.

1 participant