Skip to content

Commit 83894d6

Browse files
[chore] diagram defining different states for issues (#36975)
### Description See #36677 Closes #36677 ```mermaid flowchart TD n0(["New issue has been opened"]) --> n1 n1(["Needs Triage"]) --> n2["Has good repro steps <br>and/or description?"] subgraph graph2["**waiting-for-codeowners**"] n3["Waiting for Codeowners<br>to further validate the issue"] end subgraph graph3["**waiting-for-author**"] n4["Waiting for author to provide more details"] end subgraph graph4["**help-wanted**"] n8["Waiting on community"] end subgraph graph5["**closed**"] n10(["Close the issue and provide details as needed"]) end n2 -- Yes --> n3 n2 -- No/Need more details --> n4 n2 -- Invalid configuration/alternative available --> n10 n3 -- Invalid Issue --> n10 n3 -- Valid Issue --> n6["Codeowner has time<br>to fix it?"] n6 -- Assign it to codeowner --> n7["Issue in being worked upon"] n6 -- No --> n8 n7 -- Once PR is merged --> n10 n8 -- When someone volunteers to provide a fix --> n11["Assign it to the person"] n12 -- Any activity on the issue --> n8 n8 -. Issue becomes stale due to lack of activity .-> n12["Issue is inactive"] n11 --> n7 n12 -- Closed automatically after 120 days due to lack of activity --> n10 n4 -- Once enough details are available --> n2 n3@{ shape: rect} n4@{ shape: rect} n2@{ shape: diam} n6@{ shape: diam} n1:::Aqua n3:::Ash n4:::Ash n8:::Ash n2:::Ash n2:::Peach n6:::Peach n7:::Ash n10:::Rose classDef Rose stroke-width:1px, stroke-dasharray:none, stroke:#FF5978, fill:#FFDFE5, color:#8E2236 classDef Aqua stroke-width:1px, stroke-dasharray:none, stroke:#46EDC8, fill:#DEFFF8, color:#378E7A classDef Peach stroke-width:1px, stroke-dasharray:none, stroke:#FBB35A, fill:#FFEFDB, color:#8F632D classDef Ash stroke-width:1px, stroke-dasharray:none, stroke:#999999, fill:#EEEEEE, color:#000000 ``` --------- Co-authored-by: Ziqi Zhao <[email protected]>
1 parent 515e409 commit 83894d6

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

issue-triaging.md

+55
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,58 @@ triaged and is ready for work. If someone who is assigned to an issue is no long
7171
| `Sponsor Needed` | A new component has been proposed, but implementation is not ready to begin. This can be because a sponsor has not yet been decided, or because some details on the component still need to be decided. |
7272
| `Accepted Component` | A sponsor has elected to take on a component and implementation is ready to begin. |
7373
| `Vendor Specific Component` | This should be applied to any component proposal where the functionality for the component is particular to a vendor. |
74+
75+
### State diagram
76+
77+
Here is a diagram outlining the potential issue states and how issues move through different stages:
78+
79+
```mermaid
80+
flowchart TD
81+
n0(["New issue has been opened"]) --> n1
82+
n1(["Needs Triage"]) --> n2["Has good repro steps <br>and/or description?"]
83+
subgraph graph2["**waiting-for-codeowners**"]
84+
n3["Waiting for Codeowners<br>to further validate the issue"]
85+
end
86+
subgraph graph3["**waiting-for-author**"]
87+
n4["Waiting for author to provide more details"]
88+
end
89+
subgraph graph4["**help-wanted**"]
90+
n8["Waiting on community"]
91+
end
92+
subgraph graph5["**closed**"]
93+
n10(["Close the issue and provide details as needed"])
94+
end
95+
n2 -- Yes --> n3
96+
n2 -- No/Need more details --> n4
97+
n2 -- Invalid configuration/alternative available --> n10
98+
n3 -- Invalid Issue --> n10
99+
n3 -- Valid Issue --> n6["Codeowner has time<br>to fix it?"]
100+
n6 -- Assign it to codeowner --> n7["Issue in being worked upon"]
101+
n6 -- No --> n8
102+
n7 -- Once PR is merged --> n10
103+
n8 -- When someone volunteers to provide a fix --> n11["Assign it to the person"]
104+
n12 -- Any activity on the issue --> n8
105+
n8 -. Issue becomes stale due to lack of activity .-> n12["Issue is inactive"]
106+
n11 --> n7
107+
n12 -- Closed automatically after 120 days due to lack of activity --> n10
108+
n4 -- Once enough details are available --> n2
109+
110+
n3@{ shape: rect}
111+
n4@{ shape: rect}
112+
n2@{ shape: diam}
113+
n6@{ shape: diam}
114+
115+
n1:::Aqua
116+
n3:::Ash
117+
n4:::Ash
118+
n8:::Ash
119+
n2:::Ash
120+
n2:::Peach
121+
n6:::Peach
122+
n7:::Ash
123+
n10:::Rose
124+
classDef Rose stroke-width:1px, stroke-dasharray:none, stroke:#FF5978, fill:#FFDFE5, color:#8E2236
125+
classDef Aqua stroke-width:1px, stroke-dasharray:none, stroke:#46EDC8, fill:#DEFFF8, color:#378E7A
126+
classDef Peach stroke-width:1px, stroke-dasharray:none, stroke:#FBB35A, fill:#FFEFDB, color:#8F632D
127+
classDef Ash stroke-width:1px, stroke-dasharray:none, stroke:#999999, fill:#EEEEEE, color:#000000
128+
```

0 commit comments

Comments
 (0)