Skip to content

Commit 47dbfd5

Browse files
committed
.github: Add an issue template for crashes
1 parent f187a56 commit 47dbfd5

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# This source file is part of the Swift.org open source project
2+
#
3+
# Copyright (c) 2023 Apple Inc. and the Swift project authors
4+
# Licensed under Apache License v2.0 with Runtime Library Exception
5+
#
6+
# See https://swift.org/LICENSE.txt for license information
7+
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8+
9+
name: 💥 Report a crash
10+
description: >
11+
Report a compiler crash or other unexpected program termination caused by an
12+
exception.
13+
labels: [bug, crash, triage needed]
14+
body:
15+
- type: markdown
16+
attributes:
17+
value: >
18+
This repository hosts the Swift compiler, the Swift standard library,
19+
the Swift runtime, SourceKit, and IDE support for the Swift language.
20+
It does *not* track feedback on Xcode and other closed source Apple
21+
developer software such as SwiftUI and UIKit; please direct it to
22+
[Feedback Assistant](https://developer.apple.com/bug-reporting)
23+
instead.
24+
- type: textarea
25+
attributes:
26+
label: Description
27+
description: >
28+
A concise description of what causes the problem, in human language.
29+
Though not required, it may help us to more accurately triage the issue
30+
as well as understand a non-trivial test case.
31+
validations:
32+
required: false
33+
- type: textarea
34+
attributes:
35+
label: Reproduction
36+
description: >
37+
Provide a test case, preferably in a Markdown codeblock, and explain
38+
how to build or run it to reproduce the problem. Consider reducing the
39+
test case to the smallest amount of code possible — a smaller test case
40+
is easier to reason about and more appealing to contributors.
41+
value: |
42+
```swift
43+
44+
```
45+
validations:
46+
required: true
47+
- type: textarea
48+
attributes:
49+
label: Stack dump
50+
description: >
51+
Paste the stack dump as is, without formatting it into a Markdown
52+
codeblock.
53+
render: "text"
54+
validations:
55+
required: true
56+
- type: textarea
57+
attributes:
58+
label: Expected behavior
59+
description: >
60+
Describe the behavior you expected instead of the crash.
61+
validations:
62+
required: true
63+
- type: textarea
64+
attributes:
65+
label: Environment
66+
description: >
67+
Provide the Swift version, tag, or revision. If you suspect that the
68+
problem might be specific to a particular development platform or
69+
deployment target, please specify them as well.
70+
placeholder: $ swiftc -version
71+
validations:
72+
required: true
73+
- type: textarea
74+
attributes:
75+
label: Additional information
76+
description: >
77+
Any complementary information that could help others to work around
78+
the problem, and us to better understand the problem and its impact.
79+
For example, a link to a discussion or post that motivated this
80+
report.
81+
validations:
82+
required: false

0 commit comments

Comments
 (0)