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] Cherry-pick fix for serve run help message #38018

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

edoakes
Copy link
Contributor

@edoakes edoakes commented Aug 2, 2023

Why are these changes needed?

Cherry-pick #37859

Related issue number

#35734

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 :(

Re: ray-project#35754 We previously added `-h` help command to the serve cli's click group. This caused the autogenerated help message to take `-h` as the default help command. For `serve run` we have a collusion on `-h` as it's used for host option as well. This PR changed the order of the click help option so the `--help` will be used in autogenerated help messages.
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@aslonnie aslonnie removed their request for review August 2, 2023 19:33
Copy link
Collaborator

@aslonnie aslonnie left a comment

Choose a reason for hiding this comment

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

feel that this change is small and straightforward enough that I can approve.

@aslonnie
Copy link
Collaborator

aslonnie commented Aug 2, 2023

will let @rickyyx do the merge.

@rickyyx rickyyx changed the base branch from releases/2.6.2 to releases/2.6.3 August 7, 2023 21:34
@rickyyx rickyyx merged commit 4d31114 into ray-project:releases/2.6.3 Aug 8, 2023
27 of 35 checks passed
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.

None yet

5 participants