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

Đang mở
#447 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@sumitsingh-cyber đang làm issue này rồi.

Từ ngày 14/11/2026.

  • #455 của @sumitsingh-cyber — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, javascript
Lĩnh vực
backend-api-design

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
JavaScript
Star
53
Fork
182
Merge trung bình
18 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AOSSIE-Org/OrgExplorer

Tất cả issue của AOSSIE-Org/OrgExplorer

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.