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

AIO: add Unhealthy container state #5307

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

AIO: add Unhealthy container state #5307

wants to merge 3 commits into from

Conversation

docjyJ
Copy link
Collaborator

@docjyJ docjyJ commented Sep 21, 2024

@szaimen szaimen added 3. to review Waiting for reviews enhancement New feature or request labels Sep 25, 2024
@szaimen szaimen added this to the next milestone Sep 25, 2024
@szaimen szaimen changed the title Ench/noid/heathcheck AIO: add IContainerState Sep 25, 2024
@docjyJ docjyJ self-assigned this Sep 28, 2024
@docjyJ docjyJ requested a review from szaimen September 28, 2024 18:21
Copy link
Member

@st3iny st3iny left a comment

Choose a reason for hiding this comment

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

Hey Jean-Yves, Simon asked me to have a look at your changes. I left some feedback regarding the code itself.

I really like you refactoring the container state logic from an interface to an enum. However, I think that both concerns could have been split into separate PRs. One PR to refactor the interface and another one to implement the new healthy states. But the code is already there so why not.

Looks good otherwise but did not test.

php/src/Container/Container.php Outdated Show resolved Hide resolved
php/src/Controller/DockerController.php Outdated Show resolved Hide resolved
php/src/Docker/DockerActionManager.php Outdated Show resolved Hide resolved
php/src/Docker/DockerActionManager.php Outdated Show resolved Hide resolved
php/src/Docker/DockerActionManager.php Outdated Show resolved Hide resolved
php/src/Docker/DockerActionManager.php Outdated Show resolved Hide resolved
php/README.md Outdated Show resolved Hide resolved
php/src/Container/IContainerState.php Outdated Show resolved Hide resolved
@docjyJ
Copy link
Collaborator Author

docjyJ commented Oct 1, 2024

Hi,

Thanks for the answer, as soon as I have time I'll look into it.

I will try to separate and make several PR.

Take care,

@docjyJ docjyJ added 2. developing Work in progress blocked and removed 3. to review Waiting for reviews labels Oct 2, 2024
@docjyJ docjyJ marked this pull request as draft October 2, 2024 13:11
@docjyJ
Copy link
Collaborator Author

docjyJ commented Oct 2, 2024

I keep this PR open for the unhealthy state.
See #5372 for enum

Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
@docjyJ docjyJ changed the title AIO: add IContainerState AIO: add Unhealthy container state Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress blocked enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants