-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
no issue created when clippy toolstate breaks #61693
Comments
@rustbot modify labels: T-dev-tools T-infra |
I don't think it is related to rls. The logs say I can't see anything unusual in the script to explain why it would fail only for clippy-driver. My best guess is that there is something wrong with the list of assignees. The API docs say you can assign up to 10, so the larger number shouldn't be a problem. @kennytm I could add some more debug output to publish_toolstate.py to understand the 422 error. I could also try to run the code locally with my own github token to see what the error is, but I don't want to generate noise pinging people if it succeeds. |
Apparently the GitHub API docs is wrong, unassignable users are causing the 422 errors instead of being silently dropped as documented. No issues for clippy-driver because I think rustfmt will have the same issue because Additionally, no issues for #62003 because the assignees array included the PR author |
(Re-nominating for what to do with the |
In yesterday's infra meeting, we have decided to fix this issue by separating the list of people to be assigned and mentioned, and also the PR author will no longer be assigned automatically. This could be implemented by
|
I'm curious if it is necessary to set the assignee field at all. If all the people are @ mentioned in the body, they should be sufficiently notified. Does setting the assignee field have any benefits that I'm not aware of? It seems like skipping all this would simplify it a lot. These issues typically get fixed very quickly anyways. |
Assignees can reach the issues again from https://github.com/issues/assigned, but for mentions it will be gone once the notification is read. |
Is there a reason for keeping the issue open? |
#62023 implemented the strategy that the author of the breaking PR does not get assigned any more. So creating issues should always work now. However, we still assume all people listed in So, closing this issue as fixed. |
I don't think this is true. There are people in MAINTAINERS that cannot be assigned. For example, for clippy llogiq and mcarton are not members of this repo. Given that, I'm a bit baffled how #62338 got opened. It seemed to assign the first two people, and then ignored the rest? |
Oh. That sounds like fun. Any reason they can't be added so the org so that they can be assigned? Seems reasonable that people maintaining tools important enough to be tracked this way are added to the org (AFAIK that doesn't even automatically entail any new powers). |
Otherwise my proposal would be to make |
I think this has been resolved by #64119. |
#61672 broke clippy toolstate but there was no issue created automatically.
Probably linked to rls/clippy decoupling #61670
The text was updated successfully, but these errors were encountered: