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

Add type validation for ray.autoscaler.sdk.request_resources() #26626

Merged
merged 2 commits into from
Jul 16, 2022

Conversation

truelegion47
Copy link
Contributor

@truelegion47 truelegion47 commented Jul 16, 2022

Why are these changes needed?

#23166 needed type validation in autoscaler for bundles.

Related issue number

Closes #23166

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@truelegion47
Copy link
Contributor Author

@DmitriGekhtman Thank you for approving the other PR. I messed up the rebase. Can you please take a look on this PR instead when you get a chance ? I have addressed all comments and DCO.

Signed-off-by: Your Name <[email protected]>
Copy link
Contributor

@DmitriGekhtman DmitriGekhtman left a comment

Choose a reason for hiding this comment

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

Thank you, looks good!

@DmitriGekhtman DmitriGekhtman merged commit 5bd8d12 into ray-project:master Jul 16, 2022
@DmitriGekhtman DmitriGekhtman changed the title adding validation to autoscaler Add type validation for ray.autoscaler.sdk.request_resources() Jul 16, 2022
xwjiang2010 pushed a commit to xwjiang2010/ray that referenced this pull request Jul 19, 2022
…oject#26626)

Adds type validation to ray.autoscaler.sdk.request_resources().

Signed-off-by: Xiaowei Jiang <[email protected]>
avnishn pushed a commit to smorad/ray that referenced this pull request Jul 20, 2022
…oject#26626)

Adds type validation to ray.autoscaler.sdk.request_resources().

Signed-off-by: Avnish <[email protected]>
klwuibm pushed a commit to yuanchi2807/ray that referenced this pull request Jul 27, 2022
…oject#26626)

Adds type validation to ray.autoscaler.sdk.request_resources().

Signed-off-by: klwuibm <[email protected]>
franklsf95 pushed a commit to franklsf95/ray that referenced this pull request Aug 2, 2022
…oject#26626)

Adds type validation to ray.autoscaler.sdk.request_resources().

Signed-off-by: Frank Luan <[email protected]>
gramhagen pushed a commit to gramhagen/ray that referenced this pull request Aug 15, 2022
…oject#26626)

Adds type validation to ray.autoscaler.sdk.request_resources().

Signed-off-by: Scott Graham <[email protected]>
gramhagen pushed a commit to gramhagen/ray that referenced this pull request Aug 15, 2022
…oject#26626)

Adds type validation to ray.autoscaler.sdk.request_resources().
Stefan-1313 pushed a commit to Stefan-1313/ray_mod that referenced this pull request Aug 18, 2022
…oject#26626)

Adds type validation to ray.autoscaler.sdk.request_resources().

Signed-off-by: Stefan van der Kleij <[email protected]>
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.

[Bug] autoscaler.sdk.request_resources input is not validated
2 participants