Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip suspending worker groups if the RayJobDeletionPolicy feature flag is not enabled #2770

Merged
merged 3 commits into from
Jan 18, 2025

Conversation

rueian
Copy link
Contributor

@rueian rueian commented Jan 17, 2025

Why are these changes needed?

This is a follow-up RP for #2748.

We limit that the suspend field on a worker group is only available under the RayJobDeletionPolicy feature gate:

  1. Add a comment saying that the field is not user-facing.
  2. Add a validation on RayCluster to reject the suspend field if the feature gate is not enabled.

Related issue number

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

…s is not currently a user-facing API

Signed-off-by: Rueian <[email protected]>
@rueian rueian force-pushed the fg-workergroup-suspend branch 2 times, most recently from 1cc733d to 2409729 Compare January 17, 2025 23:12
…tionPolicy feature flag is not enabled

Signed-off-by: Rueian <[email protected]>
@rueian rueian force-pushed the fg-workergroup-suspend branch from 2409729 to d0cbf34 Compare January 17, 2025 23:12
…tionPolicy feature flag is not enabled

Signed-off-by: Rueian <[email protected]>
@rueian rueian marked this pull request as ready for review January 17, 2025 23:49
@rueian
Copy link
Contributor Author

rueian commented Jan 18, 2025

Hi @kevin85421 and @andrewsykim, this is ready and please take a look.

@kevin85421 kevin85421 merged commit 405fe67 into ray-project:master Jan 18, 2025
23 of 24 checks passed
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.

2 participants