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

issues with error — Given usernames could not be requested #65

Closed
aalexanderr opened this issue Dec 23, 2022 · 10 comments
Closed

issues with error — Given usernames could not be requested #65

aalexanderr opened this issue Dec 23, 2022 · 10 comments

Comments

@aalexanderr
Copy link

Two examples that we are getting this error msg on:
project-chip/connectedhomeip#23612 (this user has other PRs in this repo that work)
project-chip/connectedhomeip#23908 (this pull initially passed pullapprove but after one of the rebases/ merges started throwing title error msg)

Is there anything we can do to fix this?

Some potentially relevant info - i have 2 e-mail addresses connected to the gh acc, maybe thats whats tipping it over?

@davegaeddert
Copy link
Member

Hey @aalexanderr — looks like the specific account it's having an issue with is @ksperling-apple. Is there something that might have changed there (permissions, team/org membership, etc.)? Hope that helps!

@davegaeddert
Copy link
Member

Note that if you think the issue is resolved, any update to the PR will trigger it to run again (adding/removing a label is always an easy one if no other activity).

@davegaeddert
Copy link
Member

I'm going to close this for now — let me know if you're still having issues!

@bzbarsky-apple
Copy link

@davegaeddert That account was recently (as of when this issue was filed) added to a reviewers group, but should generally be fine...

@davegaeddert
Copy link
Member

Hey @aalexanderr @bzbarsky-apple — sorry, this fell off my radar. It looks like there are still some username issues coming through:
CleanShot 2023-01-27 at 13 43 59

Unfortunately I don't know exactly which of these is the problem, but what I'd suggest is simply going to project-chip/connectedhomeip#23951 and clicking the reviewer dropdown and see which one of those people doesn't show up! Again, sorry I'm slow to get back to this.

@bzbarsky-apple
Copy link

and see which one of those people doesn't show up!

All four of them show up in the autocomplete if I start typing their names in....

@davegaeddert
Copy link
Member

Geez. Ok, I've turned on some additional logging to see if I can get to the bottom of it. If not, I should have more info to ask GitHub support if they can tell what the issue is... I'll check later in the week and see if any new ones have come through.

@davegaeddert
Copy link
Member

I've opened a ticket with GitHub about this, just fyi.

@davegaeddert
Copy link
Member

@bzbarsky-apple @aalexanderr here's the response from GitHub so far...
CleanShot 2023-02-08 at 11 33 48

@davegaeddert
Copy link
Member

Alright, so the gist is that the PR "is in a bad state". There's a known issue with the GitHub API where requesting reviews too quickly can cause multiple review requests to exist for the same user, and that's causing the validation error later. They're working on it but also said it depends on some other projects, so who knows. I've known about this issue for a while and basically have a jitter on requesting reviews to mitigate it — I went ahead and increased that potential delay, so hopefully we get less of these going forward.

I'll keep an eye on it, but let me know if it continues to be a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants