Skip to content

feat: Implement a new health check API endpoint for the Frontend app#1230

Merged
mpawlow merged 1 commit into
mainfrom
mp/feat/GH-983-frontend-health-check-api-endpoint
Mar 24, 2026
Merged

feat: Implement a new health check API endpoint for the Frontend app#1230
mpawlow merged 1 commit into
mainfrom
mp/feat/GH-983-frontend-health-check-api-endpoint

Conversation

@mpawlow

@mpawlow mpawlow commented Mar 24, 2026

Copy link
Copy Markdown
Collaborator

Issue

Summary

  • Added a frontend /health liveness probe endpoint and included it in the make health target.

Frontend

  • Added frontend/app/health/route.ts, a Next.js route handler that returned {"status": "ok"} with HTTP 200 as a liveness probe for the frontend application.

Makefile


Manual Verification Test

mpawlow@OpenRAG1:~/git/openrag$ make health
Health check:
Frontend:   {"status":"ok"}
Backend:    {"status":"ok"}
Langflow:   {"status":"ok"}
OpenSearch: The OpenSearch Project: https://opensearch.org/

Issue

- #1221

Summary

- Added a frontend /health liveness probe endpoint and included it in the make health target.

Frontend

- Added frontend/app/health/route.ts, a Next.js route handler that returned {"status": "ok"} with HTTP 200 as a liveness probe for the frontend application.

Makefile

- Updated the health target to call http://localhost:3000/health and display the frontend health status alongside the backend, Langflow, and OpenSearch checks.
@mpawlow mpawlow self-assigned this Mar 24, 2026
@github-actions github-actions Bot added the frontend 🟨 Issues related to the UI/UX label Mar 24, 2026
@mpawlow mpawlow requested a review from mfortman11 March 24, 2026 00:55
@github-actions github-actions Bot added the enhancement 🔵 New feature or request label Mar 24, 2026
@mpawlow mpawlow requested a review from rodageve March 24, 2026 00:56
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 24, 2026
@mpawlow mpawlow linked an issue Mar 24, 2026 that may be closed by this pull request
3 tasks
@mpawlow mpawlow added this to the GA + 1 milestone Mar 24, 2026
@github-actions github-actions Bot added the lgtm label Mar 24, 2026
@mpawlow mpawlow removed the request for review from mfortman11 March 24, 2026 01:27
@mpawlow mpawlow merged commit 40f52c1 into main Mar 24, 2026
14 checks passed
@github-actions github-actions Bot deleted the mp/feat/GH-983-frontend-health-check-api-endpoint branch March 24, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 🔵 New feature or request frontend 🟨 Issues related to the UI/UX lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add a liveliness endpoint for the openrag frontend service

2 participants