[BUG] New "Contributors" section does sometimes not match the "Contributors" tab under "Insights"

Not sure how bugs fit in this category, but a staff member said that this was the proper place so I’m posting it here.

The new small Contributors section sometimes lists contributors that are not listed on the Contributors tab under Insights. The expected behaviour was for the new section to list the same contributors as listed on the Contributors tab under Insights.

Below are screenshots from this project.

The new Contributors section
pic1

The Contributors tab under Insights
I was going to past an image of this tab here, but the new user limit is preventing me to, so you’ll have to go to the project and take a look at the tab yourself. The tab only listed TropicSapling and tolopolop as contributors.

The account mytopdog is listed in the new section, but not on the tab. mytopdog has made 1 commit: https://github.com/TropicSapling/P-plus/commits?author=mytopdog. However, that commit is just a merge of changes from the main repository into a fork, which didn’t result in any new code once there was a merge back from the fork into the main repo. The only new code merged into the main repo was from tolopolop. Perhaps it also helps to know that the 2 accounts mytopdog and tolopolop are both owned by the same person, and he probably accidentally switched between the accounts.

I had to remove some links due to the new user limit as well, but just ask me if you need more links or info and I’ll reply with it :slight_smile:

Hi TropicSapling!

This behavior is because of how merge commits are treated. The front page will display all users that have any commits present on the default branch.

The contributors section of the repository insights, however, does not count merge commits. (It’s mentioned here.

Now that the contributors mentioned on the front screen are much more visible, it’s causing a bit of confusion that the numbers don’t match - we’re currently discussing what to do about that, and I’ll show your report to the team!

1 Like

I see. Thank you :slight_smile:

I followed the guide here:

https://docs.github.com/en/github/using-git/changing-author-info

And scrubbed a faulty user(its another one of my own users) from my commits in my repo. I see no merge commits of this user anywhere but it still shows up on the front page. (The user did disappear from repository insights,)

This was yesterday, but waiting a day did not solve it.

Hey @Ghilt! :wave: Welcome to the Community!

The front page relies heavily on cached data - if you let me know which repo you’re talking about I’ll clear its caches!

Ok! Thanks, it was the repositories FractalView and Rabbit

@Ghilt - I’ve refreshed those repos, you might need to clear your browser cache to see the results!

Hi,

I followed the Change Author Info guide as well to remove a contributor who appears on the main page without any commits on the current branches. Could you clear the cached data for MEAnalyzer repo as well?

I’ve done that for you @platomav!

1 Like

Thank you very much :slight_smile: .

1 Like