Skip to content

Health#482

Closed
Whiznificent wants to merge 1 commit into
Pulsefy:mainfrom
Whiznificent:feature/health-dependencies-probe
Closed

Health#482
Whiznificent wants to merge 1 commit into
Pulsefy:mainfrom
Whiznificent:feature/health-dependencies-probe

Conversation

@Whiznificent
Copy link
Copy Markdown
Contributor

Added a lightweight dependency probe endpoint for issue

What: Implemented GET /api/v1/health/dependencies — a minimal, stable probe reporting Redis connectivity, provider configuration readiness, and filesystem/temp access.
Behavior: Returns 200 when all checks are up, 503 when any check fails. Responses contain no secrets or PII.
Response shape:
Example: {"status":"ready","ready":true,"service":"backend","timestamp":"...","checks":{"redis":{"status":"up"},"providerConfiguration":{"status":"up"},"filesystem":{"status":"up"}}}
Files changed:
Service: health.service.ts
Controller: health.controller.ts
App metadata: app.service.ts
Tests: Added/updated tests to cover the probe logic and endpoint: health.service.spec.ts and health.controller.spec.ts.
Notes: Provider readiness treats VERIFICATION_MODE=ai as requiring both AI_SERVICE_URL and OPENAI_API_KEY; in mock mode provider check is skipped.

Closes #462

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 26, 2026

@Whiznificent Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Copy link
Copy Markdown
Contributor

@Cedarich Cedarich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix workflow

@Cedarich Cedarich closed this May 29, 2026
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.

Add /health/dependencies Probe

2 participants