-
Notifications
You must be signed in to change notification settings - Fork 4
Discuss rules #67
Discuss rules #67
Changes from 8 commits
ab9456f
7d5ac1c
3b56b4d
8482294
8e7e6c9
b7ba58e
056871b
e63b255
d6d5572
da1d81b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Substrate | ||
|
|
||
| - 🔒️ed lines are reviewed by 2 team leads, one of them must be in @paritytech/locks-review and the other in @paritytech/polkadot-review. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems like there's some disagreement about this requirement and others similar to it. I'll try to decompose the sentence according to my literal interpretation:
Emphasis on "2".
Let's call this agent
"the other" literally refers to another agent different from All of the above phrasing to me strongly suggests 2 different agents for this requirement. Now it might be that someone is in both
If we'd make it so 1 person can fulfill the criteria by being in both groups, we'd effectively lower the requirement to a single approval (1 person) instead of 2 like I understood by the literal interpretation. If that's intentional, I suggest clarifying the phrasing as e.g.
That removes any implication of "2 team leads" since it only mentions 1 approval from each group, which might be given by the same person if they are in both groups. What's your opinion?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree that 1 person that is a member of two teams shall count as a review from both teams. But also it should count as one review of two requested.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes that sounds good. Again to write it in my own words:
@TriplEight @joao-paulo-parity can you than please implement it that way? Ty!
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
"Either" team? That's different from how I was understanding your proposal. I think it'll help to walk through an example scenario. Suppose the following structure Alternative 1 (how it works currently): after Suggested wording:
Note: I think adding "Each approval should come from a different user" is clearer than saying "2 team leads". Alternative 2 (what I initially understood from your suggestion): Suggested wording:
Note: avoids mentioning "2 team leads" in order to not provoke any ambiguity, since a single team lead is enough to fulfill both requirements. Also avoids mentioning "Each approval should come from a different user" since it's intentionally not that way. Alternative 3 (how I understood from "either"): after Suggested wording:
Which alternative are you suggesting? Also feel free to describe another alternative if none is matching
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't alternative 1 and 3 the same? And is alternative 1 really how it currently works? I doubt this.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, I think I may mixed something up. I'm now confused what the current status is. I just know that yesterday it wasn't alternative 1.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have now extended the polkadot-review team and now it should be okay.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In this specific example, when Consider if
If it's about https://github.com/paritytech/polkadot/runs/5978667098?check_suite_focus=true#step:2:43 it was misbehaving due to a bug, but it should be fine now.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then let's take alternative 1 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW I thought that the initial "🔒️ed lines are reviewed by 2 team leads, one of them must be in @paritytech/locks-review and the other in @paritytech/polkadot-review." was precise enough to imply alternative 1 as-is, but if that is unclear, I'd go for something like:
If that is still unclear, then I'd add somehting like @bkchr said:
|
||
| - Normal PRs are reviewed by 2 of @paritytech/core-devs. This group should not be explicitly mentioned, but the check should be fail explaining this rule. | ||
joao-paulo-parity marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # Polkadot | ||
|
|
||
| - 🔒️ed lines are reviewed by 2 team leads, one of them must be in @paritytech/locks-review and the other in @paritytech/polkadot-review. | ||
| - The following files are reviewed by 2 team leads, one of them must be in @paritytech/locks-review and the other in @paritytech/polkadot-review. | ||
| - `/runtime/{kusama|polkadot}/src/*.rs`, except weight files. | ||
| - Normal PRs are reviewed by 2 of @paritytech/core-devs. This group should not be explicitly mentioned, but the check should be fail explaining this rule. | ||
|
|
||
| # Cumulus | ||
|
|
||
| - 🔒️ed lines are reviewed by 2 team leads, one of them must be in @paritytech/cumulus-locks-review and the other in @paritytech/polkadot-review. | ||
| - The following files are reviewed by 2 team leads, one of them must be in @paritytech/cumulus-locks-review and the other in @paritytech/polkadot-review. | ||
| - `/polkadot-parachains/{statemine|statemint}/src/*.rs`, except weight files. | ||
| - Normal PRs are reviewed by 2 of @paritytech/core-devs. This group should not be explicitly mentioned, but the check should be fail explaining this rule. | ||
Uh oh!
There was an error while loading. Please reload this page.