Skip to content

Conversation

@andypols
Copy link
Contributor

Summary

We’re deploying GitProxy on AWS behind an Application Load Balancer (ALB) listener that routes traffic to either the web app or the proxy. ALB target groups require a health-check path. The web app already exposes /healthcheck, but the proxy does not.

This PR adds a /healthcheck endpoint to the proxy so the load balancer can verify it’s running, and includes a test.

Changes

  • Add /healthcheck route to the proxy returning 200 OK.
  • Add corresponding test in test/testProxyRoute.test.js.

@netlify
Copy link

netlify bot commented Sep 10, 2025

Deploy Preview for endearing-brigadeiros-63f9d0 canceled.

Name Link
🔨 Latest commit dabbd44
🔍 Latest deploy log https://app.netlify.com/projects/endearing-brigadeiros-63f9d0/deploys/68c175f66e6d2e00083dfabb

Copy link
Contributor

@kriswest kriswest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine - I think there's a typo to fix.

@kriswest
Copy link
Contributor

Looks like there is a type error (that I don't think you introduced) failing the CI check. @jescalada @fabiovincenzi src/proxy/routes/index.ts may need a look...

@codecov
Copy link

codecov bot commented Sep 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.74%. Comparing base (93a1aaf) to head (dabbd44).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1197      +/-   ##
==========================================
+ Coverage   83.71%   83.74%   +0.03%     
==========================================
  Files          67       67              
  Lines        2886     2892       +6     
  Branches      365      366       +1     
==========================================
+ Hits         2416     2422       +6     
  Misses        410      410              
  Partials       60       60              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@kriswest kriswest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@jescalada jescalada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍🏼

@jescalada jescalada merged commit 10e0cb3 into finos:main Sep 11, 2025
14 checks passed
@andypols andypols deleted the add-proxy-healthcheck branch September 11, 2025 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants