Contributors UI shows incorrect count (4 instead of 2) despite API returning correct data #186025
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
Bug Description
The contributors page for my repository displays 4 contributors in the GitHub UI, but the GitHub API correctly returns only 2 contributors. This appears to be a UI caching issue that persists despite clearing the repository history.
Repository
https://github.com/Marcel-Bich/dogma
Expected Behavior
The GitHub UI should display 2 contributors matching the API response:
Actual Behavior
The GitHub UI displays 4 contributors (incorrect count)
Evidence
API Response (Correct)
Result:
{ "login": "Marcel-Bich", "contributions": 110 } { "login": "github-actions[bot]", "contributions": 1 }Stats API Response
Result:
{}(Empty object, likely being recomputed)
Local Git History
Only shows 2 authors:
Steps Already Taken
Environment
Conclusion
This appears to be a GitHub UI caching bug where contributor data is not being properly refreshed after repository history changes. The API endpoints show correct data, but the web interface displays stale information.
Impact
This creates confusion about repository authorship and contribution history, potentially affecting repository credibility and contributor recognition.
Beta Was this translation helpful? Give feedback.
All reactions