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

[Serve] Fix serve.shutdown() to delete deployments from all applications #32631

Merged
merged 8 commits into from
Feb 23, 2023

Conversation

zcin
Copy link
Contributor

@zcin zcin commented Feb 16, 2023

Why are these changes needed?

serve.shutdown() only deletes deployments from app with name="". This fix makes sure it deletes all deployments.

Related issue number

Closes #32623

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • 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 :(

… are alive and tracked by the deployment state manager

Signed-off-by: Cindy Zhang <[email protected]>
@zcin zcin marked this pull request as ready for review February 16, 2023 22:21
zcin added 5 commits February 16, 2023 14:54
Signed-off-by: Cindy Zhang <[email protected]>
Signed-off-by: Cindy Zhang <[email protected]>
Signed-off-by: Cindy Zhang <[email protected]>
@zcin zcin mentioned this pull request Feb 21, 2023
7 tasks
@zcin
Copy link
Contributor Author

zcin commented Feb 22, 2023

@sihanwang41 ping for review

@zcin
Copy link
Contributor Author

zcin commented Feb 22, 2023

@edoakes Should be ready for merge

@edoakes edoakes merged commit d2b7187 into ray-project:master Feb 23, 2023
@zcin zcin deleted the serve-shutdown branch February 24, 2023 04:59
edoakes pushed a commit to edoakes/ray that referenced this pull request Mar 22, 2023
…ons (ray-project#32631)

`serve.shutdown()` only deletes deployments from app with `name=""`. This fix makes sure it deletes all deployments.

Signed-off-by: Edward Oakes <[email protected]>
peytondmurray pushed a commit to peytondmurray/ray that referenced this pull request Mar 22, 2023
…ons (ray-project#32631)

`serve.shutdown()` only deletes deployments from app with `name=""`. This fix makes sure it deletes all deployments.
elliottower pushed a commit to elliottower/ray that referenced this pull request Apr 22, 2023
…ons (ray-project#32631)

`serve.shutdown()` only deletes deployments from app with `name=""`. This fix makes sure it deletes all deployments.

Signed-off-by: elliottower <[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.

[Serve] serve.shutdown() only deletes deployments under app ""
4 participants