Fix for Sample YAML Config Test - 2.4.0 Failure due to 'suspend' Field #1096
Merged
kevin85421 merged 1 commit intoray-project:masterfrom May 29, 2023
Merged
Conversation
Signed-off-by: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com>
Member
|
Could you also check why the CI cannot catch this bug occasionally? Thanks! |
4 tasks
architkulkarni
approved these changes
May 19, 2023
4 tasks
Member
|
Merge this PR, but we should still figure out why CI cannot always catch this bug. |
lowang-bh
pushed a commit
to lowang-bh/kuberay
that referenced
this pull request
Sep 24, 2023
ray-project#1096) Fix for Sample YAML Config Test - 2.4.0 Failure due to 'suspend' Field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
#926 adds the
suspend: falsefield toray_v1alpha1_rayjob.yaml. However, since this field is new and not present in the CRD of kuberay/operator:v0.5.0, it would compromise backwards compatibility.We need to ensure that sample files function with both the 0.5.0 and nightly versions, so we shouldn't add
suspend: falsenow, but only after the 0.6.0 release.The failure can be reproduced:
suspend: falsewill cause the Sample YAML Config Test - 2.4.0 to consistently fail :https://github.com/ray-project/kuberay/actions/runs/4995614782/jobs/8947869834
https://github.com/ray-project/kuberay/actions/runs/5008264539/jobs/8976078708
ray_v1alpha1_rayjob.yamlis not compatible withkuberay/operator:v0.5.0.This PR removes
suspend: false, so that:ray_v1alpha1_rayjob.yamlcompatible withkuberay/operator:v0.5.0.ray_v1alpha1_rayjob.yamlcompatible withnightly kuberay. This is becasuesuspendfield is optional and if not set, it will befalseby default.TODO
Add
suspend: falseback after 0.6.0 release.Related issue number
Checks