chore(self-hosting): add health check endpoint#3562
chore(self-hosting): add health check endpoint#3562waleedlatif1 merged 1 commit intosimstudioai:stagingfrom
Conversation
Add a simple API health route for deployment platforms and container probes, with focused route coverage.
PR SummaryLow Risk Overview Includes a focused Vitest spec ( Written by Cursor Bugbot for commit 0c00560. This will update automatically on new commits. Configure here. |
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile SummaryThis PR adds a lightweight
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Probe as Deployment Probe / Load Balancer
participant Next as Next.js App Router
participant Handler as GET /api/health
Probe->>Next: GET /api/health
Next->>Handler: route handler invoked
Handler-->>Next: Response.json({ status: "ok", timestamp })
Next-->>Probe: HTTP 200 { status: "ok", timestamp: "<ISO 8601>" }
Last reviewed commit: 0c00560 |
Summary
GET /api/healthendpoint for deployment platforms and container probesValidation
bun --cwd apps/sim vitest run app/api/health/route.test.tsbunx @biomejs/biome check apps/sim/app/api/health/route.ts apps/sim/app/api/health/route.test.ts