Skip to content

api: add health endpoint for availability checks#701

Draft
nuclearcat wants to merge 1 commit into
kernelci:mainfrom
nuclearcat:issue-632-health-endpoint-docs
Draft

api: add health endpoint for availability checks#701
nuclearcat wants to merge 1 commit into
kernelci:mainfrom
nuclearcat:issue-632-health-endpoint-docs

Conversation

@nuclearcat

Copy link
Copy Markdown
Member

The root endpoint now serves the HTML landing page, so it should not be documented or tested as the machine-readable API availability check.

Add GET /health for a stable JSON health response, update the root handler tests to assert the HTML contract, add health endpoint coverage, and point the local-instance docs at /latest/health.

Fixes: #632

The root endpoint now serves the HTML landing page, so it should not be documented or tested as the machine-readable API availability check.

Add GET /health for a stable JSON health response, update the root handler tests to assert the HTML contract, add health endpoint coverage, and point the local-instance docs at /latest/health.

Fixes: kernelci#632
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
@nuclearcat nuclearcat force-pushed the issue-632-health-endpoint-docs branch from 5655612 to 4ba85a7 Compare June 14, 2026 16:03
@nuclearcat nuclearcat marked this pull request as draft June 14, 2026 18:47
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.

Components/Maestro/API/Local instance says GET /latest/ should return some JSON, but it doesn't

1 participant