Skip to content

Commit ef0cb1e

Browse files
committed
.github: Add an issue template for crashes
1 parent 8ff767b commit ef0cb1e

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
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 issues with or requests for Xcode and other
21+
closed-source Apple software such as SwiftUI and UIKit; please direct
22+
them to
23+
[feedbackassistant.apple.com](https://feedbackassistant.apple.com)
24+
instead.
25+
- type: textarea
26+
attributes:
27+
label: Description
28+
description: >
29+
A concise description of what causes the problem, in human language.
30+
Though not required, it may help us to more accurately triage the issue
31+
as well as understand a non-trivial test case.
32+
validations:
33+
required: false
34+
- type: textarea
35+
attributes:
36+
label: Reproduction
37+
description: >
38+
Provide a test case, preferably in a Markdown codeblock, and explain
39+
how to build or run it to reproduce the problem. Consider reducing the
40+
test case to the smallest amount of code possible — a smaller test case
41+
is easier to reason about and more appealing to contributors.
42+
value: |
43+
```swift
44+
45+
```
46+
validations:
47+
required: true
48+
- type: textarea
49+
attributes:
50+
label: Stack dump
51+
description: >
52+
Paste the stack dump as is, without formatting it into a Markdown
53+
codeblock.
54+
render: "text"
55+
validations:
56+
required: true
57+
- type: textarea
58+
attributes:
59+
label: Expected behavior
60+
description: >
61+
Describe the behavior you expected instead of the crash.
62+
validations:
63+
required: true
64+
- type: textarea
65+
attributes:
66+
label: Environment
67+
description: >
68+
Provide the Swift version, tag, or revision. If you suspect that the
69+
problem might be specific to a particular development platform or
70+
deployment target, please specify them as well.
71+
placeholder: $ swiftc -version
72+
validations:
73+
required: true
74+
- type: textarea
75+
attributes:
76+
label: Additional information
77+
description: >
78+
Any complementary information that could help others to work around
79+
the problem, and us to better understand the problem and its impact.
80+
For example, a link to a discussion or post that motivated this
81+
report.
82+
validations:
83+
required: false

0 commit comments

Comments
 (0)