Skip to content

Fix Docker health check endpoint for Spring Boot 4#185

Merged
labkey-willm merged 1 commit into
developfrom
fb_fix_healthcheck_endpoint
Jun 18, 2026
Merged

Fix Docker health check endpoint for Spring Boot 4#185
labkey-willm merged 1 commit into
developfrom
fb_fix_healthcheck_endpoint

Conversation

@labkey-willm

@labkey-willm labkey-willm commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • /_/health relied on spring-boot-actuator, which is not bundled in Spring Boot 4 (upgraded in Upgrade to Spring Boot 4, Spring Framework 7, and Tomcat 11 server#1260, January 2026)
  • Switches HEALTHCHECK_ENDPOINT to /admin-healthcheck.api, a LabKey-native endpoint returning {"healthy":true} with no auth required
  • Matches the endpoint already in use by production ALB target group health checks

Test plan

  • Build image and verify docker inspect --format='{{.State.Health.Status}}' reports healthy
  • Confirm /admin-healthcheck.api returns {"healthy":true} on a running container

🤖 Generated with Claude Code

/_/health relied on spring-boot-actuator, which is not bundled in
Spring Boot 4 jars. Switch to /admin-healthcheck.api, a LabKey-native
endpoint that returns {"healthy":true} without authentication.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@labkey-willm labkey-willm merged commit 3d16e43 into develop Jun 18, 2026
8 checks passed
@labkey-willm labkey-willm deleted the fb_fix_healthcheck_endpoint branch June 18, 2026 00:50
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