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

[RayService] Avoid passing RayServiceStatus to functions in reconcileServe #2828

Conversation

kevin85421
Copy link
Member

@kevin85421 kevin85421 commented Jan 27, 2025

Why are these changes needed?

I plan to pass serve application status to calculateStatus to unify the logic of updating CR status. This PR is the first part of the change.

  1. This PR makes getAndCheckServeStatus return application status instead of updating CR status inside the function.
  2. I plan to remove RayServiceStatus inside reconcileServe, so this function passes serve application status to checkIfNeedSubmitServeApplications instead.

Related issue number

Checks

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

Signed-off-by: kaihsun <[email protected]>
@kevin85421 kevin85421 changed the title [RayService] Avoid passing RayServiceStatus to functions in getAndCheckServeStatus [RayService] Avoid passing RayServiceStatus to functions in reconcileServe Jan 27, 2025
@kevin85421 kevin85421 marked this pull request as ready for review January 27, 2025 09:52
@kevin85421 kevin85421 merged commit 1a4254c into ray-project:master Jan 27, 2025
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