Skip to content

Frontend Health Check Behaviour #18

@c-kruse

Description

@c-kruse

I do not think that frontend /api/health it is doing what it was written to do. It appears to return 200 pretty much regardless of what happens with the backend call:

@star.route("/api/health", methods=["GET"])
async def health(request):
await send_greeting("Testy Tiger", "Hi")
return Response("OK\n", 200)

It could be useful for this to return non-okay when the backend service is unavailable for automated test scenarios where we could hook it up to pod readiness or just have a cleaner endpoint to poll.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions