Skip to content

feat: implement drip issues - health dashboard, fuzz tests, contract … - #318

Open
kingsebuks001 wants to merge 1 commit into
Pidoko257:mainfrom
kingsebuks001:feature/drip-issues
Open

feat: implement drip issues - health dashboard, fuzz tests, contract …#318
kingsebuks001 wants to merge 1 commit into
Pidoko257:mainfrom
kingsebuks001:feature/drip-issues

Conversation

@kingsebuks001

Copy link
Copy Markdown

…tests, performance regression

  • Add unified health dashboard endpoint (/api/admin/health/dashboard) aggregating SendGrid, Twilio, Stellar, mobile money providers, Redis, PostgreSQL with color-coded status, last check time, and failure details
  • Add manual health check trigger endpoint (/api/admin/health/trigger)
  • Add fast-check fuzz tests for input validation (phone, amount, tx ID, provider) covering 5+ edge cases: empty strings, null/undefined, unicode, NaN, Infinity
  • Add versioned Pact contract verification test ensuring generated pacts are valid and CI fails if provider contracts drift
  • Add performance regression testing with autocannon baseline tracking fails CI if latency degrades >10% or throughput drops >10%
  • Update .gitignore with test snapshots, pact logs, and baseline files
  • Update package.json with test:perf:regression and test:perf:save-baseline scripts
  • Add GitHub Actions CI workflow running tests, fuzz tests, Pact, and perf regression

Description

Brief description of changes.

Related Issue

Fixes #(issue number)

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring
  • Performance improvement

Changes Made

Testing

How did you test these changes?

Checklist

  • Code follows project style
  • Self-reviewed my code
  • Commented complex code
  • Updated documentation
  • No new warnings
  • Added tests (if applicable)

Screenshots (if applicable)

Additional Notes

closes
closes #264
closes #265
closes #266
closes #267

…tests, performance regression

- Add unified health dashboard endpoint (/api/admin/health/dashboard)
  aggregating SendGrid, Twilio, Stellar, mobile money providers, Redis, PostgreSQL
  with color-coded status, last check time, and failure details
- Add manual health check trigger endpoint (/api/admin/health/trigger)
- Add fast-check fuzz tests for input validation (phone, amount, tx ID, provider)
  covering 5+ edge cases: empty strings, null/undefined, unicode, NaN, Infinity
- Add versioned Pact contract verification test ensuring generated pacts are valid
  and CI fails if provider contracts drift
- Add performance regression testing with autocannon baseline tracking
  fails CI if latency degrades >10% or throughput drops >10%
- Update .gitignore with test snapshots, pact logs, and baseline files
- Update package.json with test:perf:regression and test:perf:save-baseline scripts
- Add GitHub Actions CI workflow running tests, fuzz tests, Pact, and perf regression
@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants