Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustbot always thinks @oli-obk is a new contributor #1689

Closed
saethlin opened this issue Apr 16, 2023 · 6 comments · Fixed by #1713
Closed

rustbot always thinks @oli-obk is a new contributor #1689

saethlin opened this issue Apr 16, 2023 · 6 comments · Fixed by #1713
Labels
A-assign-PR Area: PR auto assignment and welcome messages bug Something isn't working

Comments

@saethlin
Copy link
Member

Reporting this because the bot also failed to ping rust-lang/miri here: rust-lang/rust#109938 (comment)

Examples of the bot thinking @oli-obk is a new contributor:

rust-lang/rust#109938
rust-lang/rust#109115
rust-lang/rust#108860
rust-lang/rust#110315

It looks like maybe all the cases where Oli doesn't get the welcome message are PRs that start with a r? @ghost in the PR description.

@oli-obk
Copy link
Contributor

oli-obk commented Apr 16, 2023

I tried fixing this by setting a correct email address in rust-lang/rust#108035 but it turns out github doesn't grok their own custom address either. So I'd need to change that again or make a commit with it.

@ehuss
Copy link
Contributor

ehuss commented Apr 16, 2023

It looks to be some issue on GitHub's side. https://api.github.com/repos/rust-lang/rust/commits?author=oli-obk is returning an empty array. I don't see anything obvious to explain why (the commit objects using other queries like https://api.github.com/repos/rust-lang/rust/commits?sha=241c6a4a616010382aefe297c69a26fb5a22dd06 clearly show the author field as "oli-obk"). Maybe it is caused by the large number of mailmap entries? Or maybe changes in their email address had issues with the index? I'm not sure how GitHub maps commits to GitHub accounts.

We may need to change it back to use the search endpoint (/search/commits?q=repo:rust-lang/rust+author:oli-obk), which seems to work correctly.

@Noratrieb
Copy link
Member

@durin42 is experiencing the same welcomingness: rust-lang/rust#110455 (comment)

@ehuss
Copy link
Contributor

ehuss commented Apr 18, 2023

@Nilstrieb I think their email address does not match their email address in GitHub, so it is not possible to know if they have committed before or not.

@ehuss ehuss added A-assign-PR Area: PR auto assignment and welcome messages bug Something isn't working labels Jul 20, 2023
@RalfJung
Copy link
Member

@rytheo seems to also be "always new": rust-lang/rust#114257

@ehuss
Copy link
Contributor

ehuss commented Jul 31, 2023

Posted #1713 with a fix which seems to work for both rytheo and oli-obk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-assign-PR Area: PR auto assignment and welcome messages bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants