fix: ENG-QA-GAUNTLET-146 — Add GET /api/v1/status endpoint with formatted uptime #69

Merged
john merged 1 commit from feat/eng-qa-gauntlet-146 into dev 2026-05-10 13:53:18 +00:00
Owner

Automated fix for ENG-QA-GAUNTLET-146.

Create app/api/status.py with an endpoint returning server uptime. Use the existing app.utils.formatters.format_duration helper to convert the elapsed seconds since server start to a human-readable string (e.g., '2h 15m 30s'). Track server start time in a module-level variable set at import time. Return {"uptime": "2h 15m 30s", "started_at": "..."}. Register in app/api/router.py.

Automated fix for ENG-QA-GAUNTLET-146. Create app/api/status.py with an endpoint returning server uptime. Use the existing app.utils.formatters.format_duration helper to convert the elapsed seconds since server start to a human-readable string (e.g., '2h 15m 30s'). Track server start time in a module-level variable set at import time. Return {"uptime": "2h 15m 30s", "started_at": "..."}. Register in app/api/router.py.
feat: ENG-QA-GAUNTLET-146 — Add GET /api/v1/status endpoint with formatted uptime
All checks were successful
CI / lint-and-test (pull_request) Successful in 1m21s
b9b69b5a20
john scheduled this pull request to auto merge when all checks succeed 2026-05-10 13:51:55 +00:00
john merged commit d4a52a1a22 into dev 2026-05-10 13:53:18 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
haskytech/qa-gauntlet!69
No description provided.