Create g3_bug.yml (#163151)

<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->

bug template to be used by g3 customers

n/a doesn't fix an external issue


## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md

---------

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
This commit is contained in:
mariamhas 2025-02-19 12:08:38 -08:00 committed by GitHub
parent 408cbaf233
commit 54b972084a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

136
.github/ISSUE_TEMPLATE/g3_bug.yml vendored Normal file
View File

@ -0,0 +1,136 @@
name: Report a bug
description: |
You found a bug in Flutter causing your application to crash or
throw an exception, a widget is buggy, or something looks wrong.
labels: 'customer: google'
body:
- type: markdown
attributes:
value: |
Thank you for using Flutter!
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent
- type: markdown
attributes:
value: |
Before filling the form fields, please consider the following:
- Ensure that you have searched the [existing issues](https://github.com/flutter/flutter/issues)
- Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
- type: markdown
attributes:
value: |
Flutter GitHub issues are public and so you must avoid posting any Google confidential information in them.
- type: checkboxes
id: priority-indicator
attributes:
label: Help us understand the severity of this issue
description: Please only choose one
options:
- label: causing severe production issues e.g. malfunctions or data loss
- label: blocking next binary release
- label: blocking a client feature launch within a quarter
- label: nice-to-have but does not block a launch within the next quarter
- type: textarea
attributes:
label: Steps to reproduce
description: Please tell us exactly how to reproduce the problem you are running into.
placeholder: |
1. ...
2. ...
3. ...
validations:
required: true
- type: textarea
attributes:
label: Expected results
description: Please tell us what is expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Actual results
description: Please tell us what is actually happening.
validations:
required: true
- type: textarea
attributes:
label: Code sample
description: |
Please create a minimal reproducible sample that shows the problem
and attach it below between the lines with the backticks.
To create it, use the `flutter create bug` command and update the `main.dart` file.
Alternatively, you can use https://dartpad.dev/ or create a public GitHub
repository to share your sample.
Without this we will unlikely be able to progress on the issue, and because of that
we regretfully will have to close it.
Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload your code sample.
value: |
<details open><summary>Code sample</summary>
```dart
[Paste your code here]
```
</details>
validations:
required: true
- type: textarea
attributes:
label: Screenshots or Video
description: |
Upload any screenshots or video of the bug if applicable.
value: |
<details open>
<summary>Screenshots / Video demonstration</summary>
[Upload media here]
</details>
- type: textarea
attributes:
label: Logs
description: |
Include the full logs of the commands you are running between the lines
with the backticks below. If you are running any `flutter` commands,
please include the output of running them with `--verbose`; for example,
the output of running `flutter --verbose create foo`.
If the logs are too large to be uploaded to GitHub, you may upload
them as a `txt` file or use online tools like https://pastebin.com to
share it.
Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload logs.
value: |
<details open><summary>Logs</summary>
```console
[Paste your logs here]
```
</details>
- type: textarea
attributes:
label: Flutter Doctor output
description: |
Please provide the full output of running `flutter doctor -v`
value: |
<details open><summary>Doctor output</summary>
```console
[Paste your output here]
```
</details>
validations:
required: true