You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6fd3f68
Browse filesBrowse the repository at this point in the historyBrowse files
fix: stop GitHub rate-limit lockouts and unblock Vercel deploys (#3528)
* fix: stop GitHub rate-limit lockouts and unblock Vercel deploys
Dashboard loads issued ~95 Search API calls against a 30/minute quota, and
paging a year of commit search tripped GitHub's secondary (anti-scraping)
limit, which then froze every API for the user.
- Build the commit timeline from GraphQL (contributionsCollection repo
discovery + per-repo default-branch history filtered by author id).
No Search API quota is spent and totals now match GitHub's own
contribution graph instead of double-counting mirrored commits.
- Derive every commit window (streak, consistency, contributions,
productive hours, commit times, hourly, weekly summary, repos,
languages, repo explorer, repo health, CI) from that one shared,
memoized timeline.
- Repo health: one GraphQL query per repo replaces four searches.
- Request layer: bounded per-resource concurrency instead of strict
serialization, per-resource freshness, a short revalidation floor so a
forced refresh revalidates shared queries once, and a 429 with
remaining=0 is treated as a primary limit for that resource only.
- Move the two hourly crons to a GitHub Actions schedule; Vercel Hobby
rejects sub-daily crons, which has failed every deploy since Sept 12.
Forced refresh of all 24 dashboard endpoints: ~95 -> 15 searches, 0 429s.
* fix(metrics): derive repo/org-scoped commit views from the shared timeline
Repo and org filters on contributions and top repos now slice the shared
commit timeline in memory instead of issuing their own commit searches.
This removes the last commit-search fan-out and the user-controlled
branch between two fetch paths that CodeQL flagged.
0 commit comments