Hi hongyu guo, The current Code reviews and feedback from the community are
a bit slow,we really need ways to encourage non-Commtier code review,faster
Code reviews and feedback enable others to participate more actively in the
community. Maybe the community could give some contributors permission to
tag PR (not everyone, need to apply), but not PR approve permission, tags
could `include non-committer-review-accepted`, `return-to-discussion` and
so on. At the same time, good Review feedback is also needed. Anyway, I
think we need a way to encourage non-committer to code reviews and positive
content feedback. Best, LakeShen

hongyu guo <guo_hon...@foxmail.com> 于2023年8月14日周一 19:25写道:

> As a non-committer, I feel extremely glad and excited when my pull
> request is merged into the main branch. I am not afraid of receiving
> sharp feedback pointing out my mistakes, but I truly do not want to
> see no one review my code.
>
> Perhaps introducing a new tag, such as 'non-committer-review-accepted'
> (or any other suitable name) in GitHub or JIRA could serve as an indication
> that the pull request is open for review by non-committers.
> This approach could encourage more non-committers like me to participate
> in code reviews.
>
> Committers can mark this tag when they believe the pull request only
> introduces
> a feature in a small part of Calcite or when the pull request is easy
> to review (e.g., 'add a function to Calcite').
>
>
> Best,
> Hongyu Guo
>
> On 2023/07/04 09:34:50 Stamatis Zampetakis wrote:
> &gt; Here are some stats around PRs merged in the calcite main branch in
> &gt; the last quarter [2023-04-01, 2023-07-01). The stats are not 100%
> &gt; accurate to cover reviews done under PRs/jira etc but clearly show
> &gt; that we are quite far from what we have been discussing here.
> &gt;&nbsp;
> &gt; +-----------+---------------------+
> &gt; | committer
> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reviews&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; +-----------+---------------------+
> &gt; | Julian Hyde <jh...@apache.org&gt; |
> 28&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | Benchao Li <li...@gmail.com&gt; |
> 12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | rubenada <ru...@gmail.com&gt; |
> 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | Jiajun <ji...@foxmail.com&gt; |
> 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | Stamatis Zampetakis <za...@gmail.com&gt; |
> 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | Tanner Clary <11...@users.noreply.github.com&gt; | 3
>
> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | Jacky Lau <li...@gmail.com&gt; |
> 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | Tanner Clary <ta...@google.com&gt; |
> 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | NobiGo <no...@gmail.com&gt; |
> 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | Feng Zhu <we...@gmail.com&gt; |
> 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | dssysolyatin <dm...@gmail.com&gt; |
> 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | olivrlee <11...@users.noreply.github.com&gt; |
> 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | Alessandro Solimando <al...@gmail.com&gt; |
> 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt; | ILuffZhe <37...@users.noreply.github.com&gt; |
> 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
> &gt;&nbsp;
> &gt; I would encourage everyone to set some personal goals in terms of
> &gt; weekly/monthly reviews so that we collectively improve the numbers.
> &gt;&nbsp;
> &gt; I will send another update in this thread when I submit the report for
> &gt; the next quarter Q3 to see if we are making progress or not.
> &gt;&nbsp;
> &gt; Best,
> &gt; Stamatis
> &gt;&nbsp;
> &gt; On Thu, Apr 13, 2023 at 6:51 PM Chapuis Bertil <bc...@gmail.com&gt;
> wrote:
> &gt; &gt;
> &gt; &gt; +1
> &gt; &gt;
> &gt; &gt; I will likely participate in the effort of reviewing PRs when my
> schedule allows it.
> &gt; &gt;
> &gt; &gt; As pointed out in previous comments, some of us have a limited
> amount of time available and few experience with certain areas of the
> codebase. One thing we may experiment with is a shadow review process,
> similar to what is done with shadow program committees at conferences
> (e.g., S&amp;P [1]). For instance, I recently reviewed CALCITE-5160 [2] and
> asked someone else to accept the PR. Frank Zou provided additional
> feedback, and I learned new things along the way. I think such a mechanism
> would really help non-committers and new committers to onboard.
> &gt; &gt;
> &gt; &gt; [1] https://www.ieee-security.org/TC/SP2021/shadowpc.html
> &gt; &gt; [2] https://github.com/apache/calcite/pull/2854
> &gt; &gt;
> &gt; &gt;
> &gt; &gt; &gt; On 12 Apr 2023, at 11:51, Stamatis Zampetakis <
> za...@gmail.com&gt; wrote:
> &gt; &gt; &gt;
> &gt; &gt; &gt; For a long time this has been one of the main issues of the
> project
> &gt; &gt; &gt; and I am happy to see discussions to address this issue.
> &gt; &gt; &gt;
> &gt; &gt; &gt; I would like to mention that as a contributor, I am, and
> always have
> &gt; &gt; &gt; been very grateful to people reviewing my work.
> &gt; &gt; &gt; The fact that I became a committer of this project is
> mainly due to
> &gt; &gt; &gt; Julian and Vladimir Sitnikov who reviewed and merged many
> of my PRs.
> &gt; &gt; &gt; I would definitely like to help and make other contributors
> feel the
> &gt; &gt; &gt; same but I cannot really commit to specific volume and
> deadlines
> &gt; &gt; &gt; spanning several months.
> &gt; &gt; &gt;
> &gt; &gt; &gt; I have the feeling that we don't need the PR manager role.
> The
> &gt; &gt; &gt; assignment work can be done by bots (e.g., [1]) if needed
> and we
> &gt; &gt; &gt; already have our quarterly stats for reporting purposes.
> &gt; &gt; &gt; If we want to put a human behind this then it makes more
> sense for
> &gt; &gt; &gt; this person to be the release manager; this should be the
> one nagging
> &gt; &gt; &gt; people for advancing the work and moving towards the
> release.
> &gt; &gt; &gt;
> &gt; &gt; &gt; Regarding reviews coming from non-committers, I am not sure
> it's
> &gt; &gt; &gt; possible to do the assignment in GitHub. It's not a big
> deal though;
> &gt; &gt; &gt; for me a simple comment that I am going to review would be
> sufficient.
> &gt; &gt; &gt; Alternatively, we could consider adopting an equivalent
> workflow in
> &gt; &gt; &gt; JIRA and potentially introducing a new state "IN REVIEW";
> don't think
> &gt; &gt; &gt; it is necessary.
> &gt; &gt; &gt; No matter the choice we should ensure that we have a
> trackable way to
> &gt; &gt; &gt; recognise "non-committer" reviewers but I think both GitHub
> (e.g.,
> &gt; &gt; &gt; "is:pr reviewed-by:julianhyde is:closed") and JIRA offer
> the necessary
> &gt; &gt; &gt; filters;
> &gt; &gt; &gt; Others projects tend to include such info in the commit
> message we
> &gt; &gt; &gt; could also opt for this if we deem necessary.
> &gt; &gt; &gt;
> &gt; &gt; &gt; As an immediate action I would encourage everyone willing
> to help to
> &gt; &gt; &gt; go to the open PRs on GitHub and either assign some PRs to
> themselves
> &gt; &gt; &gt; (in case of committers) or leave a comment about their
> intention
> &gt; &gt; &gt; (non-committers).
> &gt; &gt; &gt;
> &gt; &gt; &gt; In the meantime we can iterate on this till we reach
> consensus.
> &gt; &gt; &gt;
> &gt; &gt; &gt; Best,
> &gt; &gt; &gt; Stamatis
> &gt; &gt; &gt;
> &gt; &gt; &gt; [1] https://github.com/apps/auto-assign
> &gt; &gt; &gt;
> &gt; &gt; &gt;
> &gt; &gt; &gt; On Wed, Apr 12, 2023 at 10:49 AM Ruben Q L <ru...@gmail.com&gt;
> wrote:
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt; Hello,
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt; I understand Julian's frustration. We all know that
> reviewing PRs is a
> &gt; &gt; &gt;&gt; recurring problem, and it is not the first time we
> discuss potential
> &gt; &gt; &gt;&gt; solutions, see e.g. the discussion a year ago [1] (also
> started by Julian)
> &gt; &gt; &gt;&gt; where several ideas were mentioned: automatic
> assignment, emulate the RM
> &gt; &gt; &gt;&gt; process onto the reviewing process (quite similar to
> the current proposal),
> &gt; &gt; &gt;&gt; ...but in the end no change was implemented, and the
> problem remains.
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt; I agree that something must be done in order to revert
> the situation.
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt; In my opinion, one of the main factors is that the vast
> majority of PRs
> &gt; &gt; &gt;&gt; (even the ones that get merged) are never assigned.
> This lack of assignee
> &gt; &gt; &gt;&gt; can be seen as if the PR is "no-one's responsibility",
> so we should try
> &gt; &gt; &gt;&gt; somehow to assign each PR to someone, and make that
> person accountable for
> &gt; &gt; &gt;&gt; the PR's progression.
> &gt; &gt; &gt;&gt; I think we could try Julian's idea of having a pool of
> reviewers and a PR
> &gt; &gt; &gt;&gt; manager (taken from the pool, rotating this position
> every month or every
> &gt; &gt; &gt;&gt; two months). Personally, I would not set hard deadlines
> (e.g. something
> &gt; &gt; &gt;&gt; must be done within 3 days), because we are all
> volunteers and, even if we
> &gt; &gt; &gt;&gt; are all trying to do our best here, it may happen that
> a certain week we
> &gt; &gt; &gt;&gt; are busy with other personal or professional stuff. In
> the end, I think it
> &gt; &gt; &gt;&gt; should be the PR manager's responsibility to ping the
> assigned reviewer if
> &gt; &gt; &gt;&gt; a PR is not progressing after a reasonable period of
> time, ask them for an
> &gt; &gt; &gt;&gt; update, maybe even involve a different reviewer /
> re-assign the PR as a
> &gt; &gt; &gt;&gt; last resource.
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt; Of course, it must remain clear that, even if we
> implement this approach,
> &gt; &gt; &gt;&gt; anyone is still free (and encouraged) to participate in
> any PR review. Even
> &gt; &gt; &gt;&gt; if someone is not the assigned reviewer, they can chime
> in and contribute
> &gt; &gt; &gt;&gt; to the review nevertheless.
> &gt; &gt; &gt;&gt; Also, I think another sensible rule would be: if
> someone from the reviewers
> &gt; &gt; &gt;&gt; pool submits a PR, the PR manager will need to assign
> it to a different
> &gt; &gt; &gt;&gt; person.
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt; One last comment, I have the impression that with this
> initiative we would
> &gt; &gt; &gt;&gt; be moving towards a "better done than perfect"
> approach. Calcite is a vast
> &gt; &gt; &gt;&gt; project, with many different modules, and it could
> happen (it *will*
> &gt; &gt; &gt;&gt; happen) that a certain reviewer gets assigned a PR
> concerning a part of the
> &gt; &gt; &gt;&gt; project that they are not familiar with. Of course, one
> way of becoming
> &gt; &gt; &gt;&gt; (progressively) familiar with unknown parts of the
> project is by reviewing
> &gt; &gt; &gt;&gt; this type of PRs, but that takes time. I guess it would
> be possible for the
> &gt; &gt; &gt;&gt; assignee to try to ping and involve other reviewers
> with more experience in
> &gt; &gt; &gt;&gt; that area, but at the end of the day, it would be the
> assignee's
> &gt; &gt; &gt;&gt; responsibility to review and merge some piece of code
> that might be a bit
> &gt; &gt; &gt;&gt; obscure to them. This might lead to suboptimal or even
> incorrect code being
> &gt; &gt; &gt;&gt; inadvertently merged into the main branch. This is not
> a catastrophe (it
> &gt; &gt; &gt;&gt; can already happen with the current approach), and we
> will detect and
> &gt; &gt; &gt;&gt; correct these mistakes; I'm just mentioning that they
> might become a bit
> &gt; &gt; &gt;&gt; more frequent with the proposed approach (and we should
> all face them with
> &gt; &gt; &gt;&gt; a constructive and positive attitude). In any case, I
> have the impression
> &gt; &gt; &gt;&gt; that with the new idea the pros outweigh the cons, so
> we could give it a
> &gt; &gt; &gt;&gt; try.
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt; Best,
> &gt; &gt; &gt;&gt; Ruben
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt; [1]
> https://lists.apache.org/thread/30pf1o0vlcn7y3bhlcht1wdmvmxyvghn
> &gt <https://lists.apache.org/thread/30pf1o0vlcn7y3bhlcht1wdmvmxyvghn&gt>;
> &gt; &gt;&gt;
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt; On Wed, Apr 12, 2023 at 3:13 AM Chunwei Lei <
> ch...@gmail.com&gt; wrote:
> &gt; &gt; &gt;&gt;
> &gt; &gt; &gt;&gt;&gt; Thanks Julian for sharing the proposal. I am +1 for
> it. I have been busy in
> &gt; &gt; &gt;&gt;&gt; the past few months, so I have only had a quick
> look at the new JIRA.
> &gt; &gt; &gt;&gt;&gt; However, I will have more time in the coming
> months, and I would be more
> &gt; &gt; &gt;&gt;&gt; than happy to review any pull requests.
> &gt; &gt; &gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt; Best,
> &gt; &gt; &gt;&gt;&gt; Chunwei
> &gt; &gt; &gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt; On Tue, Apr 11, 2023 at 10:22 PM Jiajun Xie <
> ji...@gmail.com&gt;
> &gt; &gt; &gt;&gt;&gt; wrote:
> &gt; &gt; &gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt; Thank Julian for your idea.
> &gt; &gt; &gt;&gt;&gt;&gt; Your plan helps to motivate new contributors.
> &gt; &gt; &gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt; “If there is no response to my PR,
> &gt; &gt; &gt;&gt;&gt;&gt; I will be disappointed or even give up on
> continuing to contribute.”
> &gt; &gt; &gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt; I hope that every contributor will be
> encouraged,
> &gt; &gt; &gt;&gt;&gt;&gt; and I also hope that the Calcite community will
> become stronger and
> &gt; &gt; &gt;&gt;&gt;&gt; stronger.
> &gt; &gt; &gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt; +1, I am willing to join the pool of reviews.
> &gt; &gt; &gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt; On Tue, 11 Apr 2023 at 13:20, Benchao Li <
> li...@apache.org&gt; wrote:
> &gt; &gt; &gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; Thanks Julian for starting the discussion!
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; I'm spending my spare time to contribute to
> Calcite, usually at
> &gt; &gt; &gt;&gt;&gt; weekends,
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; and sometimes in the break of weekdays,
> hence my time would be limited
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; because the spare time may varies. Review
> work is not that simple for
> &gt; &gt; &gt;&gt;&gt; me
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; because Calcite has many complicated
> components and evolves many years
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; which means we need track a lot of
> background. I'm still learning some
> &gt; &gt; &gt;&gt;&gt;&gt; part
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; while doing the review work.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; The complexity of PRs varies a lot, simple
> ones would be easier to get
> &gt; &gt; &gt;&gt;&gt; in
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; because it only cost me minutes to hours to
> review. But the complex
> &gt; &gt; &gt;&gt;&gt; ones,
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; usually I need to spend more time to
> understand the background, new
> &gt; &gt; &gt;&gt;&gt;&gt; design,
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; the effect to the whole project, and the
> future direction we want to
> &gt; &gt; &gt;&gt;&gt;&gt; take.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; These kinds of PRs may be preempted by
> small ones, and finally do not
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; getting reviewed for months, there is a
> example[1] which I would say
> &gt; &gt; &gt;&gt;&gt;&gt; sorry
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; to the author that I still do not manage to
> give it a review till
> &gt; &gt; &gt;&gt;&gt; today.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; Any way to improve current status would be
> grateful. However, if the
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; proposal from Julian may require more
> sustainable time, I'm not sure if
> &gt; &gt; &gt;&gt;&gt;&gt; it
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; is suitable for guys like me who only
> devotes limited spare time to
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; Calcite. Hence I'm +0 for this proposal. Of
> course, I would be happy to
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; participate in the schema if we finally
> decide to do it.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; [1]
> https://issues.apache.org/jira/browse/CALCITE-5413
> &gt <https://issues.apache.org/jira/browse/CALCITE-5413&gt>; &gt;
> &gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; Charles Givre <cg...@gmail.com&gt;
> 于2023年4月11日周二 12:43写道:
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt; I for one would very much like to help
> with reviews.&nbsp;&nbsp;I don't have a
> &gt; &gt; &gt;&gt;&gt;&gt; lot
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt; of time this month, but next month
> should have more time.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt; Best,
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt; -- C
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; On Apr 10, 2023, at 10:56 PM, Dan
> Zou <zo...@163.com&gt; wrote:
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; +1, thanks Julian for proposing
> this. From my observation, there
> &gt; &gt; &gt;&gt;&gt; are
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt; many pending PRs in Calcite and only a
> few active committers, this
> &gt; &gt; &gt;&gt;&gt;&gt; puts a
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt; lot of pressure on these committers.
> For example Julian have reviewed
> &gt; &gt; &gt;&gt;&gt;&gt; 34
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; PR
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt; in 2023 Q1, it is an unimaginable
> number. I am very supportive of
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; achieving
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt; a mechanism to improve the review
> efficiency of PRs, and also I would
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; like
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt; to make contribution in reviewing PRs.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Best,
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Dan Zou
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 2023年4月11日 01:56,Julian Hyde <
> jh...@apache.org&gt; 写道:
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I don't enjoy reviewing and
> merging PRs. And every time I do, I
> &gt; &gt; &gt;&gt;&gt; feel
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; like a sucker, because there
> are over a few dozen committers who
> &gt; &gt; &gt;&gt;&gt; are
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; enjoying the project and not
> doing the work. (There is a small
> &gt; &gt; &gt;&gt;&gt; group
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; of committers who regularly
> review and merge PRs. I don't know how
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; they feel about the task, but I
> am immensely grateful.)
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I think I would review more PRs
> if I saw others doing the same.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Can we figure out a fairer way
> to distribute the load? For release
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; managers (approximately the
> same amount of work, but compressed
> &gt; &gt; &gt;&gt;&gt;&gt; into a
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; few hours or days) we have
> successfully run a rota for several
> &gt; &gt; &gt;&gt;&gt;&gt; years.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Could we do something similar
> with PRs?
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I propose the following. For
> each calendar month, there is a PR
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; manager and 6 - 8 reviewers.
> The PR manager does not review PRs,
> &gt; &gt; &gt;&gt;&gt; but
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; assigns them to reviewers, and
> politely reminds reviews to keep
> &gt; &gt; &gt;&gt;&gt; the
> &gt; &gt; &gt;&gt;&gt;&gt; PR
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; moving.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The PR manager's goals are:
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; * every non-draft PR is
> reviewed within 3 days of submission,
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; * every PR is merged within 3
> days of being done;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; * rotate duties so that no
> reviewer is asked to review more than 4
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; PRs per month;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; * email a report at the end of
> the month;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; * work down the backlog of
> historic PRs if it's a slow month.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The PR manager rotates every
> month. The reviewers can rotate if
> &gt; &gt; &gt;&gt;&gt; they
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wish, but I suspect most will
> stay in the pool for several months,
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; because the reviewing load is
> not very heavy, and because they see
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; others doing the work.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Other notes:
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; * Non-committers would be
> welcome to join the pool of reviews (and
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that would be a good way to
> earn the committer bit) and a
> &gt; &gt; &gt;&gt;&gt; committer
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; could merge when the PR is
> approved.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; * If committers join the pool,
> that's a good way to earn PMC
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; membership.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; * Committers who are not in the
> pool are welcome to review PRs and
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; assign PRs to themselves (but
> expect to be nagged by the PR
> &gt; &gt; &gt;&gt;&gt; manager
> &gt; &gt; &gt;&gt;&gt;&gt; if
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; you don't review in a timely
> manner).
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; What do you think? Would you
> join this scheme if we introduced it?
> &gt; &gt; &gt;&gt;&gt;&gt; If
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; you agree please +1; also happy
> to see revisions to this
> &gt; &gt; &gt;&gt;&gt; suggestion
> &gt; &gt; &gt;&gt;&gt;&gt; or
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; other ideas to share the work.
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Julian
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; --
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; Best,
> &gt; &gt; &gt;&gt;&gt;&gt;&gt; Benchao Li
> &gt; &gt; &gt;&gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;&gt;
> &gt; &gt; &gt;&gt;&gt;
> &gt; &gt;
> &gt;&nbsp;

Reply via email to