-
Couldn't load subscription status.
- Fork 130
feat(guard): add http ping endpoint to edge api hosts #2506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(guard): add http ping endpoint to edge api hosts #2506
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Added a simple HTTP ping endpoint to edge API hosts for health checking and monitoring purposes.
- Added
/pingendpoint in/packages/edge/infra/guard/server/src/routing/api.rsthat returns a 200 OK response with 'ok' message - Endpoint check occurs before server routing logic for efficient handling
- Uses
StructuredResponsefor consistent API response format
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Deploying rivet with
|
| Latest commit: |
64361fd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://41a9b585.rivet.pages.dev |
| Branch Preview URL: | https://05-31-feat-guard-add-http-pi.rivet.pages.dev |
199c164 to
2d15751
Compare
bf29fe0 to
64361fd
Compare
64361fd to
64ab176
Compare
2d15751 to
097e6a0
Compare
Deploying rivet-studio with
|
| Latest commit: |
64361fd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0c711f4b.rivet-studio.pages.dev |
| Branch Preview URL: | https://05-31-feat-guard-add-http-pi.rivet-studio.pages.dev |
Deploying rivet-hub with
|
| Latest commit: |
64361fd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c4a50c2e.rivet-hub-7jb.pages.dev |
| Branch Preview URL: | https://05-31-feat-guard-add-http-pi.rivet-hub-7jb.pages.dev |
097e6a0 to
2d15751
Compare
64ab176 to
64361fd
Compare
Merge activity
|
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->

Changes