Debian Codegraph @

ansible_collections/dellemc/unity/docs/ISSUE_TRIAGE.md

raw symbols SCIP
1 <!--
2 Copyright (c) 2022-2025 Dell Inc., or its subsidiaries. All Rights Reserved.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9 -->
10
11 # Triage issues
12
13 The main goal of issue triage is to categorize all incoming issues and make sure each issue has all basic information needed for anyone else to understand and be able to start working on it.
14
15 > **Note:** This information is for project Maintainers, Owners, and Admins. If you are a Contributor, then you will not be able to perform most of the tasks in this topic.
16
17 The core maintainers of this project are responsible for categorizing all incoming issues and delegating any critical or important issue to other maintainers. Triage provides an important way to contribute to an open source project.
18
19 Triage helps ensure issues resolve quickly by:
20
21 - Ensuring the issue's intent and purpose is conveyed precisely. This is necessary because it can be difficult for an issue to explain how an end user experiences a problem and what actions they took.
22 - Giving a contributor the information they need before they commit to resolving an issue.
23 - Lowering the issue count by preventing duplicate issues.
24 - Streamlining the development process by preventing duplicate discussions.
25
26 If you don't have the knowledge or time to code, consider helping with triage. The community will thank you for saving them time by spending some of yours.
27
28 ## 1. Find issues that need triage
29
30 The easiest way to find issues that haven't been triaged is to search for issues with the `needs-triage` label.
31
32 ## 2. Ensure the issue contains basic information
33
34 Make sure that the issue's author provided the standard issue information. This project utilizes GitHub issue templates to guide contributors to provide standard information that must be included for each type of template or type of issue.
35
36 ### Standard issue information that must be included
37
38 This section describes the various issue templates and the expected content.
39
40 #### Bug reports
41
42 Should explain what happened, what was expected and how to reproduce it together with any additional information that may help giving a complete picture of what happened such as screenshots, output and any environment related information that's applicable and/or maybe related to the reported problem:
43
44 - Ansible Version: [e.g. 2.16]
45 - Python Version [e.g. 3.10]
46 - Ansible modules for Dell Unity Version: [e.g. 2.1.0]
47 - Unity SDK version: [e.g. Unity 1.2.12]
48 - Any other additional information...
49
50 #### Feature requests
51
52 Should explain what feature that the author wants to be added and why that is needed.
53
54 #### Ask a question requests
55
56 In general, if the issue description and title is perceived as a question no more information is needed.
57
58 ### Good practices
59
60 To make it easier for everyone to understand and find issues they're searching for it's suggested as a general rule of thumbs to:
61
62 - Make sure that issue titles are named to explain the subject of the issue, has a correct spelling and doesn't include irrelevant information and/or sensitive information.
63 - Make sure that issue descriptions doesn't include irrelevant information.
64 - Make sure that issues do not contain sensitive information.
65 - Make sure that issues have all relevant fields filled in.
66 - Do your best effort to change title and description or request suggested changes by adding a comment.
67
68 > **Note:** Above rules are applicable to both new and existing issues.
69
70 ### Dealing with missing information
71
72 Depending on the issue, you might not feel all this information is needed. Use your best judgement. If you cannot triage an issue using what its author provided, explain kindly to the author that they must provide the above information to clarify the problem. Label issue with `triage/needs-information`.
73
74 If the author provides the standard information but you are still unable to triage the issue, request additional information. Do this kindly and politely because you are asking for more of the author's time. Label issue with `triage/needs-information`.
75
76 If the author does not respond to the requested information within the timespan of a week, close the issue with a kind note stating that the author can request for the issue to be reopened when the necessary information is provided.
77
78 If you receive a notification with additional information provided but you are not anymore on issue triage and you feel you do not have time to handle it, you should delegate it to the current person on issue triage.
79
80 ## 3. Categorizing an issue
81
82 ### Duplicate issues
83
84 Make sure it's not a duplicate by searching existing issues using related terms from the issue title and description. If you think you know there is an existing issue, but can't find it, please reach out to one of the maintainers and ask for help. If you identify that the issue is a duplicate of an existing issue:
85
86 1. Add a comment `duplicate of #<issue number>`
87 2. Add the `triage/duplicate` label
88
89 ### Bug reports
90
91 If it's not perfectly clear that it's an actual bug, quickly try to reproduce it.
92
93 **It's a bug/it can be reproduced:**
94
95 1. Add a comment describing detailed steps for how to reproduce it, if applicable.
96 2. If you know that maintainers wont be able to put any resources into it for some time then label the issue with `help wanted` and optionally `beginner friendly` together with pointers on which code to update to fix the bug. This should signal to the community that we would appreciate any help we can get to resolve this.
97 3. Move on to [prioritizing the issue](#4-prioritization-of-issues).
98
99 **It can't be reproduced:**
100
101 1. Either [ask for more information](#2-ensure-the-issue-contains-basic-information) needed to investigate it more thoroughly. Provide details in a comment.
102 2. Either [delegate further investigations](#investigation-of-issues) to someone else. Provide details in a comment.
103
104 **It works as intended/by design:**
105
106 1. Kindly and politely add a comment explaining briefly why we think it works as intended and close the issue.
107 2. Label the issue `triage/works-as-intended`.
108 3. Remove the `needs-triage` label.
109
110 **It does not work as intended/by design:**
111
112 ### Feature requests
113
114 1. If the feature request does not align with the product vision, add a comment indicating so, remove the `needs-triage` label and close the issue
115 2. Otherwise, move on to [prioritizing the issue](#4-prioritization-of-issues). Assign the appropriate priority label to the issue, add the appropriate comments to the issue, and remove the `needs-triage` label.
116
117 ## 4. Prioritization of issues
118
119 In general bugs and feature request issues should be labeled with a priority.
120
121 Adding priority levels can be difficult. Ensure you have the knowledge, context, and the experience before prioritizing any issues. If you have any uncertainty as to which priority level to assign, please ask the maintainers for help.
122
123 The key here is asking for help and discuss issues to understand how more experienced project members think and reason. By doing that you learn more and eventually be more and more comfortable with prioritizing issues.
124
125 In case there is an uncertainty around the prioritization of an issue, please ask the maintainers for help.
126
127 | Label | Description |
128 | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
129 | `priority/critical` | Highest priority. Must be actively worked on as someone's top priority immediately. |
130 | `priority/high` | Must be worked on soon, ideally in time for the next release. |
131 | `priority/low` | Lowest priority. Possibly useful, but not yet enough interest in it. |
132
133 ### Critical priority
134
135 1. If an issue has been categorized and any of this criteria apply, the issue should be labeled as critical and must be actively worked on as someone's top priority immediately.
136
137 - Results in any data loss
138 - Critical security or performance issues
139 - Problem that makes a feature unusable
140 - Multiple users experience a severe problem affecting their business, users etc.
141
142 2. Label the issue `priority/critical`.
143 3. Escalate the problem to the maintainers.
144 4. Assign or ask a maintainer for help assigning someone to make this issue their top priority immediately.
145 5. Add the issue to the next upcoming release milestone.
146
147 ### High priority
148
149 1. Label the issue `priority/high`.
150 2. Add the issue to the next upcoming release milestone.
151 3. Prioritize it or assign someone to work on it now or very soon.
152 4. Consider requesting [help from the community](#5-requesting-help-from-the-community).
153
154 ### Low priority
155
156 1. If the issue is deemed possibly useful but a low priority label the issue `priority/low`.
157 2. The amount of interest in the issue will determine if the priority elevated.
158 3. Consider requesting [help from the community](#5-requesting-help-from-the-community).
159
160 ## 5. Requesting help from the community
161
162 Depending on the issue and/or priority, it's always a good idea to consider signalling to the community that help from community is appreciated and needed in case an issue is not prioritized to be worked on by maintainers. Use your best judgement. In general, requesting help from the community means that a contribution has a good chance of getting accepted and merged.
163
164 In many cases the issue author or community as a whole is more suitable to contribute changes since they're experts in their domain. It's also quite common that someone has tried to get something to work using the documentation without success and made an effort to get it to work and/or reached out to the community to get the missing information.
165
166 1. Kindly and politely add a comment to alert update subscribers.
167 - Explain the issue and the need for resolution. Be sure and detail that the issue has not been prioritized and that the issue has not been scheduled for work by the maintainers.
168 - If possible or applicable, add pointers and references to the code/files that need to be revised. Provide any ideas as to the solution. This will help the maintainers get started on resolving the issue.
169 2. Label the issue with `help wanted`.
170 3. If applicable, label the issue with `beginner friendly` to denote that the issue is suitable for a beginner to work on.
171
172 ## Investigation of issues
173
174 When an issue has all basic information provided, but the reported problem cannot be reproduced at a first glance, the issue is labeled `triage/needs-information`. Depending on the perceived severity and/or number of [upvotes](https://help.github.com/en/articles/about-conversations-on-github#reacting-to-ideas-in-comments), the investigation will either be delegated to another maintainer for further investigation or put on hold until someone else (maintainer or contributor) picks it up and eventually starts investigating it.
175
176 Even if you don't have the time or knowledge to investigate an issue we highly recommend that you [upvote](https://help.github.com/en/articles/about-conversations-on-github#reacting-to-ideas-in-comments) the issue if you happen to have the same problem. If you have further details that may help investigating the issue please provide as much information as possible.
177
178 ## External pull requests
179
180 Part of issue triage should also be triaging of external PRs. Main goal should be to make sure PRs from external contributors have an owner/reviewer and are not forgotten.
181
182 1. Check new external PRs which do not have a reviewer.
183 1. Check if there is a link to an existing issue.
184 1. If not and you know which issue it is solving, add the link yourself, otherwise ask the author to link the issue or create one.
185 1. Assign a reviewer based on who was handling the linked issue or what code or feature does the PR touches (look at who was the last to make changes there if all else fails).
186
187 ## GitHub issue management workflow
188
189 This section describes the triage workflow for new GitGHub issues that get created.
190
191 ### GitHub Issue: Bug
192
193 This workflow starts off with a GitHub issue of type bug being created.
194
195 1. Collaborator or maintainer creates a GitHub bug using the appropriate GitHub issue template
196 2. By default a bug will be created with the `type/bug` and `needs-triage` labels
197
198 The following flow chart outlines the triage process for bugs.
199
200 <!-- https://textik.com/#38ec14781648871c -->
201 ```
202 +--------------------------+
203 | New bug issue opened/more|
204 | information added |
205 +-------------|------------+
206 |
207 |
208 +----------------------------------+ NO +--------------|-------------+
209 | label: triage/needs-information --------- All required information |
210 | | | contained in issue? |
211 +-----------------------------|----+ +--------------|-------------+
212 | | YES
213 | |
214 +--------------------------+ | +---------------------+ YES +---------------------------------------+
215 |label: | | | Dupicate Issue? ------- Comment `Duplicate of #<issue number>`
216 |triage/needs-investigation| | NO | | | Remove needs-triage label |
217 +------|-------------------+ | +----------|----------+ | label: triage/duplicate |
218 | | | NO +-----------------|---------------------+
219 YES | | | |
220 | +---------------|----+ NO +------------|------------+ |
221 | |Needs investigation?|---------- Can it be reproduced? | |
222 |------- | +------------|------------+ |
223 +--------------------+ | YES |
224 | +----------|----------+
225 +-------------------------+ +------------|------------+ | Close Issue |
226 | Add release-found label |------------------ Works as intended? | | |
227 | label: release-found/* | NO | | +----------|----------+
228 +------------|------------+ +------------|------------+ |
229 | | |
230 | | YES |
231 +-----------------------------+ +----------------|----------------+ |
232 | Add area label | | Add comment | |
233 | label: area/* | | Remove needs-triage label ------------------|
234 +------------|----------------+ | label: triage/works-as-intended |
235 | +---------------------------------+
236 |
237 +------------|-------------+ +----------+
238 | Add priority label | | Done ----------------------------------------
239 | label: priority/* | +----|-----+ |
240 +------------|-------------+ |NO |
241 | | +------------------|------------------+
242 +------------|-------------+ +----|----------------+ YES | Add details to issue |
243 | ------------ Signal Community? ---------- label: help wanted |
244 |Remove needs-triage label | | | | label: beginner friendly (optional)|
245 +--------------------------+ +---------------------+ +-------------------------------------+
246
247 ```
248
249 If the author does not respond to a request for more information within the timespan of a week, close the issue with a kind note stating that the author can request for the issue to be reopened when the necessary information is provided.
250
251 ### GitHub issue: feature request
252
253 This workflow starts off with a GitHub issue of type feature request being created.
254
255 1. Collaborator or maintainer creates a GitHub feature request using the appropriate GitHub issue template
256 2. By default a feature request will be created with the `type/feature-request` and `needs-triage` labels
257
258 This flow chart outlines the triage process for feature requests.
259
260 <!-- https://textik.com/#81e81fc717f63429 -->
261 ```
262 +---------------------------------+
263 |New feature request issue opened/|
264 |more information added |
265 +----------------|----------------+
266 |
267 |
268 +---------------------------------+ NO +-------------|------------+
269 | label: triage/needs-information ---------- All required information |
270 | | | contained in issue? |
271 +---------------------------------+ +-------------|------------+
272 |
273 |
274 +---------------------------------------+ |
275 |Comment `Duplicate of #<issue number>` | YES +----------|----------+
276 |Remove needs-triage label ------- Duplicate issue? |
277 |label: triage/duplicate | | |
278 +-----|---------------------------------+ +-----------|---------+
279 | |NO
280 | +-------------------------+ NO +-----------------------------+
281 | |Add comment |-------- Does feature request align |
282 | |Remove needs-triage label| | with product vision? |
283 | +------|------------------+ +--------------|--------------+
284 | | | YES
285 | | +-----------------|----------------+
286 | | |Change feature-request to feature |
287 | | |Remove label: type/feature-request|
288 | | |Add label: type/feature |
289 | | +-----------------|----------------+
290 | | |
291 | | +--------------|--------------+
292 | | | Add area label |
293 | | | label: area/* |
294 | | +--------------|--------------+
295 | | |
296 +-|---------|---+ +--------+ +--------------|--------------+
297 | Close issue | | Done --------- Add priority label |
298 | | | | | label: priority/* |
299 +---------------+ +--------+ +-----------------------------+
300 ```
301
302 If the author does not respond to a request for more information within the timespan of a week, close the issue with a kind note stating that the author can request for the issue to be reopened when the necessary information is provided.
303
304 In some cases you may receive a request you do not wish to accept. Perhaps the request doesn't align with the project scope or vision. It is important to tactfully handle contributions that don't meet the project standards.
305
306 1. Acknowledge the person behind the contribution and thank them for their interest and contribution
307 2. Explain why it didn't fit into the scope of the project or vision
308 3. Don't leave an unwanted contributions open. Immediately close the contribution you do not wish to accept