Contributors sidebar still shows removed identity after history rewrite (git filter-repo + force push) #206768
Replies: 3 comments
This comment was marked as low quality.
This comment was marked as low quality.
|
Yes, this is expected it's a known caching quirk, not a leftover reference from the rewrite. The sidebar "Contributors" widget is powered by a separate, cached statistics dataset that GitHub computes via a background indexing job it isn't a live query against your current commit history. This cache doesn't automatically invalidate the moment history changes; it only gets fully recomputed on its own schedule, which is why you can see it lag behind even after a clean force-push. The fact that There's unfortunately no user-facing way to manually trigger a refresh. In practice:
Nothing you did was wrong this is just GitHub's stats cache lagging behind a history rewrite. |
|
Yes, this can happen. GitHub’s contributor data is not necessarily updated at the same time as the repository’s commit history, so the sidebar widget can continue showing an old contributor even after a history rewrite. Since /graphs/contributors is already clean and you’ve verified that the old identity no longer exists in either branch, I would just give GitHub some time to refresh the cached data. In my experience, it can take up to around 24 hours. There doesn’t appear to be a manual refresh option for the sidebar contributor widget. I’d avoid doing additional force-pushes just to trigger it. If it’s still showing the old identity after 24 hours, contacting GitHub Support would probably be the next step. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
I removed an identity ("claude") from my repository's commit history using git filter-repo,
verified it's gone from both branches (main and multi-peer) — no matches in author, committer,
or commit message fields — and confirmed the /graphs/contributors page is already clean.
However, the Contributors widget in the right sidebar of the repo's main page still shows this
identity, even after a force-push and in an incognito browser session.
Repo: https://github.com/Aayusssh10/p2p-secure-file-sharing
Is this expected caching behavior, and if so, how long does it typically take to clear?


Is there any way to manually trigger a refresh?
All reactions