Infra: Remove the approval restriction of merging PRs #8556
Replies: 15 comments 7 replies
-
Yes, I agree with that.
I would suggest the committer approves the PR first and then left some time for other committers to notice this PR since we don’t need another committee’s approval.
Thanks
Chengcheng Jin
From: Hongze Zhang ***@***.***>
Sent: Friday, January 17, 2025 11:17 AM
To: apache/incubator-gluten ***@***.***>
Cc: Jin, Chengcheng ***@***.***>; Team mention ***@***.***>
Subject: [apache/incubator-gluten] Infra: Remove the approval restriction of merging PRs (Discussion #8556)
Hi folks,
You may notice that in our GitHub repo, at least one approval from committers is needed before a PR is mergeable. This setting is configured at here<https://github.com/apache/incubator-gluten/blob/b09c017dffb4246dc4b29d8cbe6481fa59a50d18/.asf.yaml#L41>.
I would like to explore on the possibility of moving this rule. There are a lot of other Apache projects not having this rule but still running perfectly, including the well-known ones like Hadoop, Spark, Arrow, etc. Actually, I found the number of repositories from ASF projects having this restriction is way less than the number of others that don't have this restriction. See my search result:
1. Number of repositories with .asf.yaml defined: ~1100<https://github.com/search?q=org%3Aapache+path%3A%22.asf.yaml%22+%22github%22&type=code&p=5> [1]
2. Number of repositories with .asf.yaml defined with the approval restriction: 228<https://github.com/search?q=org%3Aapache+path%3A%22.asf.yaml%22+%22required_approving_review_count%22&type=code>
Hence, I assume in most case a Apache project can run well without this restriction.
Removing the restriction doesn't mean PRs can be arbitrarily merged without essential reviews: It's always the committer's duty to consider carefully on whether review is needed for their PR before merging, One may says people make mistakes, I think that's pretty normal however when mistake happens, we can always revert the unwanted changes to fix. As only committers can merge PRs, I think the risk can be controllable given we always carefully nominate committers. We can observe on the overall cost after the rule change is applied.
As the change can be experimental, I would recommend to remove the rule and observe on the impact for next several weeks, to see if the new rule is suitable for the community.
Do you have any thoughts?
cc @apache/gluten-committers<https://github.com/orgs/apache/teams/gluten-committers>
[1] Note, ASF doesn't have this much of TLPs. The number includes all the sub-repositories under the TLPs (and incubating ones as well).
—
Reply to this email directly, view it on GitHub<#8556>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS7NMRV6PYA3WSX2ALQXAIL2LBY3HAVCNFSM6AAAAABVK763HOVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXHAZTGNRTGY>.
You are receiving this because you are on a team that was mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I believe that a committer should still review and approve the PR in Gluten to ensure the robustness. I understand that although the Spark community does not have a strict rule requiring approval before merging code, not everyone who submits code can merge it directly. It usually requires a senior committer to review the code and +1 before it can be merged.
Thanks,
Jia Ke
From: Jin Chengcheng ***@***.***>
Sent: Friday, January 17, 2025 1:59 PM
To: apache/incubator-gluten ***@***.***>
Cc: Jia, Ke A ***@***.***>; Team mention ***@***.***>
Subject: Re: [apache/incubator-gluten] Infra: Remove the approval restriction of merging PRs (Discussion #8556)
Yes, I agree with that.
I would suggest the committer approves the PR first and then left some time for other committers to notice this PR since we don’t need another committee’s approval.
Thanks
Chengcheng Jin
From: Hongze Zhang ***@***.***<mailto:***@***.***>>
Sent: Friday, January 17, 2025 11:17 AM
To: apache/incubator-gluten ***@***.***<mailto:***@***.***>>
Cc: Jin, Chengcheng ***@***.***<mailto:***@***.***>>; Team mention ***@***.***<mailto:***@***.***>>
Subject: [apache/incubator-gluten] Infra: Remove the approval restriction of merging PRs (Discussion #8556)
Hi folks,
You may notice that in our GitHub repo, at least one approval from committers is needed before a PR is mergeable. This setting is configured at here<https://github.com/apache/incubator-gluten/blob/b09c017dffb4246dc4b29d8cbe6481fa59a50d18/.asf.yaml#L41>.
I would like to explore on the possibility of moving this rule. There are a lot of other Apache projects not having this rule but still running perfectly, including the well-known ones like Hadoop, Spark, Arrow, etc. Actually, I found the number of repositories from ASF projects having this restriction is way less than the number of others that don't have this restriction. See my search result:
1. Number of repositories with .asf.yaml defined: ~1100<https://github.com/search?q=org%3Aapache+path%3A%22.asf.yaml%22+%22github%22&type=code&p=5> [1]
2. Number of repositories with .asf.yaml defined with the approval restriction: 228<https://github.com/search?q=org%3Aapache+path%3A%22.asf.yaml%22+%22required_approving_review_count%22&type=code>
Hence, I assume in most case a Apache project can run well without this restriction.
Removing the restriction doesn't mean PRs can be arbitrarily merged without essential reviews: It's always the committer's duty to consider carefully on whether review is needed for their PR before merging, One may says people make mistakes, I think that's pretty normal however when mistake happens, we can always revert the unwanted changes to fix. As only committers can merge PRs, I think the risk can be controllable given we always carefully nominate committers. We can observe on the overall cost after the rule change is applied.
As the change can be experimental, I would recommend to remove the rule and observe on the impact for next several weeks, to see if the new rule is suitable for the community.
Do you have any thoughts?
cc @apache/gluten-committers<https://github.com/orgs/apache/teams/gluten-committers>
[1] Note, ASF doesn't have this much of TLPs. The number includes all the sub-repositories under the TLPs (and incubating ones as well).
—
Reply to this email directly, view it on GitHub<#8556>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS7NMRV6PYA3WSX2ALQXAIL2LBY3HAVCNFSM6AAAAABVK763HOVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXHAZTGNRTGY>.
You are receiving this because you are on a team that was mentioned.Message ID: ***@***.***<mailto:***@***.***>>
—
Reply to this email directly, view it on GitHub<#8556 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AC3K7WSSSCWV3OPDFGDKSE32LCLY5AVCNFSM6AAAAABVK763HOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBWGI3TKOI>.
You are receiving this because you are on a team that was mentioned.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
I was hoping to keep this restriction. Not everyone is as senior as @zhztheplayer and they may make mistakes sometimes. Through code reviews, we can achieve two key objectives:
I guess your ask is to fast merge on some patches(e.g. big refactors, which may easily get conflict), we could setup a new mechanism: e.g., with a new special label for such PRs BTW The branch protection(required review) feature is added on 2020 so this maybe one reason why some old projects did not include this: Thanks, -yuan |
Beta Was this translation helpful? Give feedback.
-
Let's vote directly among committers. Several weeks can't make any difference |
Beta Was this translation helpful? Give feedback.
-
+1 for zhouyuan’s opinion. And we should let the committers be familiar with other committee's work, split the project to several modules, each module has more than 1 owner, so the features can be carefully reviewed and may feed back constructive comments, then other committee's approval is essential. |
Beta Was this translation helpful? Give feedback.
-
+1 for zhouyuan’s opinion and listing owners for modules. |
Beta Was this translation helpful? Give feedback.
-
+1 for zhouyuan’s opinion, we should be more cautious for merging PRs. |
Beta Was this translation helpful? Give feedback.
-
+1 for zhouyuan’s opinion, we should be more cautious for merging PRs. |
Beta Was this translation helpful? Give feedback.
-
+1 for zhouyuan’s opinion. I think Gluten community is not so mature as Spark and doesn’t have such confidence to maintain the repo with such a relaxed rule.
From: zhanglistar ***@***.***>
Sent: Saturday, January 18, 2025 4:21 PM
To: apache/incubator-gluten ***@***.***>
Cc: Ma, Yan ***@***.***>; Team mention ***@***.***>
Subject: Re: [apache/incubator-gluten] Infra: Remove the approval restriction of merging PRs (Discussion #8556)
+1 for zhouyuan’s opinion, we should be more cautious for merging PRs.
—
Reply to this email directly, view it on GitHub<#8556 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AC2M2YHIJQNMHRKEGTC2ATL2LIFG7AVCNFSM6AAAAABVK763HOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBXGM4TKMI>.
You are receiving this because you are on a team that was mentioned.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
+1 for yuan's option. |
Beta Was this translation helpful? Give feedback.
-
+1 for yuan's option
Chang chen ***@***.***> 于2025年1月19日周日 13:13写道:
… +1 for yuan's option.
—
Reply to this email directly, view it on GitHub
<#8556 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAT2UF5GKMIQHT2VA3TAOH32LMX73AVCNFSM6AAAAABVK763HOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBXHEZTSNQ>
.
You are receiving this because you are on a team that was mentioned.Message
ID: <apache/incubator-gluten/repo-discussions/8556/comments/11879396@
github.com>
--
from 梁家彪
|
Beta Was this translation helpful? Give feedback.
-
+1 for zhouyuan’s opinion |
Beta Was this translation helpful? Give feedback.
-
+1 for keeping the approval restriction. |
Beta Was this translation helpful? Give feedback.
-
+1 for zhouyuan’s opinion |
Beta Was this translation helpful? Give feedback.
-
Closing due to the objections. Thank you for sharing your views. |
Beta Was this translation helpful? Give feedback.
-
Hi folks,
You may notice that in our GitHub repo, at least one approval from committers is needed before a PR is mergeable. This setting is configured at here.
I would like to explore on the possibility of removing this rule. There are a lot of other Apache projects not having this rule but still running perfectly, including the well-known ones like Hadoop, Spark, Arrow, etc. Actually, I found the number of repositories from ASF projects having this restriction is way less than the number of others that don't have this restriction. See my search result:
Hence, I assume in most case a Apache project can run well without this restriction.
Removing the restriction doesn't mean PRs can be arbitrarily merged without essential reviews: It's always the committer's duty to consider carefully on whether review is needed for their PR before merging, One may says people make mistakes, I think that's pretty normal however when mistake happens, we can always revert the unwanted changes to fix. As only committers can merge PRs, I think the risk can be controllable given we always carefully nominate committers. We can observe on the overall cost after the rule change is applied.
As the change can be experimental, I would recommend to remove the rule and observe on the impact for next several weeks, to see if the new rule is suitable for the community.
Do you have any thoughts?
cc @apache/gluten-committers
[1] Note, ASF doesn't have this many of TLPs. The number includes all the sub-repositories under the TLPs (and incubating ones as well).
Beta Was this translation helpful? Give feedback.
All reactions