Skip to content

Commit 007caa9

Browse files
authored
Merge pull request #10683 from tetrapod00/bug-triage-update
Update Bug triage guidelines
2 parents ff9c75d + 04f85c2 commit 007caa9

File tree

1 file changed

+114
-53
lines changed

1 file changed

+114
-53
lines changed

contributing/workflow/bug_triage_guidelines.rst

Lines changed: 114 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,54 @@ hesitate to propose modifications to the following guidelines.
1212
Issues management
1313
-----------------
1414

15-
GitHub proposes various features to manage issues:
15+
For issue management, we use the following GitHub processes:
1616

17-
- Set one or several labels from a predefined list
18-
- Set one milestone from a predefined list
19-
- Keep track of the issue in the project dashboard
20-
- Define one contributor as "assignee" among the Godot engine
21-
organization members
17+
- Each issue and pull request (PR) is categorized with a set of *labels*,
18+
sometimes called "tags".
19+
- Each PR is assigned to a *milestone*. Some issues can also be assigned to a
20+
*milestone* (see below).
21+
- Issues can have an *assignee*, who is a contributor among Godot maintainers.
22+
- Issues can be put in one or more *projects*.
23+
- PRs can be *linked* to one or more issues which they "fix" or "close".
2224

23-
As the Godot engine organization on GitHub currently has a restricted
24-
number of contributors, we do not use assignees extensively for now. All
25-
contributors are welcome to take on any issue, if relevant after mentioning
26-
it on the issue ticket and/or discussing the best way to resolve it with
27-
other developers.
25+
We don't yet extensively use or rely on some other GitHub processes:
2826

29-
For the time being, we do not use the project dashboard feature either.
27+
- Issue close reasons (completed, not planned, duplicate). While we use these,
28+
it is not consistent, and older issues are all closed as "completed", so the
29+
issue close reason should not be relied on.
30+
- Issue *types* (Bug, Feature, Task).
31+
- Issue *relationships*.
3032

31-
As far as possible, we try to assign labels (and milestones, when relevant)
32-
to both issues and pull requests.
33+
We only use the assignees feature for Godot maintainers who are members of the
34+
Godot Engine GitHub organization, and even then not in all cases. For other
35+
issues, we track who is working on an issue by comments on the issue and linked
36+
pull requests. Most issues are available for any contributor to take on, after
37+
discussing it with other contributors. If you would like to work on an issue,
38+
first check that no one else is working on it, by looking for a linked pull
39+
request, a comment "claiming" the issue, or an assignee. If no one else is
40+
working on the issue, leave a comment on the issue to "claim" it and start
41+
working on it.
3342

3443
Labels
3544
~~~~~~
3645

3746
The following `labels <https://github.com/godotengine/godot/labels>`__ are
3847
currently defined in the Godot repository:
3948

40-
**Categories:**
49+
Categories:
50+
^^^^^^^^^^^
4151

42-
- *Archived*: either a duplicate of another issue, or invalid. Such an
43-
issue would also be closed.
52+
- *Archived*: used to filter issues closed with a resolution other than "fixed".
53+
54+
- For issues, added to all issues that are not resolved by engine or
55+
documentation changes. This includes duplicate issues, user error, or
56+
reports in the wrong repository.
57+
Since we don't rely on GitHub's issue close reasons (``completed``, ``not
58+
planned``, and ``duplicate``), it is possible for an issue to be closed as
59+
``completed`` with the *Archived* label.
60+
- For PRs, added to all closed PRs that are not merged. This includes superseded
61+
or duplicate PRs, Git or GitHub mistakes, and valid PRs that end up not merged.
62+
4463
- *Breaks compat*: describes something that can only be fixed by breaking
4564
compatibility with existing projects.
4665
- *Bug*: describes something that is not working properly.
@@ -66,12 +85,11 @@ currently defined in the Godot repository:
6685
should be filed on the `godot-docs <https://github.com/godotengine/godot-docs>`_ repository.
6786
- *Enhancement*: describes a proposed enhancement to an existing
6887
functionality.
69-
- *Feature proposal*: describes a wish for a new feature to be
70-
implemented. Note that the main Godot repository no longer accepts
71-
feature requests. Please use
72-
`godot-proposals <https://github.com/godotengine/godot-proposals>`__ instead.
73-
PRs which add new features but do not have a corresponding proposal use this
74-
label.
88+
- *Feature proposal*: used for PRs adding new features which do not have a
89+
corresponding proposal use this label. The label is removed when a feature
90+
proposal is created and linked. The main Godot repository no longer accepts
91+
feature requests as issues. Please use the `godot-proposals
92+
<https://github.com/godotengine/godot-proposals>`__ repository instead.
7593
- *For PR meeting*: the issue needs to be discussed in a pull request meeting.
7694
These meetings are public and are held on the `Godot Contributors Chat <https://chat.godotengine.org/>`_.
7795
- *Good first issue*: the issue is *assumed* to be an easy one to fix, which makes
@@ -89,37 +107,41 @@ currently defined in the Godot repository:
89107
- *Performance*: issues that directly impact engine or editor performance.
90108
Can also be used for pull requests that improve performance or add low-end-friendly options.
91109
Should not be coupled with *Usability*.
92-
- *Production*: Relates to the production team.
93110
- *Regression*: the bug appeared after a stable release not exhibiting
94111
the bug was released.
95112
- *Salvageable*: the pull request can't be merged due to design issues or
96113
merge conflicts and its author is not active anymore. However, it can still
97-
be picked up by an external contributor to bring it to a mergeable state.
114+
be picked up by another contributor to bring it to a mergeable state.
98115
To do so, you need to open a new pull request based on the original pull request.
116+
- *Spam*: intentional spam issues, and extremely low-effort PRs. Used
117+
sparingly, since we give contributors and users the benefit of the doubt. In
118+
most cases, *Needs work* or *Archived* is more appropriate.
99119
- *Tracker*: issue used to track other issues (like all issues related to
100120
the plugin system).
101121
- *Usability*: issues that directly impact user usability. Should not be coupled with *Performance*.
102122

103-
The categories are used for general triage of the issues. They can be
104-
combined in some way when relevant, e.g. an issue can be labelled
105-
*Enhancement* and *Usability* at the same time if it's an issue to improve
106-
usability. Or *Feature proposal* and *Discussion* if it's a non-consensual
107-
feature request, or one that is not precise enough to be worked on.
108-
At least one of the categories *Bug*, *Enhancement* or *Discussion* is used to
109-
describe an issue or pull request.
123+
The categories are used for general triage of the issues. They can be combined
124+
in some way when relevant, e.g. an issue can be labeled *Bug* and *Usability*
125+
at the same time if it's a bug that affects usability. Or *Enhancement* and
126+
*Discussion* if it's an improvement that requires discussion of the best
127+
approach. At least one of the categories *Bug*, *Enhancement*, or *Discussion*
128+
are used to describe an issue or pull request.
110129

111-
**Topics:**
130+
Topics:
131+
^^^^^^^
112132

113-
- *2D*: relates to 2D-specific issues. Should be coupled with one of the labels below, and should not be coupled with *3D*.
114-
- *3D*: relates to 3D-specific issues. Should be coupled with one of the labels below, and should not be coupled with *2D*.
133+
- *2D*: relates to 2D nodes. Should be coupled with one of the labels
134+
below, and should not be coupled with *3D*.
135+
- *3D*: relates to 3D nodes. Should be coupled with one of the labels
136+
below, and should not be coupled with *2D*.
115137
- *Animation*: relates to the Animation system, editors and importers.
116138
- *Assetlib*: relates to issues with the asset library.
117139
- *Audio*: relates to the audio features (low- and high-level).
118140
- *Buildsystem*: relates to building issues, either linked to the SCons
119141
buildsystem or to compiler peculiarities.
120142
- *Codestyle*: relates to the programming style used within the codebase.
121143
- *Core*: anything related to the core engine. Specific topics are split off separately as they crop up.
122-
- *Dotnet*: relates to the C# / Dotnet bindings.
144+
- *Dotnet*: relates to the C# / .NET bindings.
123145
- *Editor*: relates to issues in the editor (mainly UI).
124146
- *Export*: relates to the export system and templates.
125147
- *GDExtension*: relates to the GDExtension system for native extensions.
@@ -146,9 +168,10 @@ unthinkable to see issues that fit two bills. The general idea is that
146168
there will be specialized contributors teams behind all topics, so they
147169
can focus on the issues labelled with their team's topic.
148170

149-
**Platforms:**
171+
Platforms:
172+
^^^^^^^^^^
150173

151-
*Android*, *iOS*, *Linux*, *macOS*, *Web*, *Windows*
174+
*Android*, *iOS*, *LinuxBSD*, *macOS*, *Web*, *Windows*
152175

153176
By default, it is assumed that a given issue applies to all platforms.
154177
If one of the platform labels is used, it is then exclusive and the
@@ -176,6 +199,12 @@ use the following `labels <https://github.com/godotengine/godot-docs/labels>`__:
176199
it a great fit for new contributors who want to become familiar with
177200
the code base. It should be removed while an active PR is available, that
178201
resolves this issue.
202+
- *Linked demo PR*: the PR has a corresponding PR to the
203+
`Godot Demo Projects <https://github.com/godotengine/godot-demo-projects>`__
204+
repository which must be merged at the same time. Any changes to code in
205+
tutorials that have a corresponding demo, such as :ref:`doc_your_first_2d_game`,
206+
need to update both repositories so that the tutorial code stays in sync with
207+
the completed demo.
179208
- *Needs work*: the pull request needs additional work before it can be merged.
180209
- *Python*: Pull requests that update Python code.
181210
- *Salvageable*: the pull request can't be merged due to design issues or
@@ -184,8 +213,11 @@ use the following `labels <https://github.com/godotengine/godot-docs/labels>`__:
184213
To do so, you need to open a new pull request based on the original pull request.
185214
- *Tracker*: issue used to track other issues (like all issues related to
186215
the plugin system).
216+
- *Waiting on PR merge*: the PR documents an engine PR that has not been merged
217+
yet.
187218

188-
**Area:**
219+
Area:
220+
^^^^^
189221

190222
- *About*: Issues and PRs related to the About section of the documentation and other general articles.
191223
- *Class reference*: the issue is about the class reference, not a documentation page.
@@ -194,7 +226,8 @@ use the following `labels <https://github.com/godotengine/godot-docs/labels>`__:
194226
- *Getting started*: Issues and PRs related to the Getting Started section of the documentation.
195227
- *Manual*: Issues and PRs related to the Manual/Tutorials section of the documentation.
196228

197-
**Content:**
229+
Content:
230+
^^^^^^^^
198231

199232
- *Images*: Issues and PRs involving outdated or incorrect images in articles.
200233
- *Example code*: Issues and PRs involving writing or updating code examples.
@@ -204,23 +237,51 @@ use the following `labels <https://github.com/godotengine/godot-docs/labels>`__:
204237
- *Redirect*: Issues and PRs involving moving content and adding a redirect rule on the backend.
205238
- *Website*: Issues related to adding website features and fixing bugs, whether on the front or back-end,
206239

207-
**Topic:**
240+
Topic:
241+
^^^^^^
208242

209243
The available topics describe the same content as the topics in the main
210244
repository.
211245

212246
Milestones
213247
~~~~~~~~~~
214248

215-
`Milestones <https://github.com/godotengine/godot/milestones>`_ correspond to
216-
planned future versions of Godot for which there is an existing roadmap. Issues
217-
that fit in the said roadmap should be filed under the corresponding milestone;
218-
if they don't correspond to any current roadmap, they should be left without
219-
milestone. As a rule of thumb, an issue corresponds to a given milestone if it
220-
concerns a feature that is new in the milestone, or a critical bug that can't be
221-
accepted in any future stable release, or anything that Juan wants to work on
222-
right now. :)
223-
224-
Contributors are free to pick issues regardless of their assigned milestone;
225-
if a fix is proposed for a bug that was not deemed urgent and thus without
226-
milestone, it would likely still be very welcome.
249+
`Milestones <https://github.com/godotengine/godot/milestones>`_ are used for
250+
some issues and all PRs.
251+
252+
We have milestones for specific minor engine versions, like ``4.5`` and ``4.6``,
253+
as well as general milestones for major engine versions, like ``3.x`` and
254+
``4.x``. In the ``godot-proposals`` repo, we also have a ``5.0`` milestone for
255+
compatibility-breaking changes that will be considered for Godot 5.0, in many
256+
years.
257+
258+
Issues are assigned to the current development milestone, such as ``4.5``, if
259+
they are related to features introduced in that engine version, or are bugs
260+
(regressions) in that version. Additionally, all issues completed during the
261+
development of that engine version are added to the milestone, so that users can
262+
see at a glance in which minor version an issue was first fixed. We don't always
263+
use the ``4.x`` milestone for issues, since by default all issues are related to
264+
Godot 4.x. However, we do use the ``3.x`` milestone to mark issues that are
265+
specific to Godot 3.x.
266+
267+
All pull requests are assigned to a milestone. By default, enhancement and
268+
feature PRs are assigned to the ``4.x`` milestone, and bugs are assigned to the
269+
current development milestone, such as ``4.5``. Towards the end of the minor
270+
version's development, PRs currently in that milestone are reassessed. If
271+
a PR is no longer being considered for that version, it is reassigned to either the
272+
major version milestone (``4.x``), or the next minor version milestone (such as
273+
``4.6``).
274+
275+
Pull requests in the ``4.x`` milestone are reassigned to the current minor
276+
engine version, such as ``4.5``, when the review process is complete, and the
277+
production team decides that the PR is ready to be merged soon. Note that
278+
this usually requires more than one approving review.
279+
280+
The milestone assigned to a PR is a goal, not a guarantee. New features and
281+
enhancements are merged when they are ready. While reviewers and maintainers do
282+
their best to review PRs in time for the current version, at some point we reach
283+
the beta, feature freeze, and then release; and existing PRs are reassigned to
284+
the next minor version, or to ``4.x``. As a rule, we assign new features to the
285+
``4.x`` milestone initially to avoid continually reassigning a PR from version
286+
to version. However, a PR being in ``4.x`` does not mean it won't be merged;
287+
it's just the default for new features.

0 commit comments

Comments
 (0)