Skip to content

Conversation

@hiboyang
Copy link
Contributor

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

This is a follow-up for PR #8082, to call isRaySubmitterJobWithAutoScaling in Job.IsTopLevel.

Which issue(s) this PR fixes:

See previous PR #8082

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Dec 12, 2025
@netlify
Copy link

netlify bot commented Dec 12, 2025

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit 470e88a
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-kueue/deploys/693bb6b2f8ae6100085a9fce

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: hiboyang
Once this PR has been reviewed and has the lgtm label, please assign tenzen-y for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@hiboyang hiboyang marked this pull request as draft December 12, 2025 00:12
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 12, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @hiboyang. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Dec 12, 2025
@hiboyang hiboyang changed the title Call isRaySubmitterJobWithAutoScaling in Job.IsTopLevel [WIP] Call isRaySubmitterJobWithAutoScaling in Job.IsTopLevel Dec 12, 2025
@hiboyang
Copy link
Contributor Author

Hi @mimowo , this is another follow-up work item from Ray Autocaling PR (#8082), to call isRaySubmitterJobWithAutoScaling in Job.IsTopLevel. Want to double check with you before I make further changes. We will need to pass k8sClient argument to IsTopLevel interface, right?

@mimowo
Copy link
Contributor

mimowo commented Dec 12, 2025

/ok-to-test
Thank you 👍

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 12, 2025
@mimowo
Copy link
Contributor

mimowo commented Dec 12, 2025

/assign @yaroslava-serdiuk
for the first pass

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 12, 2025
@yaroslava-serdiuk
Copy link
Contributor

I'm not sure if this is needed. I think the existing approach (copying annotation) is fine as a temporary solution, and in long term we should disable RayJob integration. I created #8201 for that.

So let's wait for the discussion. If we are going with disabling RayJob integration, then isTopLevel() won't be needed at all. If not, we will proceed with this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants