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

[RayJob][Status][8/n] Only a RayJob with the status Running can transition to Complete at this moment #1774

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

kevin85421
Copy link
Member

@kevin85421 kevin85421 commented Dec 27, 2023

Why are these changes needed?

Currently, only a RayJob with the status JobDeploymentStatusRunning can transition to JobDeploymentStatusComplete in the current state machine. In the future, there might be other conditions under which a RayJob transitions to JobDeploymentStatusComplete from other statuses. For example, if a RayJob fails to submit Ray jobs several times, we may consider transitioning its status to JobDeploymentStatusComplete. However, only the transition from Running will check JobStatus.

Related issue number

Checks

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

@kevin85421 kevin85421 changed the title [RayJob][Status][8/n] [RayJob][Status][8/n] Only a RayJob with the status Running can transition to Complete at this moment Dec 27, 2023
@kevin85421 kevin85421 marked this pull request as ready for review December 27, 2023 03:02
@kevin85421 kevin85421 merged commit cac7648 into ray-project:master Dec 27, 2023
25 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.

None yet

2 participants