Conversation
- Add rate limiting with @nestjs/throttler (10/s, 100/m, 1000/h) - Add in-memory caching with @nestjs/cache-manager - Add health check endpoints with @nestjs/terminus (/health, /ready, /live) - Add structured logging with Pino (pino-pretty in dev) - Add @public() decorator for skipping JWT auth on public routes - Add request ID middleware (X-Request-ID header) - Update JWT guard to support @public() decorator - Configure Redis environment variables for future production use 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add health.controller.spec.ts with 15 tests covering: - Main health check (database, heap, RSS) - Kubernetes readiness probe - Kubernetes liveness probe - Add public.decorator.spec.ts with 8 tests covering: - IS_PUBLIC_KEY constant - Method-level decorator - Class-level decorator - Reflector metadata access - Add Jest moduleNameMapper for src/* path resolution 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Warning Rate limit exceeded@aabrius has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 28 minutes and 29 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (11)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Test plan
npm test -- --testPathPattern="health.controller|public.decorator"to verify all tests pass🤖 Generated with Claude Code