-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix(devservices): Fix healthcheck bug #247
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #247 +/- ##
=======================================
Coverage 93.58% 93.58%
=======================================
Files 23 23
Lines 1683 1683
=======================================
Hits 1575 1575
Misses 108 108 ☔ View full report in Codecov by Sentry. |
@@ -218,7 +218,7 @@ def _up( | |||
for cmd in up_commands: | |||
try: | |||
container_names = get_container_names_for_project( | |||
cmd.project_name, cmd.config_path | |||
cmd.project_name, cmd.config_path, cmd.services |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to make it clearer that these are the services in the mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really besides naming, but I think this should be satisfactory for now, since these are the services that are involved in the docker compose cmd
@@ -95,7 +95,7 @@ def install_docker_compose() -> None: | |||
|
|||
|
|||
def get_container_names_for_project( | |||
project_name: str, config_path: str | |||
project_name: str, config_path: str, services: list[str] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be a set in theory? I know it would make everything more difficult though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that would be more accurate although this shouldn't be a problem here since container names are always unique
https://linear.app/getsentry/issue/DI-660/healthcheck-bug-for-when-additional-containers-are-already-up