Skip to content

feat: GET /api/health for status.profullstack.com - #13

Merged
ralyodio merged 1 commit into
mainfrom
ops/health-endpoint
Oct 6, 2026
Merged

ralyodio merged 1 commit into
mainfrom
ops/health-endpoint

Conversation

@ralyodio

@ralyodio ralyodio commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Adds GET /api/health returning 200 {"status":"ok"} with Cache-Control: no-store, for the status.profullstack.com Gatus check.

  • No database (the store is a JSON file on the data volume), so this is a liveness check.
  • proxy.ts meters every path including /api and answers 402 over the allowance; it now returns early for /api/health so the monitor is never counted or refused.
  • Verified: tsc --noEmit clean, bun test run.

🤖 Generated with Claude Code

Returns 200 {"status":"ok"} with Cache-Control: no-store. The proxy
meters every path including /api, so it lets /api/health through
without counting it against the free tier or offering a 402.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

ThreatCrush Security Scan

0 finding(s)

No findings.

@ralyodio
ralyodio merged commit 13fa8bd into main Oct 6, 2026
5 checks passed
@ralyodio
ralyodio deleted the ops/health-endpoint branch October 6, 2026 18:42
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.

1 participant