Skip to content

Conversation

@luarss
Copy link
Collaborator

@luarss luarss commented Jul 6, 2025

- allow option to customise healthcheck intervals
- update readme

Signed-off-by: Jack Luar <[email protected]>
Copilot AI review requested due to automatic review settings July 6, 2025 17:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR reintroduces a configurable Docker healthcheck, exposes its settings through environment variables, updates documentation to guide users in customizing these settings, and cleans up CI workflows by removing fixed sleep timers.

  • Enable dynamic healthcheck parameters in docker-compose.yml
  • Add corresponding defaults in backend/.env.example
  • Revise README.md to explain healthcheck customization
  • Remove hardcoded sleep from CI workflows

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docker-compose.yml Restore healthcheck block with environment-variable defaults and add frontend dependency on backend health
backend/.env.example Introduce HEALTHCHECK_* variable placeholders
README.md Document how to adjust healthcheck settings
.github/workflows/ci.yaml Remove workaround sleep after Docker startup
.github/workflows/ci-secret.yaml Remove workaround sleep after Docker startup
Comments suppressed due to low confidence (3)

docker-compose.yml:20

  • Using condition: service_healthy requires Compose file format version 2.4 or higher. Please ensure the top-level version is set accordingly or document the required version in a comment.
    depends_on:

README.md:44

  • The linked Docker Compose reference appears to be from an older version. Consider updating the URL to the latest Compose file docs (e.g., https://docs.docker.com/compose/compose-file/compose-file-v3/#healthcheck) to avoid confusion.
For more information, please refer to this [link](https://docs.docker.com/reference/compose-file/services/#healthcheck)

backend/.env.example:46

  • [nitpick] For consistency, quote numeric environment variables (HEALTHCHECK_RETRIES="5") to match the style of other entries and avoid potential parsing issues.
HEALTHCHECK_RETRIES=5

@luarss luarss force-pushed the topic/restore-healthcheck branch from 94f34bb to c782508 Compare July 7, 2025 15:37
@luarss luarss merged commit 1dafd4f into The-OpenROAD-Project:master Jul 7, 2025
2 checks passed
@luarss luarss deleted the topic/restore-healthcheck branch July 7, 2025 16: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.

Restore docker-compose healthcheck

1 participant