Skip to content

RHOAIENG-26482: Add GCS Fault Tolerance, Disable Usage Stats, Rename the RayJob scope RayCluster Config #880

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

Conversation

kryanbeane
Copy link
Contributor

@kryanbeane kryanbeane commented Aug 12, 2025

Jira link

RHOAIENG-26482

What changes have been made

  • Added GCS fault tolerance, verification & future changes pending on the bug fix.
  • Renamed RayJobClusterConfig to ManagedClusterConfig - made more sense to me as the Cluster is managed by RayJobs, and RayJob being in the name was confusing
  • Disable usage stats and didn't add ability to overwrite it. We initially made it changeable by the user as we didn't want to add new fields the user couldn't change. With 3.0 we have the opportunity to just disable the usage stats.

Verification steps

  • There are no verification steps yet - testing and merging this is dependant on the GCS Fault Tolerance bug being fixed first so this PR will sit until then.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 12, 2025
@kryanbeane kryanbeane force-pushed the RHOAIENG-26482 branch 2 times, most recently from 8e0a63e to 2129659 Compare August 12, 2025 20:36
Copy link

codecov bot commented Aug 12, 2025

Codecov Report

❌ Patch coverage is 83.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.65%. Comparing base (3228739) to head (e5f6044).
⚠️ Report is 3 commits behind head on ray-jobs-feature.

Files with missing lines Patch % Lines
src/codeflare_sdk/ray/rayjobs/config.py 82.60% 4 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##           ray-jobs-feature     #880      +/-   ##
====================================================
- Coverage             93.67%   93.65%   -0.03%     
====================================================
  Files                    31       20      -11     
  Lines                  1724     1717       -7     
====================================================
- Hits                   1615     1608       -7     
  Misses                  109      109              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kryanbeane kryanbeane changed the title Rhoaieng 26482 RHOAIENG-26482 Aug 12, 2025
@kryanbeane kryanbeane changed the title RHOAIENG-26482 RHOAIENG-26482: Add GCS Fault Tolerance Aug 13, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 13, 2025

@kryanbeane: This pull request references RHOAIENG-26482 which is a valid jira issue.

In response to this:

Issue link

What changes have been made

Verification steps

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 13, 2025

@kryanbeane: This pull request references RHOAIENG-26482 which is a valid jira issue.

In response to this:

Jira link

RHOAIENG-26482

What changes have been made

Verification steps

  • There are no verification steps yet - testing and merging this is dependant on the GCS Fault Tolerance bug being fixed first so this PR will sit until then.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

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 openshift-eng/jira-lifecycle-plugin repository.

@kryanbeane kryanbeane marked this pull request as ready for review August 13, 2025 15:23
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 13, 2025
@kryanbeane
Copy link
Contributor Author

/hold

@openshift-ci openshift-ci bot requested review from pawelpaszki and szaher August 13, 2025 15:23
@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 13, 2025
@kryanbeane kryanbeane changed the title RHOAIENG-26482: Add GCS Fault Tolerance RHOAIENG-26482: Add GCS Fault Tolerance, Disable Usage Stats, Rename the RayJob scope RayCluster Config Aug 13, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 13, 2025

@kryanbeane: This pull request references RHOAIENG-26482 which is a valid jira issue.

In response to this:

Jira link

RHOAIENG-26482

What changes have been made

Verification steps

  • There are no verification steps yet - testing and merging this is dependant on the GCS Fault Tolerance bug being fixed first so this PR will sit until then.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

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 openshift-eng/jira-lifecycle-plugin repository.

1 similar comment
@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 13, 2025

@kryanbeane: This pull request references RHOAIENG-26482 which is a valid jira issue.

In response to this:

Jira link

RHOAIENG-26482

What changes have been made

Verification steps

  • There are no verification steps yet - testing and merging this is dependant on the GCS Fault Tolerance bug being fixed first so this PR will sit until then.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

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 openshift-eng/jira-lifecycle-plugin repository.

@kryanbeane
Copy link
Contributor Author

/hold

@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 13, 2025

@kryanbeane: This pull request references RHOAIENG-26482 which is a valid jira issue.

In response to this:

Jira link

RHOAIENG-26482

What changes have been made

Added GCS fault tolerance, verification & future changes pending on the bug fix.

Verification steps

  • There are no verification steps yet - testing and merging this is dependant on the GCS Fault Tolerance bug being fixed first so this PR will sit until then.
  • Renamed RayJobClusterConfig to ManagedClusterConfig - made more sense to me as the Cluster is managed by RayJobs, and RayJob being in the name was confusing
  • Disable usage stats and didn't add ability to overwrite it. We initially made it changeable by the user as we didn't want to add new fields the user couldn't change. With 3.0 we have the opportunity to just disable the usage stats.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 13, 2025

@kryanbeane: This pull request references RHOAIENG-26482 which is a valid jira issue.

In response to this:

Jira link

RHOAIENG-26482

What changes have been made

  • Added GCS fault tolerance, verification & future changes pending on the bug fix.
    • Renamed RayJobClusterConfig to ManagedClusterConfig - made more sense to me as the Cluster is managed by RayJobs, and RayJob being in the name was confusing
  • Disable usage stats and didn't add ability to overwrite it. We initially made it changeable by the user as we didn't want to add new fields the user couldn't change. With 3.0 we have the opportunity to just disable the usage stats.

Verification steps

  • There are no verification steps yet - testing and merging this is dependant on the GCS Fault Tolerance bug being fixed first so this PR will sit until then.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 13, 2025

@kryanbeane: This pull request references RHOAIENG-26482 which is a valid jira issue.

In response to this:

Jira link

RHOAIENG-26482

What changes have been made

  • Added GCS fault tolerance, verification & future changes pending on the bug fix.
  • Renamed RayJobClusterConfig to ManagedClusterConfig - made more sense to me as the Cluster is managed by RayJobs, and RayJob being in the name was confusing
  • Disable usage stats and didn't add ability to overwrite it. We initially made it changeable by the user as we didn't want to add new fields the user couldn't change. With 3.0 we have the opportunity to just disable the usage stats.

Verification steps

  • There are no verification steps yet - testing and merging this is dependant on the GCS Fault Tolerance bug being fixed first so this PR will sit until then.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

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 openshift-eng/jira-lifecycle-plugin repository.

Copy link
Contributor

@chipspeak chipspeak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! My only thought (and it's purely devils advocate) is that I feel we may need to revisit the name of the RayJob's cluster config again in the future. It's a definite improvement but I feel the use of the use of managed might still raise cluster admin connotations rather than the 'managed by the RayJob' implication.

Again, the nittiest of nits. Just think it merits talking about!

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2025
Copy link
Contributor

openshift-ci bot commented Aug 14, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chipspeak

The full list of commands accepted by this bot can be found here.

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 14, 2025
@kryanbeane
Copy link
Contributor Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 14, 2025
@kryanbeane
Copy link
Contributor Author

Getting this merged to unblock other tickets. There is a bug ticket for the GCS Fault tolerance / ray head pod persistence ticket feature. We've added to fix the ray job GCS stuff as part of that ticket (should be the same fix)

@openshift-merge-bot openshift-merge-bot bot merged commit 5a77f7b into project-codeflare:ray-jobs-feature Aug 14, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants