fix: replace unreliable contributor stats aggregation workflow#321
Merged
Conversation
Collaborator
|
Thank you for the pr, i think there are some conflicts to fix (idk why honestly) |
35491fb to
e00e1e9
Compare
Contributor
Author
|
Thanks! I resolved the merge conflicts and rebased the branch on the latest |
Collaborator
|
Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📘 Pull Request – Fix contributor image generation and stats aggregation
🔍 Description
This PR fixes the broken contributor image generation workflow and refactors the contributor statistics aggregation system by replacing the unreliable
/stats/contributorsendpoint polling workflow with commit-history aggregation using the GitHub commits API.Main improvements
The new implementation now:
202 Acceptedstats endpoint.Most contributor statistics now closely match GitHub Insights. Only 2–3 contributors (mainly large maintainer/bot accounts) still show small additions/deletions differences, likely due to GitHub internal aggregation heuristics.
Closes #318
✅ Checklist
npm run dev)🎨 Visual Changes (if UI-related)
No UI changes.
📂 Type of Change
🧩 Additional Notes for Reviewers
GitHub contributor statistics are now generated using commit-history aggregation instead of relying on
/stats/contributors, which frequently returned incomplete202 Acceptedresponses during testing.The implementation now performs: