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

change PR to "waiting on author" after "changes requested" review #1373 #1857

Closed
tgross35 opened this issue Nov 13, 2024 · 9 comments
Closed

Comments

@tgross35
Copy link
Contributor

tgross35 commented Nov 13, 2024

This was requested in #1373 and added in #1379 (cc @mibac138), but it seems like this must have broken at some point.

@ehuss
Copy link
Contributor

ehuss commented Nov 13, 2024

Can you say why it does not appear to be working? I tested it locally and it seems to be working for me. Is there a PR that shows an example?

@tgross35
Copy link
Contributor Author

I just tried it with a handful of PRs in libc and wound up needing to add the label myself, e.g. rust-lang/libc#3962 or rust-lang/libc#3261. An example in rust-lang/rust rust-lang/rust#132939.

@tgross35
Copy link
Contributor Author

Although it looks like maybe it works at least some of the time? rust-lang/rust#132791

@ehuss
Copy link
Contributor

ehuss commented Nov 13, 2024

@tgross35
Copy link
Contributor Author

Oh, I assumed it was on by default. Thanks!

@tgross35 tgross35 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2024
@tgross35
Copy link
Contributor Author

Okay so it's still not working, but something must be wrong with GitHub here. I approved rust-lang/libc#4028 so it should say "approved" on the PR list but it does not:

Image

Additionally, going reviews->approved review shows nothing recent (even though I have been using the approval UI for a while)

Image

Seems this might be a bigger issue https://stackoverflow.com/questions/75637877/github-filtering-not-showing-approved-reviews

@tgross35
Copy link
Contributor Author

Not sure why this would be, opened a GH bug https://github.com/orgs/community/discussions/144580

@ehuss
Copy link
Contributor

ehuss commented Nov 15, 2024

I'm not sure why GitHub is not showing the pulls (maybe because reviews aren't required?). However, I don't think that is related here. I believe the labels weren't changed on rust-lang/libc#4028 because you were not the assignee (that looks to be changed a minute after approving).

@tgross35
Copy link
Contributor Author

tgross35 commented Nov 15, 2024

I did try reassigning to myself then reapproving, still no luck - I'll have to wait for a fresh one to roll in and try assigning before I do anything. But I don't think GH requires the assignee be the same as the approver, e.g. here is one in rust-lang/rust where I approved and then assigned to myself rust-lang/rust#132914 and it does show "approved" in the PR list. gh pr view 132914 --repo https://github.com/rust-lang/rust --json reviewDecision also reports "reviewDecision": "APPROVED" for this one, so something seems to be related between reviewDecision and what shows in the PR list.

By extrapolation I am assuming this relates to what triggers triagebot, though I haven't traced back via the REST API I guess triagebot only pays attention to ChangesRequested so approving doesn't do anything. Rustbot still seems to not change labels when I do so, but guess I have some more digging.

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

2 participants