Contributors sidebar still shows @codex after history cleanup, but API is correct #207623
Replies: 3 comments
|
💬 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. ⭐ |
|
The discrepancy occurs because GitHub uses two different mechanisms to report contributors:
Here are the self-service workarounds to force GitHub to rebuild the sidebar cache: 1. Default Branch Toggle (Most Reliable Self-Service Fix)Switching the repository's default branch invalidates the cached overview widget:
This forces the homepage worker to discard the previous contributor aggregate and re-traverse the commit tree. 2. Push a New Commit to the Default BranchIf you have not pushed any commits since the force-push, push an empty commit: git commit --allow-empty -m "chore: trigger contributor index refresh"
git push origin mainThe push webhook triggers the repository metadata re-indexing pipeline. 3. Contact Support if Cached Git Objects LingerGitHub retains unreachable Git objects in repository storage networks for up to 90 days before garbage collection ( |
|
Update: this resolved the issue for both repositories. I created a temporary branch at the current |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
🏷️ Discussion Type
Bug
Body
The homepage Contributors sidebar is displaying stale data for two public repositories after their commit attribution was cleaned up several days ago:
Both repository homepages still show
@codexalongside@cwyalpha. However, the current reachable Git history has no Codex author or committer identity and noCo-authored-bytrailer.The REST Contributors API already returns only
cwyalphafor each repository:I also confirmed that the current branches and tags contain only commits authored by
cwyalpha(65 commits in Word-Formatter-Pro, 22 in bid-check-similarity). This has persisted for several days, beyond the documented refresh window.This looks like a stale repository-homepage contributor cache rather than remaining Git history. Is there a user-accessible way to trigger its recomputation, or can GitHub staff refresh it?
I searched Community Discussions and found similar reports, including #201246, #204830, #206983, and #207304, but none provides a self-service resolution.
Thank you.
All reactions