Skip to content

fix: resolve invoices health check bug (closes #049) - #1014

Merged
greatest0fallt1me merged 3 commits into
CalloraOrg:mainfrom
IFEANYIBRIGHT:fix/invoices-health-b049
Jul 29, 2026
Merged

fix: resolve invoices health check bug (closes #049)#1014
greatest0fallt1me merged 3 commits into
CalloraOrg:mainfrom
IFEANYIBRIGHT:fix/invoices-health-b049

Conversation

@IFEANYIBRIGHT

Copy link
Copy Markdown
Contributor

Closes #914

Summary

Fixes src/routes/invoices/health.ts — the dependency probe for /api/invoices's external dependencies was returning incorrect/broken status output. 3 failing tests → all 14 passing after the fix.

Changes
Fixed the health check logic in src/routes/invoices/health.ts so it correctly probes and reports the status of each external dependency for the invoices route.
No new endpoints added — existing /api/invoices/health behavior corrected to match spec.
Testing
Existing test suite in health.test.ts now passes in full (14/14).
Ran sibling suites (routes/invoices, routes/health, routes/admin/health) — 64 tests passing.
Did not run lint/typecheck in this environment (tooling issue on my end, unrelated to the change) — please run npm run lint / tsc on your side before merge.
Notes
Scope was limited to the one file per the issue's suggested execution; did not touch other files.

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@IFEANYIBRIGHT 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

@greatest0fallt1me
greatest0fallt1me merged commit 000aeec into CalloraOrg:main Jul 29, 2026
1 check passed
@greatest0fallt1me

Copy link
Copy Markdown
Contributor

Green across the board — merging. Thanks!

@IFEANYIBRIGHT
IFEANYIBRIGHT deleted the fix/invoices-health-b049 branch July 29, 2026 08:44
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 /api/invoices/health dependency probe [b#049]

2 participants