OLS-3059: Extract GET /health liveness endpoint#47
Conversation
Move the liveness handler into health.py with unit tests. Keeps /health as the canonical path per health-probes.md; /ready follows in OLS-3060. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@onmete: This pull request references OLS-3059 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@onmete: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
GET /healthliveness intohealth.py(register_health_routes) for a clear home ahead of OLS-3060/readyprovider-architecture.md,configuration.md,run-api.md)Keeps
/healthas the canonical liveness path per health-probes.md (no/livenessrename).Related
Test plan
make testmake lintMade with Cursor