Skip to content

Add healthcheck to augury ecs tasks#878

Merged
svevang merged 2 commits intomainfrom
augury-add-ecs-health-check
Feb 27, 2026
Merged

Add healthcheck to augury ecs tasks#878
svevang merged 2 commits intomainfrom
augury-add-ecs-health-check

Conversation

@svevang
Copy link
Member

@svevang svevang commented Feb 23, 2026

HealthCheck:
Command:
- CMD-SHELL
- ./bin/docker-health-check
Copy link
Member

Choose a reason for hiding this comment

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

There is some value in ensuring that this command always returns exactly 0 or 1. I've seen cases where other return values behave unexpectedly.

Copy link
Member Author

Choose a reason for hiding this comment

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

Does it make sense to have that live inside the docker-health-check script?

Added: https://github.com/PRX/augury.prx.org/pull/1979/changes/2f68251e055d40c7bff159665e231e849ffd8cf7

Copy link
Member

Choose a reason for hiding this comment

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

I think enforcing it here ensures the result, even if the script changes down the road, but I have no strong preference. I think this is a good solution for now.

@svevang svevang merged commit 2aed7a0 into main Feb 27, 2026
4 checks passed
@svevang svevang deleted the augury-add-ecs-health-check branch February 27, 2026 17:01
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