Stale contributor still appears on repository page after rewriting Git history #211720
Replies: 3 comments 6 replies
|
Hey, My suggestion: Use this to search the whole repo for any traces of the contributor. For Authored by For Co-authored by If nothing shows up on the traces its probably a github issue and there isnt much you can do. and i would just advice you to clone the repo and create a new one. |
|
Since Insights → Contributors and the contributors API are already clean, this looks like stale derived data on GitHub's side rather than anything in your history. Those surfaces are served from different caches. There's no documented self-service "rebuild", so I'd do two things: rule out anything on your side that keeps the account attached, then nudge the caches. 1. Check hidden refs and emails, not just usernames
git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*' --tags
git log --all --remotes --format='%H %an <%ae> | %cn <%ce>' | grep -i -E 'srinithya182|<their-email>'
git log --all --format=%B | grep -i 'co-authored-by'2. Separate real history from index staleness Open this directly:
If it returns zero commits but the user dropdown still lists the account, the history is clean and only the filter's index is stale. That's useful evidence for support. 3. Trigger a fresh recompute without rewriting anything A normal push to the default branch (even 4. Go back to Support with specifics If the ticket was closed as self-service, reply with the two surfaces affected, the fact that the API and Insights are correct, and the result of step 2. A server-side cache is something only GitHub can purge. I'd hold off on recreating the repo. You'd lose stars, watchers, issues, PRs and inbound links, and if the email mapping is what's causing it, the new repo can reproduce the same result. |
|
Hi, Based on the checks you've already completed, this appears to be a GitHub-side indexing or caching inconsistency rather than an issue with your repository history. Since:
I would avoid rewriting the history again or recreating the repository. Those actions could cause unnecessary disruption without guaranteeing that the stale UI data will be refreshed. Unfortunately, GitHub does not appear to provide a documented self-service mechanism to rebuild these contributor indexes. I would recommend submitting or reopening a GitHub Support request with the repository URL, screenshots, API response, and the affected UI pages. Specifically, ask whether the repository's contributor attribution cache and commit-author filter index can be refreshed server-side. Hopefully, GitHub can investigate and resolve the inconsistency without requiring another history rewrite. Thanks for documenting your findings. This could help other developers experiencing the same issue. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
API
Body
Hello,
I'm trying to resolve a contributor attribution inconsistency in my public repository:
https://github.com/dheerajreddysaddi/insurance-fraud-network-detection
I rewrote the commit author and committer metadata and force-pushed the updated history. It has now been more than 48 hours.
I verified the following:
srinithya182as an author or committer.dheerajreddysaddi.dheerajreddysaddi.srinithya182.srinithya182.GitHub's suggested solution indicated that contributor data might need refreshing, but my support ticket was closed because only self-service resources are available to my account.
Is there a documented way to refresh or rebuild the main-page contributor display and Commits user filter without rewriting the repository history again?
Thank you.



All reactions