[BUG]: Contributor profile bypasses the shared cache and rate-limit handling

Aperta
#447 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@sumitsingh-cyber ci sta già lavorando.

Dal 14/11/2026.

  • #455 di @sumitsingh-cyber — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, javascript

Direzione di ricerca

Find the contributor profile code that makes the direct fetch call and compare it with the shared fetchWithCache service. Read how fetchAllPages handles 403 responses and whether it handles 429; the issue gives no file or test names, so locate these entry points in the repository. Done means repeated views use the shared cache and rate-limit handling.

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

Descrizione

bug
Bug Description

Contributor profile data is fetched with a direct fetch call instead of the shared fetchWithCache service. This bypasses the IndexedDB cache and the repo-wide rate-limit rules. fetchAllPages treats every 403 as RATE_LIMIT and does not handle 429 explicitly.

Every profile view spends GitHub Search API quota, even when the same contributor was viewed moments earlier.

Steps to Reproduce
  1. Open a contributor profile.
  2. Navigate away and return to the same profile.
  3. Observe new GitHub Search API requests in DevTools instead of a cache hit.
  4. Repeat until the search rate limit is reached.
Impact

Low - Minor inconvenience

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Lingua principale
JavaScript
Stelle
53
Fork
182
Merge medio
18m
PR unite (30g)
2

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 AOSSIE-Org/OrgExplorer

Tutte le issue di AOSSIE-Org/OrgExplorer

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.