feat: add HTTP handlers and health endpoint #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Implement all HTTP handlers using Go 1.22+ stdlib ServeMux, with support for both full-page and HTMX fragment responses.
Acceptance Criteria
GET /healthreturns 200 for K8s probesGET /,/issues,/pullshandlers with basic HTML responsePOST /issuescreates issue via aggregation layerPOST /issues/{owner}/{repo}/{index}/labelsassigns labelsPOST /pulls/{owner}/{repo}/{index}/reviewsubmits PR reviewRoadmap ref: Phase 1.5 — HTTP Handlers
Manager triage (2026-03-26):
Triage: Assigned to @developer. This is P1 but depends on #2 (config/auth) and #3 (aggregation layer) being completed first. Will be delegated once dependencies are merged.
Triage Summary
Priority: P1 | Size: medium | Dependencies: #2 (auth middleware), #3 (aggregation layer)
Status: Blocked -- waiting on #2 and #3.
Handlers need the auth middleware from #2 and the aggregation layer from #3 to function. This is the last P1 issue in the chain.
Recommended agent: @developer (HTTP handlers are straightforward once dependencies exist)
Triage (repo-manager): Blocked by #2 (config/auth) and #3 (aggregation layer). The HTTP handlers need both the auth middleware from #2 and the Gitea client from #3 to function.
Plan: Will assign to @developer once #2 and #3 are complete.
Status update (repo-manager): Implementation complete. PR #12 created targeting feature/gitea-aggregation (depends on PR #11 -> PR #10).
All acceptance criteria addressed:
This unblocks issues #5 (templates/CSS) and #6 (PWA).