Skip to content

feat: implement #728, #729, #730, #731 - cache metrics, captcha lockout#846

Merged
nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
NteinPrecious:feat/nteinprecious-issues
Jun 29, 2026
Merged

feat: implement #728, #729, #730, #731 - cache metrics, captcha lockout#846
nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
NteinPrecious:feat/nteinprecious-issues

Conversation

@NteinPrecious

Copy link
Copy Markdown
Contributor

Closes #728, Closes #729, Closes #730, Closes #731

#728 - Verify CacheMetricsInterceptor singleton

Added e2e test confirming CacheMetricsInterceptor shares the same CacheMonitoringService singleton.

#729 - Document CacheMetricsInterceptor DI contract

Added JSDoc comment explaining why app.useGlobalInterceptors is used instead of @UseInterceptors.

#730 - Call recordFailedAttempt on captcha failure

Already implemented in preflightChecks() - calls rateLimitService.recordFailedAttempt() when CAPTCHA verification fails.

#731 - Test 5 invalid captcha submissions trigger lockout

Added integration test verifying account locks after 5 failed CAPTCHA attempts.

@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

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

@nanaf6203-bit nanaf6203-bit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@nanaf6203-bit nanaf6203-bit merged commit f91585a into MettaChain:main Jun 29, 2026
5 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