Skip to content

Commit a096ecc

Browse files
authored
First attempt at a template for bugs (#1151)
* First attempt at a template for bugs * Add SQL schema and queries * Add input field for playground link
1 parent 71d9c4b commit a096ecc

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Bug Report
2+
description: File a bug report
3+
labels: [bug, triage]
4+
body:
5+
- type: textarea
6+
id: what-happened
7+
attributes:
8+
label: What happened?
9+
description: Also tell us, what did you expect to happen?
10+
placeholder: Tell us what you see!
11+
value: "A bug happened!"
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: logs
16+
attributes:
17+
label: Relevant log output
18+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
19+
render: shell
20+
- type: textarea
21+
id: schema
22+
attributes:
23+
label: Database schema
24+
description: Please include definitions for the relevant database tables. This will be automatically formatted as SQL, so no need for backticks.
25+
render: sql
26+
- type: textarea
27+
id: queries
28+
attributes:
29+
label: SQL queries
30+
description: Please include the SQL queries causing issues. This will be automatically formatted as SQL, so no need for backticks.
31+
render: sql
32+
- type: input
33+
id: playground
34+
attributes:
35+
label: Playground URL
36+
description: "Link to a reproduction of the issue on the sqlc playground"
37+
placeholder: "https://play.sqlc.dev/"
38+
- type: dropdown
39+
id: version
40+
attributes:
41+
label: Version
42+
description: What version of sqlc are you running?
43+
multiple: false
44+
options:
45+
- 1.9.0
46+
- 1.8.0
47+
- 1.7.0
48+
- Other
49+
validations:
50+
required: true
51+
- type: dropdown
52+
id: os
53+
attributes:
54+
label: What operating system are you using?
55+
multiple: true
56+
options:
57+
- Linux
58+
- Windows
59+
- macOS
60+
- type: dropdown
61+
id: engines
62+
attributes:
63+
label: What database engines are you using?
64+
multiple: true
65+
options:
66+
- PostgreSQL
67+
- MySQL
68+
- type: dropdown
69+
id: languages
70+
attributes:
71+
label: What type code are you generating?
72+
multiple: true
73+
options:
74+
- Go
75+
- Python
76+
- Kotlin

0 commit comments

Comments
 (0)