Contributors sidebar lists Claude; commits remain only in merged PR ref #213020
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. ⭐ |
|
I checked the repository, and the retained PR head isn't what keeps Where
The homepage Contributors box is cached separately, and a force push doesn't trigger a recount. Normal pushes don't either: Is
How to refresh it without rewriting anything: switch the default branch away and back. This fixed the same stale entry in #212504, #212678, #212972 and #212998.
Nothing is renamed, so PRs, branches, tags, releases and history stay as they are. In #212972 and #212998, the list was corrected first, and If |
|
Hi, Your investigation is thorough. Here is how I read it. 1. Can a retained PR head explain the sidebar entry? Plausibly, yes. The sidebar and the contributors API are computed differently. The API ( One detail worth checking: PR #1 is merged, but the three Claude-authored commits were found only in 2. Is this expected behavior or stale data? I can't tell which from outside. Both are possible:
3. Safe things you can try, without touching PRs, branches, tags, releases or history
git commit --allow-empty -m "chore: refresh repository stats"
git push origin main
4. What you can't do from your side You can't delete or rewrite 5. If you want a human to look at it Since the support ticket was closed with a self-service referral, try:
Summary: a retained PR head is a reasonable explanation, and I don't know of a supported way to remove it while keeping the PR. If the sidebar entry matters to you, the choices are to wait for a cache refresh, ask Support to look, or accept the display as a side effect of the merged PR. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
The homepage of https://github.com/ziqq/Codetree shows
claudeamong three Contributors, while https://api.github.com/repos/ziqq/Codetree/contributors?anon=1 returns onlyziqq(147 contributions). The default branch ismainate0488e1c4a7139df14ce3c3d1ad34882309502d5.Following advice in https://github.com/orgs/community/discussions/212910#discussioncomment-19575671, I fetched all 30 branch refs, 6 tags and 45 available PR head refs into a temporary bare repository. Searching commit author and committer names/emails, and Co-authored-by trailers for Claude or Anthropic, found three commits with Claude as author and committer, reachable only from
refs/pull/1/headamong the fetched refs:5c96b5dfefdc4a985bba7828f61dac95186337bd,fd7a5d0b0cadd7d596c8350d43f95b57266d57e9andf24b557fe9e40722a8199ab9f2f7fb801b8db9d3. PR #1 is merged and closed. No matching commits were reachable from the fetched branches or tags.Can a retained PR head explain the homepage Contributors entry, and is there a supported way for GitHub to refresh or correct that listing while preserving PRs, branches, tags, releases and history? I cannot tell whether this is stale data or expected behavior.
Support ticket https://help.github.com/ticket/personal/0/4944176 was closed with a referral to self-service resources. The ticket is private. The prior Community discussion was automatically closed because it was submitted without the required UI template.
All reactions