feat: add job queue, input validation, circuit breakers, and rate lim…#1028
Merged
Devsol-01 merged 3 commits intoJun 27, 2026
Merged
Conversation
…iting - Devsol-01#990: Integrate BullMQ/Redis job queue with 4 queues (notifications, email, blockchain, reports), processors with exponential backoff retries, DLQ strategy, admin visibility endpoints, and 202 Accepted semantics for async report generation. - Devsol-01#987: Add custom validators (IsPositiveAmount, IsStellarSecretKey, IsTransactionHash), Trim/StripControlChars sanitization transforms, and tighten DTOs across auth, governance, and savings modules with proper constraints (amount precision, max lengths, enum validation). - Devsol-01#988: Create generic ExternalCallService wrapping all external dependencies with configurable timeouts, retries, circuit breakers, fallback support, and observability via metrics and admin endpoints. - Devsol-01#991: Add comprehensive tests for TieredThrottlerGuard tier resolution and progressive limits, and RateLimitMonitorService violation tracking. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@PrettyEmerald001 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! 🚀 |
…tructure-hardening # Conflicts: # backend/package.json # backend/src/app.module.ts # backend/src/auth/dto/auth.dto.ts # backend/src/common/validators/is-positive-amount.validator.ts # backend/src/modules/reports/reports.controller.ts # backend/src/modules/savings/dto/create-goal.dto.ts # backend/src/modules/savings/dto/subscribe.dto.ts # backend/src/modules/savings/dto/withdraw.dto.ts # pnpm-lock.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…iting
closes [Backend] -- Add Background Job Queue for Heavy/Asynchronous Tasks #990: Integrate BullMQ/Redis job queue with 4 queues (notifications, email, blockchain, reports), processors with exponential backoff retries, DLQ strategy, admin visibility endpoints, and 202 Accepted semantics for async report generation.
closes [Backend] -- Implement Comprehensive Input Validation and Domain Constraints #987: Add custom validators (IsPositiveAmount, IsStellarSecretKey, IsTransactionHash), Trim/StripControlChars sanitization transforms, and tighten DTOs across auth, governance, and savings modules with proper constraints (amount precision, max lengths, enum validation).
closes [Backend] -- Implement Request Timeouts and Circuit Breakers Around External Calls #988: Create generic ExternalCallService wrapping all external dependencies with configurable timeouts, retries, circuit breakers, fallback support, and observability via metrics and admin endpoints.
closes [Backend] -- Implement Rate Limiting for Public Endpoints with User Tiers #991: Add comprehensive tests for TieredThrottlerGuard tier resolution and progressive limits, and RateLimitMonitorService violation tracking.