Skip to content

[Backend] Enhance NestJS Health Check Logic /health #427

@Olowodarey

Description

@Olowodarey

Background & Context: The existing RpcClientWrapper gives robust fallback, but overall application health integrates database accessibility and specific lag processing boundaries mapped dynamically.
Description: Subclass @nestjs/terminus (Health Module) adding deep introspection testing explicitly ensuring full stack operability actively constantly mapping.
Acceptance Criteria:

  • Create Custom TypeORM TypeOrmHealthIndicator assuring query access passes locally explicitly within ~200ms dynamically mapped bounds.
  • Check indexer.service.ts actively resolving validating it has processed a ledger distinctly within the last 15 seconds ensuring no background task halting mathematically.
  • Respond natively passing comprehensive object mappings directly to uptime integrations (e.g. Datadog or UptimeRobot) orchestrating 503 fallback routing dynamically natively.
    Target Files: backend/src/modules/health/health.controller.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions