-
Notifications
You must be signed in to change notification settings - Fork 104
chore: add bug report template #3812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a GitHub issue template for bug reports to standardize bug reporting and improve triage efficiency. The template includes structured fields for bug description, reproduction steps, version information, and browser compatibility.
- Adds a comprehensive YAML-based bug report template with required and optional fields
- Includes validation rules to ensure essential information is provided
- Incorporates Code of Conduct agreement as part of the submission process
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Add type field to bug report template Signed-off-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
Added licensing information to the bug report template. Signed-off-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
|
Is it possible to include an example issue and add its link to this PR? The sample YAML can also include the URL. |
|
Here's a possible issue example: #3821 |
|
Could you explain how this should be used in the PR description? I’m confused on the purpose of this PR. Is the idea that developers simply copy and paste the template manually? If that’s the case, what does this PR do? |
|
I think this PR adds a YAML template for future issues to use. |
We don’t typically use YAML to raise issues—or at least, I’m not aware of a way to do that. If the intent is just to provide a template for developers to copy to the GitHub web interface, Markdown (MD) would likely be a more suitable format. Since it's a yaml, and it's under .gitHub folder, I assume it adds some automation to GitHub. Maybe @Yicong-Huang can give information in PR description to avoid confusion. |
I have added more details in the PR description. Hope that can clarify the purpose of the PR! |
I checked the proposed example but it looks different from the format proposed in this PR. I current do not have an example as this is the first time we are adding this exact template. How about the following: let's merge this PR, to render the template on github, then we can create an issue with the template, then after that we can add the issue as an example. |
|
Thanks! I understand the change now. That’s a really convenient change. |
Removed 'bug' label from the bug report template. Signed-off-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the plan suggested by @Yicong-Huang .
|
I’m trying to file a bug report, but the template requires selecting a version where the bug was found. The issue is that the dropdown only has one option: the official release (v1.0.0). This isn’t very user-friendly for developers, since we usually track bugs by GitHub commit hash rather than just a release version. Could we improve the template to support this? Screen.Recording.2025-10-03.at.9.48.50.PM.mov |
|
Is it a question for @Yicong-Huang ? |
|
good question! However I think we should start to use versions to track instead of commits. Because when reporting bugs, the reporter could be developers and users. And even for developers, one may not know the root cause yet, thus it's more make sense to report a coarse grained version, instead of a fine grained commit. I can think of the following:
What do you think? |
|
@Yicong-Huang I agree with your design. |
I'm out today. Do you want to file a PR for the change, if it's handy for you? |
This PR improves the template for creating GitHub issues of type "Bug", based on the feedback provided in [this comment](#3812 (comment)) 1. Added a Pre-release Version option to the version selection field. 2. Added an optional Commit Hash field for developers to specify the exact commit associated with the issue.
This PR adds a template for creating an issue with "Bug" type. It will be used by github to render a form. I followed this example to configure it. https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
Here is an example rendering of the form. Note that this is only for reference, the exact content has been customized by me.
