Skip to content

Fix core-service healthcheck port and add health verification#1394

Merged
barroco merged 1 commit intointeruss:masterfrom
kylehodgson:fix/core-service-healthcheck-port
Mar 16, 2026
Merged

Fix core-service healthcheck port and add health verification#1394
barroco merged 1 commit intointeruss:masterfrom
kylehodgson:fix/core-service-healthcheck-port

Conversation

@kylehodgson
Copy link
Contributor

Summary

  • The docker-compose healthcheck for local-dss-core-service hits http://localhost/healthy (port 80) but the core service listens on port 8082, so the healthcheck never passes. This was not previously visible because nothing in the test pipeline checks container health status.
  • probe_locally.sh and qualify_locally.sh verified that containers were in the running state but did not check whether Docker's healthcheck had passed, so the broken healthcheck was not caught by CI
  • Both scripts now wait up to 60 seconds for containers with healthchecks to report healthy before proceeding, ensuring healthcheck misconfigurations are caught going forward

Test plan

  • Verified the old healthcheck URL (http://localhost/healthy) fails inside the container (port 80 not listening)
  • Verified the fixed URL (http://localhost:8082/healthy) succeeds inside the container
  • Started the local DSS instance and confirmed all containers report as (healthy)
  • Verified the new health wait loop passes with healthy containers
  • CI passes make probe-locally and make qualify-locally

🤖 Generated with Claude Code

…scripts

The docker-compose healthcheck for the core service was hitting port 80
instead of 8082 where the service actually listens, causing the container
to always report as unhealthy.

Additionally, probe_locally.sh and qualify_locally.sh only checked that
containers were running, not that they were healthy. This meant the
broken healthcheck was never caught by CI. Both scripts now wait for
containers to report healthy before proceeding.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 15, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: kylehodgson / name: Kyle Hodgson (f6b88e4)

Copy link
Contributor

@the-glu the-glu left a comment

Choose a reason for hiding this comment

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

Tested locally and working, thanks!

Copy link
Contributor

@barroco barroco left a comment

Choose a reason for hiding this comment

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

Thanks @kylehodgson

@barroco barroco merged commit 5be0d33 into interuss:master Mar 16, 2026
12 checks passed
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.

3 participants