Skip to content

[serve] Make Serve CLI and serve.build() non-public - #23504

Merged
edoakes merged 7 commits into
ray-project:masterfrom
shrekris-anyscale:remove_public
Mar 28, 2022
Merged

edoakes merged 7 commits into
ray-project:masterfrom
shrekris-anyscale:remove_public

Conversation

@shrekris-anyscale

@shrekris-anyscale shrekris-anyscale commented Mar 25, 2022 •

Copy link
Copy Markdown
Contributor

Why are these changes needed?

This change makes serve.build() non-public and hides the following Serve CLI commands:

  • deploy
  • config
  • delete
  • build

Related issue number

serve.build() was introduced recently in #23232.

Checks

@shrekris-anyscale shrekris-anyscale changed the title [serve] Make serve.build() a non-public API [serve] Make Serve CLI and serve.build() non-public Mar 25, 2022
@edoakes

edoakes commented Mar 25, 2022

Copy link
Copy Markdown
Collaborator

@shrekris-anyscale could you please make sure that the docstrings for .bind and DeploymentNode are also up to date?

@shrekris-anyscale

Copy link
Copy Markdown
Contributor Author

@edoakes I removed references to outdated and hidden commands, so they should be up to date. @jiaodong Could you please double check the new docstrings for DeploymentNode and .bind (in DeploymentNode and in Deployment) in this PR to confirm that they make sense?

@edoakes

edoakes commented Mar 25, 2022

Copy link
Copy Markdown
Collaborator

@shrekris-anyscale can we update the DeploymentNode docstring to say "deployment graph" instead of "multi-deployment applicaton" ?

@edoakes

edoakes commented Mar 25, 2022

Copy link
Copy Markdown
Collaborator

@shrekris-anyscale test failing

@shrekris-anyscale

shrekris-anyscale commented Mar 25, 2022 •

Copy link
Copy Markdown
Contributor Author

@edoakes Sounds good, I updated the docstrings and the tests.

@edoakes
edoakes merged commit aae144d into ray-project:master Mar 28, 2022
@edoakes edoakes added the release-blocker P0 Issue that blocks the release label Mar 28, 2022
@edoakes

edoakes commented Mar 28, 2022

Copy link
Copy Markdown
Collaborator

@jianoaix @zhe-thoughts we need to cherry-pick this to avoid surfacing APIs that aren't ready for public use. @shrekris-anyscale will make a PR to cherry-pick. Shouldn't require any additional release testing.

shrekris-anyscale added a commit to shrekris-anyscale/ray that referenced this pull request Mar 28, 2022
This change makes `serve.build()` non-public and hides the following Serve CLI commands:
* `deploy`
* `config`
* `delete`
* `build`
@shrekris-anyscale shrekris-anyscale mentioned this pull request Mar 28, 2022
1 of 6 tasks
@shrekris-anyscale

Copy link
Copy Markdown
Contributor Author

I made a cherry-pick PR at #23537.

shrekris-anyscale added a commit that referenced this pull request Mar 29, 2022
* [serve] Make Serve CLI and serve.build() non-public (#23504)

This change makes `serve.build()` non-public and hides the following Serve CLI commands:
* `deploy`
* `config`
* `delete`
* `build`

* Skip test_loading_check on Windows per #23373
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-blocker P0 Issue that blocks the release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants