You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update "Classifying PRs" section to talk about D-Complex (#7216)
The current section does not talk about `D-Complex` and lists things like "adds unsafe code" as a reason to mark a PR `S-Controversial`. This is not how `D-Complex` and `S-Controversial` are being used at the moment.
This PR lists what classifies a PR as `D-Complex` and what classifies a PR as `S-Controversial`. It also links to some PRs with each combination of labels to help give an idea for what this means in practice.
cc #7211 which is doing a similar thing
Our merge strategy relies on the classification of PRs into three categories: **trivial**, **uncontroversial** and **controversial**.
80
-
When making PRs, try to split out more controversial changes from less controversial ones, in order to make your work easier to review and merge.
81
-
PRs that are deemed controversial will receive the [`S-Controversial`](https://github.com/bevyengine/bevy/pulls?q=is%3Aopen+is%3Apr+label%3AS-Controversial) label, and will have to go through the more thorough review process.
79
+
Our merge strategy relies on the classification of PRs on two axes:
82
80
83
-
PRs are trivial if there is no reasonable argument against them. This might include:
81
+
* How controversial are the design decisions
82
+
* How complex is the implementation
84
83
85
-
* Fixing dead links.
86
-
* Removing dead code or dependencies.
87
-
* Typo and grammar fixes.
84
+
PRs with non-trivial design decisions are given the [`S-Controversial`] label. This indicates that
85
+
the PR needs more thorough design review or an [RFC](https://github.com/bevyengine/rfcs), if complex enough.
88
86
89
-
PRs are controversial if there is serious design discussion required, or a large impact to contributors or users. Factors that increase controversy include:
87
+
PRs that are non-trivial to review are given the [`D-Complex`] label. This indicates that the PR
88
+
should be reviewed more thoroughly and by people with experience in the area that the PR touches.
89
+
90
+
When making PRs, try to split out more controversial changes from less controversial ones, in order to make your work easier to review and merge.
91
+
It is also a good idea to try and split out simple changes from more complex changes if it is not helpful for then to be reviewed together.
90
92
91
-
1. Changes to project-wide workflow or style.
93
+
Some things that are reason to apply the [`S-Controversial`] label to a PR:
94
+
95
+
1. Changes to a project-wide workflow or style.
92
96
2. New architecture for a large feature.
93
-
3.PRs where a serious tradeoff must be made.
97
+
3.Serious tradeoffs were made.
94
98
4. Heavy user impact.
95
99
5. New ways for users to make mistakes (footguns).
96
-
6. Introductions of `unsafe` code.
97
-
7. Large-scale code reorganization.
98
-
8. High levels of technical complexity.
99
-
9. Adding a dependency.
100
-
10. Touching licensing information (due to the level of precision required).
101
-
11. Adding root-level files (due to the high level of visibility).
100
+
6. Adding a dependency
101
+
7. Touching licensing information (due to level of precision required).
102
+
8. Adding root-level files (due to the high level of visibility)
103
+
104
+
Some things that are reason to apply the [`D-Complex`] label to a PR:
105
+
106
+
1. Introduction or modification of soundness relevent code (for example `unsafe` code)
107
+
2. High levels of technical complexity.
108
+
3. Large-scale code reorganization
109
+
110
+
Examples of PRs that are not [`S-Controversial`] or [`D-Complex`]:
Finally, changes are "relatively uncontroversial" if they are neither trivial or controversial.
104
-
Most PRs should fall into this category.
132
+
Some useful pull request queries:
105
133
106
-
Here are some useful pull request queries:
134
+
*[PRs which need reviews and are not `D-Complex`](https://github.com/bevyengine/bevy/pulls?q=is%3Apr+-label%3AD-Complex+-label%3AS-Ready-For-Final-Review+-label%3AS-Blocked++)
135
+
*[`D-Complex` PRs which need reviews](https://github.com/bevyengine/bevy/pulls?q=is%3Apr+label%3AD-Complex+-label%3AS-Ready-For-Final-Review+-label%3AS-Blocked)
107
136
108
-
*[Uncontroversial pull requests which have been reviewed and are ready for maintainers to merge](https://github.com/bevyengine/bevy/pulls?q=is%3Aopen+is%3Apr+label%3AS-Ready-For-Final-Review+-label%3AS-Controversial+-label%3AS-Blocked+-label%3AS-Adopt-Me+)
109
-
*[Controversial pull requests which have been reviewed and are ready for final input from a Project Lead or SME](https://github.com/bevyengine/bevy/pulls?q=is%3Aopen+is%3Apr+label%3AS-Ready-For-Final-Review+label%3AS-Controversial+)
0 commit comments