Skip to content

Conversation

@nytamin
Copy link
Member

@nytamin nytamin commented Oct 6, 2025

About the Contributor

This pull request is posted on behalf of the NRK

Type of Contribution

This is a: Feature

New Behavior

This PR adds an opt-in (using CLI arg -healthPort) http-server to Mos- & Playout-Gateway, which exposes the /healthz and /readyz endpoints, which can be used in a Kubernetes envidonment to determine liveness and readyness, see https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.

Affected areas

This PR affects no playout, nor ingest logic, but adds an opt-in http server to mos-gateway & playout-gateway

Time Frame

Not urgent, but we would like to get this merged into the in-development release.

Other Information

Status

  • PR is ready to be reviewed.
  • The functionality has been tested by the author.
  • Relevant unit tests has been added / updated.
  • Relevant documentation (code comments, system documentation) has been added / updated.

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 34.93976% with 54 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/server-core-integration/src/lib/health.ts 22.85% 54 Missing ⚠️

📢 Thoughts on this report? Let us know!

@nytamin nytamin added Contribution External contribution Contribution from NRK Contributions sponsored by NRK (nrk.no) labels Oct 6, 2025
@nytamin nytamin marked this pull request as ready for review October 8, 2025 05:09
@nytamin nytamin requested a review from a team as a code owner October 8, 2025 05:09
@nytamin nytamin merged commit b3332d4 into Sofie-Automation:release53 Oct 13, 2025
32 checks passed
@nytamin nytamin deleted the feat/health-endpoints-upstream branch October 13, 2025 07:20
@jstarpl jstarpl changed the title Add health endpoints to Mos- & Playout-Gateway feat: Add health endpoints to Mos- & Playout-Gateway Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contribution from NRK Contributions sponsored by NRK (nrk.no) Contribution External contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants