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

Separate agent from pyflyte serve #2019

Merged

Conversation

chaohengstudent
Copy link
Contributor

Tracking issue

flyteorg/flyte#3936

Why are the changes needed?

We might have the demands of using pyflyte serve <other service>
So separate agent as one of the serve group's commands.

What changes were proposed in this pull request?

Make serve as group and move agent as one of the group's commands.

Screenshots

image

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>
Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>
Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>
Copy link

codecov bot commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5c6802c) 86.22% compared to head (4a7293b) 86.22%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2019   +/-   ##
=======================================
  Coverage   86.22%   86.22%           
=======================================
  Files         320      320           
  Lines       23531    23531           
  Branches     3464     3464           
=======================================
  Hits        20289    20289           
  Misses       2650     2650           
  Partials      592      592           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Copy link
Member

@Future-Outlier Future-Outlier left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@pingsutw pingsutw left a comment

Choose a reason for hiding this comment

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

cc @kumare3 it's ok to merge it, right? People just need to update the entrypoint in their Dockerfile. pyflyte serve -> pyflyte serve agent

@kumare3
Copy link
Contributor

kumare3 commented Dec 6, 2023

I think so please create docs and comments

@pingsutw pingsutw merged commit be4ca8c into flyteorg:master Dec 7, 2023
76 checks passed
Future-Outlier pushed a commit to Future-Outlier/flytekit that referenced this pull request Dec 12, 2023
* Separate agent from pyflyte serve.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>

* removed unused serve help message.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>

* fix typo.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>

* update dockerfile of agent.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>

* remove agent dockerfile apt cache

Signed-off-by: Future Outlier <eric901201@gmai.com>

---------

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Co-authored-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
RRap0so pushed a commit to RRap0so/flytekit that referenced this pull request Dec 15, 2023
* Separate agent from pyflyte serve.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>

* removed unused serve help message.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>

* fix typo.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>

* update dockerfile of agent.

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>

* remove agent dockerfile apt cache

Signed-off-by: Future Outlier <eric901201@gmai.com>

---------

Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Co-authored-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Rafael Raposo <rafaelraposo@spotify.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants