Skip to content

feat: add request validation, SSL pinning, log rotation, and query plan caching - #609

Merged
ritaifeoluwa merged 2 commits into
SmartDropLabs:mainfrom
chinoyenmose:fix/validation-ssl-rotation-queryplan-576-577-578-579
Oct 19, 2026
Merged

ritaifeoluwa merged 2 commits into
SmartDropLabs:mainfrom
chinoyenmose:fix/validation-ssl-rotation-queryplan-576-577-578-579

Conversation

@chinoyenmose

Copy link
Copy Markdown
Contributor

Closes #576
Closes #577
Closes #578
Closes #579

What changed

Why

  • No centralized request validation allowed inconsistent or invalid payloads through
  • Outbound API calls were vulnerable to MITM attacks
  • Log files could grow unbounded and exhaust disk
  • Repeated queries regenerated plans with no caching

How to test

  • npx jest — 412 passed, 3 pre-existing failures (config, errorHandler, health) unrelated to these changes
  • POST with Content-Type: text/plain → 415 Unsupported Media Type
  • Set SSL_PINNED_CERTS / SSL_PINNED_SPKI env vars to enable certificate pinning
  • Check logs/ directory for rotated log files

@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

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

@ritaifeoluwa
ritaifeoluwa merged commit d54a2d0 into SmartDropLabs:main Oct 19, 2026
1 of 3 checks passed
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