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

refactor: create PodManager #1108

Merged
merged 2 commits into from
May 22, 2024

Conversation

axel7083
Copy link
Contributor

@axel7083 axel7083 commented May 21, 2024

What does this PR do?

Following the work on simplifying the ApplicationManager, this PR extract some methods related to pods. This ease the testing process, as we do not need to mock tons of containerEngine function inside the ApplicationManager.spec.ts file.

Screenshot / video of UI

What issues does this PR fix or reference?

How to test this PR?

  • unit tests has been provided

Start a recipe, restart ai-lab, check recipe is shown in the running page

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
@axel7083 axel7083 requested review from benoitf and a team as code owners May 21, 2024 17:15
@axel7083 axel7083 requested a review from jeffmaury May 21, 2024 17:15
@axel7083 axel7083 requested review from feloy and lstocchi May 22, 2024 08:46
@axel7083 axel7083 marked this pull request as draft May 22, 2024 08:55
@axel7083
Copy link
Contributor Author

axel7083 commented May 22, 2024

I am getting the error Error: no pod found with recipe Id chatbot and model Id hf.MaziyarPanahi.phi-2.Q4_K_M when testing. Will reopen when figure out where the issue come from

Edit: fixed

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
@axel7083 axel7083 marked this pull request as ready for review May 22, 2024 09:50
@axel7083 axel7083 merged commit de44f20 into containers:main May 22, 2024
4 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.

2 participants