Add a GET /health endpoint that returns { status: 'ok', uptime: process.uptime()#324
Add a GET /health endpoint that returns { status: 'ok', uptime: process.uptime()#324shivammittal274 wants to merge 2 commits intomainfrom
Conversation
…uptime: process.uptime() Task ID: 0RfOvyri
|
Thank you for your contribution! Before we can merge this PR, we need you to sign our Contributor License Agreement. To sign the CLA, please add a comment to this PR with the following text: You only need to sign once. After signing, this check will pass automatically. Troubleshooting
You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the **CLA Assistant Lite bot**. |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
Greptile OverviewGreptile SummaryThis PR extends the existing The new Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Client
participant HonoApp as Hono app
participant HealthRoute as /health route
participant Process as process
Client->>HonoApp: GET /health
HonoApp->>HealthRoute: dispatch request
HealthRoute->>Process: process.uptime()
Process-->>HealthRoute: uptime (seconds)
HealthRoute-->>HonoApp: 200 {status:"ok", uptime}
HonoApp-->>Client: JSON response
|
Summary
Add a GET /health endpoint that returns { status: 'ok', uptime: process.uptime() } to the main server
Changes
Agent Metadata
Generated by coding-agent v3