hatch-surf/internal/handler
Riley Zhang 12775f836c Phase 4: Production readiness - graceful shutdown, health checks, load testing, pprof
- Graceful shutdown: SIGINT/SIGTERM handling with 5s timeout
- Readiness probe (/readyz): pings database before reporting ready
- Connection pool: documented MaxOpenConns(1) for SQLite single-writer constraint
- Load test tool: cmd/loadtest with configurable concurrency/total requests
- Shell script: scripts/load-test.sh for quick load testing
- pprof endpoints: /debug/pprof/* when HATCH_DEBUG env var is set

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-24 05:26:42 +02:00
..
api_v1_test.go test: add unit tests for handler and store packages 2026-06-24 05:07:50 +02:00
api_v1.go test: add unit tests for handler and store packages 2026-06-24 05:07:50 +02:00
handler_test.go test: add unit tests for handler and store packages 2026-06-24 05:07:50 +02:00
handler.go Phase 4: Production readiness - graceful shutdown, health checks, load testing, pprof 2026-06-24 05:26:42 +02:00
inspect.go feat(inspect): polish server-rendered request list page 2026-06-22 19:09:58 +02:00
mock.go feat: add one-click replay for captured requests 2026-06-22 16:58:42 +02:00
replay_test.go Add linting, formatting, and test infrastructure for Phase 1 2026-06-24 04:59:52 +02:00
replay.go feat: add one-click replay for captured requests 2026-06-22 16:58:42 +02:00
sse.go feat(inspect): polish server-rendered request list page 2026-06-22 19:09:58 +02:00