Repository web sidebar still lists a stale Co-authored-by user from an unreachable commit after history rewrite #214550
Unanswered
gaminghackintosh
asked this question in
Repositories
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. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
Hi everyone,
I noticed an interesting discrepancy in how contributor data is cached across GitHub views after rewriting repository history, and wanted to check whether this is expected behavior or if the sidebar cache eventually expires on its own.
What is happening
In one of my public repositories (
gaminghackintosh/macweb.dev), there is a mismatch between the web repository sidebar and all other GitHub data sources:/_sidebar): displays Contributors 2 (gaminghackintoshandcursoragent)./graphs/contributors-data): displays only 1 contributor (gaminghackintosh).GET /repos/gaminghackintosh/macweb.dev/contributors?anon=1): returns only 1 contributor (gaminghackintosh).Likely cause
Earlier in the project, the initial root commit (
1c4474a) included aCo-authored-by: Cursor <cursoragent@cursor.com>trailer. The repository history was later rewritten, and the currentmainbranch starts from a new root commit (3c11969) with the same file tree but without that trailer.1c4474ais no longer reachable from any branch or tag (compare/main...1c4474areturnsNo common ancestor).gaminghackintosh.Question
Is this a known caching behavior for the repository sidebar widget when
Co-authored-bytrailers are removed via history rewrite? Does that sidebar cache eventually invalidate automatically, or is there any repository-level action (e.g., new commits/releases) that triggers a refresh?Thanks in advance for any insight!
All reactions