-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(gh-actions): exempt "needs review" PRs from labelled stale #4792
feat(gh-actions): exempt "needs review" PRs from labelled stale #4792
Conversation
IMO PRs labelled "stale" mean that the contributor has abandoned the PR. For many PRs that are not abandoned but simply not being reviewed because of our reviewer shortage, this is not true. In this case, the PR should be labelled "needs review" and the "stale" label should not be applied.
does anybody want/care to comment on this proposal? |
Can we remove that entirely? Now we have the draft state and the review request. Alternative we may use another "whining" Tag that is neutral adresseing both, reviews and contributors. |
What do you refer to as "that"? The github bot marking PRs stale? IMO github does not really have a good replacement. You could filter by open PRs that the last time they were updated, but thats cumbersome. Still there is not really a way for reviewers to differentiate whether a PR is actually waiting for a review or already received one and is not being updated...
I'd like to have exactly the opposite. I want to be able to tell at first glance whether a PR is currently waiting for a reviewer or the PR author to take action. PRs stall exactly because the interaction fizzles out and nobody knows what to do next. |
That's a good idea. But that has nothing to do with a 90 days delay. In the VCPK upstream repro they have manual info tags for that: GitHub has already the "Draft" "Changes requested" "Approved" states, can we utilize them better? VCPKG has solved this by a number of additional state tags: So if you lock at a PR you like to review later or anyone else need to review, just add the label. How about adopt that? |
Yes, that makes sense, but in that case the bot shouldn't touch the PR IMO, which is exactly what this PR does. |
I did not realized that you have already introduced a the "needs review" tag. That is nice, but we may consider to extend it towards the vcpkg labels. For me the notification of of putting the staled label, was always a kind of ping that a PR is rotting and that we should consider to look at it and not treating a contributor unfair. If this is now bypassed. I am not sure if the stale label was ever very helpful. But after committing this PR it is even more useless. That's why I have proposed to remove that entirely. Alternately we may ping reviewers if the "needs review" is set and the author if another tag is set. What do you think. |
I think it was a default tag from github. I didn't create it, but since it was already there, I went ahead and used it.
I understand that usecase, but its kind of a hack imo. Getting pinged for stale PRs does not seem like a good strategy for handling them. For the reviewers perspective, it would be much better to have a "needs review" tag so reviewers can filter explicitly for such PRs when they have the free time to take on reviewership of a PR (at least thats what I feel like). If you want to prioritize based on what PRs have not been addressed the longest, you can trivially filter by "needs review" and then sort by the last-interaction-date.
Yes, that sounds along the lines of what I intended. I figured the "stale" label was the counterpart for "needs review" (or what you meant with Since "stale" and "needs review" are supposed to be mutually exclusive, the change introduced by this PR is needed so the bot respects that mutual exclusion property. |
That is the essence! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Than we can check id we get pinged for "stale" if it is correct or it should be changed to "needs review"
IMO PRs labelled "stale" mean that the contributor has abandoned the PR.
For many PRs that are not abandoned but simply not being reviewed because
of our reviewer shortage, this is not true. In this case, the PR should be
labelled "needs review" and the "stale" label should not be applied.