Skip to content

Conversation

@guoqinwill
Copy link
Contributor

@guoqinwill guoqinwill commented Jul 9, 2025

What type of PR is this?

/kind bug

What this PR does / why we need it:

This PR primarily strengthens the scheduler's node selection logic by initializing the score to negative infinity. This ensures that even when plugin scores are negative, the scheduler can still return the best node based on the scores, instead of returning nil.

Which issue(s) this PR fixes:

Fixes # #4444

Special notes for your reviewer:

Does this PR introduce a user-facing change?


@volcano-sh-bot volcano-sh-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 9, 2025
@JesseStutler
Copy link
Member

/assign @JesseStutler

@lowang-bh
Copy link
Member

Please add some detail describe in PR info.

@volcano-sh-bot volcano-sh-bot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 14, 2025
@JesseStutler
Copy link
Member

/lgtm
thanks

@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 16, 2025
@JesseStutler
Copy link
Member

Also need to cherry-pick it back to release-1.12 and release-1.11, using the hack/cherry_pick_pull.sh script. But currently the master logic is different from in v1.11, therefore we may need to cherry-pick to release-1.11 manually

@Monokaix
Copy link
Member

/approve

@volcano-sh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Monokaix

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@volcano-sh-bot volcano-sh-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 18, 2025
@volcano-sh-bot volcano-sh-bot merged commit aba5c55 into volcano-sh:master Jul 18, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants