Replies: 2 comments 1 reply
-
I support moving to a standard action. The rationale for only closing PRs with the |
Beta Was this translation helpful? Give feedback.
1 reply
-
I filed HDDS-11370 for this. I plan to submit a patch soon. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With Ozone's open PR count creeping upwards, I wanted to start a discussion to revisit how we handle old pull requests that have not received updates in a long time. This came up at the US timezone community sync and I wanted to raise it here to a broader audience.
Motivation
The open pull requests pages and counter is useful for reviewers to gauge whether we are staying on top of incoming changes, something that is always a challenge for a project of this size and complexity. Having too many PRs that remain open but are no longer active, or never leave draft state, adds noise and makes this harder to manage. A look at page 5 of our current PR list shows draft PRs that are pushing two years old without any updates. The bottom of page 4 isn't much better.
Current System
From our ci.md documentation:
However, this description is not quite accurate. For the close workflow to actually close a PR, it needs to have been manually labelled as
pending
first. Since most people are not going around manually marking PRs, the workflow does not help us much.Proposed Change
Closing a PR is a reversible action to move it out of the review queue. It can be re-opened at any time and no information is lost. In some cases closing works as a ping to reviewers or the contributor to check on tasks that may have been stalled or forgotten. IMO we should not be afraid of closing PRs. Based on this, I think an implementation that meets the following criteria would serve us better:
Luckily GitHub's https://github.com/actions/stale does exactly this with the ability to configure it as needed. I propose removing our current pending/close workflow and replacing it with actions/stale.
Let me know your thoughts on this. I wanted to raise this as a discussion instead of a PR so it is seen by a wider audience.
Beta Was this translation helpful? Give feedback.
All reactions