Skip to content

Conversation

@oms09
Copy link
Contributor

@oms09 oms09 commented Nov 17, 2025

Motivation and Context

Proxy service in GCP Cloud Run currently does not have a dedicated healthcheck endpoint.
This PR adds a /status GET endpoint for health checks

What has changed

Added @app.get("/status") in eq_cir_proxy_service/main.py for a simple healthcheck endpoint
Returns HTTP 200 with JSON: {"status": "OK"}
Logs a simple info message when the endpoint is called.

How to test?

Run the build-push-on-pr trigger for the Proxy service on the EQS-25-add-healthcheck-endpoint branch to get the image in your sandbox.

Update your .tfvar file to use image_tag = "EQS-25-add-healthcheck-endpoint" for proxy service

add healthcheck_path = "/status"

Apply terraform changes
Check cloud run log to confirm status endpoint was called

Links

JIRA: https://officefornationalstatistics.atlassian.net/browse/EQS-25

Screenshots (if appropriate)

@oms09 oms09 changed the title healthcheck endpoint EQS-25: Add /status healthcheck endpoint to Proxy service Nov 19, 2025
@oms09 oms09 marked this pull request as ready for review November 19, 2025 15:01
@oms09 oms09 requested review from a team as code owners November 19, 2025 15:01
Paul-Joel
Paul-Joel previously approved these changes Nov 19, 2025
VirajP1002
VirajP1002 previously approved these changes Nov 25, 2025
@oms09 oms09 merged commit 4608273 into main Nov 25, 2025
7 checks passed
@oms09 oms09 deleted the EQS-25-add-healthcheck-endpoint branch November 25, 2025 13:55
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.

5 participants