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

factored out make_rest_server_debug/prod #4268

Merged
merged 2 commits into from
Sep 29, 2022

Conversation

zyxue
Copy link
Contributor

@zyxue zyxue commented Aug 11, 2022

The idea is to factor parts out of main to make it more modular and readable.

If this PR works out. will factor out _make_rest_metrics_server and _make_grpc_server next.

Running make test locally seems flaky, even on master.

@seldondev
Copy link
Collaborator

Hi @zyxue. Thanks for your PR.

I'm waiting for a SeldonIO or todo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

Copy link
Contributor

@axsaucedo axsaucedo 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 for the contribution @zyxue - changes look reasonable, I just added a small change to remove anonymous args, but overall should make it more readable, thanks.

@axsaucedo
Copy link
Contributor

In regards to the comment of flaky make test, we've been aware of the flakiness for a while - if you get a chacne to have a look that would actually also be of huge help for the project

/test integration

@axsaucedo
Copy link
Contributor

Integration tests pass, can merge once the updates above are carried out

image

@zyxue
Copy link
Contributor Author

zyxue commented Sep 13, 2022

@axsaucedo , mind take another look, please?

@axsaucedo
Copy link
Contributor

Thank you very much for the contribution @zyxue

/approve

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: axsaucedo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@axsaucedo axsaucedo merged commit 1e2482d into SeldonIO:master Sep 29, 2022
@zyxue zyxue deleted the p0-factor-out-rest-server branch September 29, 2022 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants