Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[test] Cover rate limiter distributed counters

Aperta
#2,091 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
redis, typescript
Ambito
backend, testing

Direzione di ricerca

Start with backend/src/middleware/rateLimiter.ts and inspect the existing test files for the rate limiter. Add deterministic coverage for Redis outages, key isolation, reset headers, and the success, failure, boundary, and authorization paths. Run the relevant tests in CI and confirm they assert the documented public behavior and error contract.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

backend testing

Labels: testing, backend
File/location: backend/src/middleware/rateLimiter.ts

Description:
Rate limiter lacks tests for Redis outages, key isolation, and reset headers.

Acceptance Criteria:

  • Add deterministic tests for the success, failure, boundary, and authorization paths described above.
  • Run the tests in CI and assert the documented public behavior and error contract.

Notes:
This focused regression gap was not covered by the existing test files reviewed in the sweep.

Lingua principale
TypeScript
Stelle
22
Fork
313
Merge medio
4g 1h
PR unite (30g)
73

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LabsCrypt/remitlend

Tutte le issue di LabsCrypt/remitlend

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.