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] Add default app name #34260

Merged
merged 19 commits into from
Apr 25, 2023

Conversation

sihanwang41
Copy link
Contributor

@sihanwang41 sihanwang41 commented Apr 11, 2023

Why are these changes needed?

  • Add default name for applications deploy.
  • Fix a bug for not setting the deployment name correctly for function deployment.
  • Fix unit tests because of the default application name change.

Related issue number

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 added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • 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 :(

@ollie-iterators
Copy link

The documentation test should be fixed by merging in recent changes

@sihanwang41 sihanwang41 marked this pull request as ready for review April 24, 2023 04:12
@@ -29,7 +29,7 @@
DEFAULT_GRPC_PORT = 9000

#: Default Serve application name
SERVE_DEFAULT_APP_NAME = ""
SERVE_DEFAULT_APP_NAME = "DEFAULT_RAY_SERVE_APP"
Copy link
Contributor

Choose a reason for hiding this comment

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

this is potentially user facing so this name is a bit ugly, should we just make it "default" ?

Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
Signed-off-by: sihanwang41 <[email protected]>
@sihanwang41
Copy link
Contributor Author

test failure is not related to serve.

@sihanwang41 sihanwang41 added the tests-ok The tagger certifies test failures are unrelated and assumes personal liability. label Apr 25, 2023
@architkulkarni architkulkarni merged commit 9928085 into ray-project:master Apr 25, 2023
architkulkarni added a commit that referenced this pull request Apr 25, 2023
@kevin85421
Copy link
Member

Hi, this PR seems to cause the compatibility test in KubeRay failing consistently. See #34799 for more details. Thanks!

ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request May 4, 2023
Add default name for applications deploy.
Fix a bug for not setting the deployment name correctly for function deployment.
Fix unit tests because of the default application name change.

Signed-off-by: Jack He <[email protected]>
architkulkarni pushed a commit to architkulkarni/ray that referenced this pull request May 16, 2023
Add default name for applications deploy.
Fix a bug for not setting the deployment name correctly for function deployment.
Fix unit tests because of the default application name change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests-ok The tagger certifies test failures are unrelated and assumes personal liability.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants