Skip to content

Added health Route for uptime bot and uptime alert - #2

Merged
aashishrajdev merged 4 commits into
mainfrom
1-feat-write-a-health-check-api
Sep 9, 2026
Merged

aashishrajdev merged 4 commits into
mainfrom
1-feat-write-a-health-check-api

Conversation

@DrDead0

@DrDead0 DrDead0 commented Sep 9, 2026

Copy link
Copy Markdown
Member

What & why

Added a REST-based health check API to the backend to allow external monitors to ping the service for uptime tracking.

The health check is exposed via the Go mux server at the /health path. It returns a simple JSON payload with the current UTC timestamp and an "ok" status, running on a standard HTTP GET method so it can easily be pinged every 24 hours (or at whatever interval is needed).

Closes #1

Type

  • feat
  • fix
  • docs
  • refactor / chore
  • test

Checklist

  • Tests added/updated and passing (task api:test)
  • task proto:lint and pnpm lint pass
  • Proto changes regenerated (task proto) and not hand-edited
  • Docs/READMEs updated for user-facing or structural changes
  • No secrets committed

Notes for reviewers

  • The endpoint is available at GET /health.
  • Example response: {"status": "ok", "timestamp": "2026-09-10T12:00:00Z"}

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Copilot AI lite review requested due to automatic review settings September 9, 2026 21:56
@DrDead0 DrDead0 linked an issue Sep 9, 2026 that may be closed by this pull request
@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
halomail-web Error Error Sep 9, 2026 10:20pm UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@aashishrajdev
aashishrajdev merged commit 5a6050c into main Sep 9, 2026
5 of 6 checks passed
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.

feat: write a health check api

3 participants