← Back to Pull requests

Fix outdated comment about Kueue's suspend limitations #5185

Merged
win5923 merged 1 files (3 lines) on Sep 22, 2026 21:59 UTC
View on GitHub
win5923 win5923 commented on Aug 21, 2026 18:45 UTC
Author

<!-- Thank you for your contribution! -->

<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. -->

Why are these changes needed?

Kueue has supported RayJob in-tree autoscaling in https://github.com/kubernetes-sigs/kueue/pull/8082,

Related issue number

<!-- For example: "Closes #1234" -->

Labels

<!-- Please add the appropriate labels to this PR. -->

  • If this PR has user-facing changes that require documentation updates at release time, I have added the doc-updates-required label.

  • If this PR contains breaking changes, I have added the breaking-change label.
  • Checks

  • I've made sure the tests are passing.

  • Testing Strategy

  • - [ ] Unit tests
    - [ ] Manual tests
    - [ ] This PR is not tested :(

    <!-- If you selected "Manual tests" above, please fill in the section below. Otherwise you can remove it. -->

    Manual test instructions

    <!--
    Provide step-by-step instructions so reviewers can verify your changes.
    Include any relevant screenshots or logs demonstrating the behavior.
    -->

    Diff: 3 lines (+0 / -3) across 1 files Reviewer: machichima Review duration: 46273m
    All Vouch review confidence checks passed
    Residual risk 0.02 = Change Risk (0.11) × (1 − Review Confidence (0.81)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.11 · 3 lines diff across 1 files
    0.11
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.71 · 2 substantive comment(s)
    0.71
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    81%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.083
    Real PR Conversation Timeline
    5 items
    machichima machichima commented on code on Aug 23, 2026 13:45 UTC
    Code Review
    ray-operator/controllers/ray/utils/validation.go:1
    @@ -542,8 +542,7 @@ func ValidateRayJobMetadata(metadata metav1.ObjectMeta) error {
     
     func ValidateRayJobSpec(rayJob *rayv1.RayJob) error {
     	// KubeRay has some limitations for the suspend operation. The limitations are a subset of the limitations of
    -	// Kueue (https://kueue.sigs.k8s.io/docs/tasks/run_rayjobs/#c-limitations). For example, KubeRay allows users
    -	// to suspend a RayJob with autoscaling enabled, but Kueue doesn't.
    +	// Kueue (https://kueue.sigs.k8s.io/docs/tasks/run/rayjobs/#d-limitations).

    Could we fully delete this comment? Based on the link you provided, there's no limitation for the suspend operation

    win5923 win5923 commented on code on Aug 23, 2026 14:11 UTC
    Code Review
    ray-operator/controllers/ray/utils/validation.go:1
    @@ -542,8 +542,7 @@ func ValidateRayJobMetadata(metadata metav1.ObjectMeta) error {
     
     func ValidateRayJobSpec(rayJob *rayv1.RayJob) error {
     	// KubeRay has some limitations for the suspend operation. The limitations are a subset of the limitations of
    -	// Kueue (https://kueue.sigs.k8s.io/docs/tasks/run_rayjobs/#c-limitations). For example, KubeRay allows users
    -	// to suspend a RayJob with autoscaling enabled, but Kueue doesn't.
    +	// Kueue (https://kueue.sigs.k8s.io/docs/tasks/run/rayjobs/#d-limitations).

    Yes, I think there are no limitations with using suspend for Kueue now.

    https://github.com/ray-project/kuberay/pull/5185/commits/ebd0e2d70f1f61d3d0266b0bd8af3eb02ade6ddc

    machichima machichima approved these changes on Aug 24, 2026 02:05 UTC
    Approved Reviewer

    LGTM!

    rueian rueian approved these changes on Sep 22, 2026 21:59 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    win5923 win5923
    Labels
    risk: low confidence: 81.1% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 11.3% (LOW) · Higher = larger blast radius
    11.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 81.1% · Lower = rushed or shallow review
    81.1%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 2.1% · Safe to merge
    2.1%