AletheiaFact / AletheiaFact/aletheia
B2B-13 · Real health checks (terminus: Mongo + Kratos, readiness/liveness)
- Ngôn ngữ chính
- TypeScript
- Star
- 55
- Fork
- 20
- Merge trung bình
- 2 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 2
Mô tả
Part of the B2B epic (Bloco 3 · item 3.4). Quick win, fully independent. Today `server/root.controller.ts:17-20` returns hardcoded `{status:"ok"}`; `@nestjs/terminus` is not a dependency.
## What
- [ ] Add `@nestjs/terminus`
- [ ] Mongo + Kratos health indicators
- [ ] Readiness/liveness endpoints (wire to k8s probes in `deployment/`)
**Effort:** ~0.5 SP · **Depends on:** —
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start at server/root.controller.ts:17-20 to inspect the current hardcoded health response, then inspect deployment/ for the Kubernetes probe configuration. Add the @nestjs/terminus dependency and Mongo and Kratos health indicators, expose readiness and liveness endpoints, and verify that the deployment probes target them.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- kubernetes, mongodb, typescript
- Lĩnh vực
- backend, databases, devops
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 58/100