Skip to content

Conversation

@fank
Copy link
Member

@fank fank commented Feb 2, 2026

Summary

  • Add GET /healthcheck endpoint at root level (outside prefix URL)
  • Returns {"status": "ok"} with HTTP 200
  • Enables Docker healthcheck and external monitoring

Test plan

  • Build succeeds
  • Existing tests pass
  • Manual test: curl http://localhost:5000/healthcheck returns {"status":"ok"}

Add GET /healthcheck endpoint for Docker healthcheck and external
monitoring. Returns {"status": "ok"} with HTTP 200.
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/OCAP2/web/internal/server 44.06% (-0.11%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/OCAP2/web/internal/server/handler.go 39.67% (-0.25%) 731 (+7) 290 (+1) 441 (+6) 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@fank fank merged commit c10e6e7 into main Feb 2, 2026
2 checks passed
@fank fank deleted the feat/healthcheck branch February 2, 2026 15:02
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