Skip to content

Conversation

@kevin85421
Copy link
Member

@kevin85421 kevin85421 commented Jan 2, 2025

Why are these changes needed?

It's not a good pattern to update the CR status from multiple places during a single reconciliation. This PR removes updateState, which is called in multiple locations and updates the status only for observability purposes. Additionally, these states are not fully mutually exclusive, making it impossible for users to determine the current state based on the status.

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 <kaihsun@anyscale.com>
@kevin85421 kevin85421 mentioned this pull request Jan 2, 2025
48 tasks
@kevin85421 kevin85421 marked this pull request as ready for review January 2, 2025 03:48
Signed-off-by: kaihsun <kaihsun@anyscale.com>
@kevin85421 kevin85421 merged commit 39d1456 into ray-project:master Jan 2, 2025
24 checks passed
Ygnas pushed a commit to Ygnas/kuberay that referenced this pull request Mar 20, 2025
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