AletheiaFact / AletheiaFact/aletheia

B2B-13 · Real health checks (terminus: Mongo + Kratos, readiness/liveness)

Open
#2,546 0 comments 0 reactions 0 assignees View on GitHub
backlog devops server
Dominant language
TypeScript
Stars
55
Forks
20
Avg merge
2d 6h
Merged PRs (30d)
2

Description

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:** —

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, mongodb, typescript
Domain
backend, databases, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.