Skip to content

feat(indexer): enhance status command with DLQ, cache, warnings, and …#705

Merged
Otaiki1 merged 2 commits into
crackedstudio:masterfrom
Michealshodipo56:feat/enhance-status-command
May 31, 2026
Merged

feat(indexer): enhance status command with DLQ, cache, warnings, and …#705
Otaiki1 merged 2 commits into
crackedstudio:masterfrom
Michealshodipo56:feat/enhance-status-command

Conversation

@Michealshodipo56
Copy link
Copy Markdown
Contributor

…tests

  • status.service.ts: add DLQ count, last processed event timestamp, Redis cache latency check, and actionable warnings array for degraded states (DB error, Redis error, high lag, DLQ non-empty)
  • status.service.ts: include DeadLetterEventEntity in CLI DataSource
  • status-display.ts: render DLQ, Cache, and Warnings sections in table
  • status.service.spec.ts: new test suite covering healthy, lagging, and DLQ-heavy states, and unreachable dependency warnings
  • indexer/README.md: document pnpm run status and --json examples
  • health.service.ts: fix EventEmitter import (node events, not NestJS)
  • database.config.ts: fix readonly logging array TS type error
  • ledger-poller.service.ts: fix incrementEventsProcessed call type
  • archive-raffle-events.ts: fix first CLI entrypoint to pass DataSource

Closes: enhance status command issue

close #562

…tests

- status.service.ts: add DLQ count, last processed event timestamp,
  Redis cache latency check, and actionable warnings array for degraded
  states (DB error, Redis error, high lag, DLQ non-empty)
- status.service.ts: include DeadLetterEventEntity in CLI DataSource
- status-display.ts: render DLQ, Cache, and Warnings sections in table
- status.service.spec.ts: new test suite covering healthy, lagging, and
  DLQ-heavy states, and unreachable dependency warnings
- indexer/README.md: document pnpm run status and --json examples
- health.service.ts: fix EventEmitter import (node events, not NestJS)
- database.config.ts: fix readonly logging array TS type error
- ledger-poller.service.ts: fix incrementEventsProcessed call type
- archive-raffle-events.ts: fix first CLI entrypoint to pass DataSource

Closes: enhance status command issue
@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

@Michealshodipo56 is attempting to deploy a commit to the otaiki1's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Otaiki1 Otaiki1 merged commit 69a59c2 into crackedstudio:master May 31, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Indexer: upgrade status CLI for operators

2 participants