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

fix(devservices): Fix healthcheck bug #247

Merged
merged 1 commit into from
Mar 31, 2025

Conversation

Copy link

codecov bot commented Mar 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.58%. Comparing base (2622752) to head (892c8f7).
Report is 3 commits behind head on main.

✅ 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.
📢 Have feedback on the report? Share it here.

@@ -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
Copy link
Member

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?

Copy link
Member Author

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]
Copy link
Member

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

Copy link
Member Author

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

@hubertdeng123 hubertdeng123 merged commit f9b152a into main Mar 31, 2025
14 checks passed
@hubertdeng123 hubertdeng123 deleted the hubertdeng123/fix-healthcheck-bug branch March 31, 2025 18:00
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