qubes-doc/introduction/issue-tracking.md
Andrew David Wong fecb4c2de3
Update "Issue tracking"
- Remove deprecated content about milestones
- Update section on resolutions
- Add search tip about issue closure reason filtering
2023-11-14 10:35:41 -08:00

20 KiB

lang layout permalink redirect_from ref title
en doc /doc/issue-tracking/
/doc/reporting-bugs/
/en/doc/reporting-bugs/
/doc/BugReportingGuide/
/wiki/BugReportingGuide/
/reporting-bugs/
/bug/
/bugs/
/bug-report/
/bug-reports/
121 Issue tracking

We use GitHub Issues as our issue tracking system. All issues pertaining to the Qubes OS Project (including auxiliary infrastructure such as this website) are tracked in qubes-issues.

How to open a new issue

First, let's make sure the issue tracker is the right place.

I need help, have a question, or want to discuss something.

We're happy to help, answer questions, and have discussions, but the issue tracker is not the right place for these activities. Instead, please see Help, Support, Mailing Lists, and Forum.

I see something that should be changed in the documentation.

We encourage you to submit the change yourself! Please see the how to edit the documentation for instructions on how to do so. If it's something you can't do yourself, please proceed to open an issue.

I would like to report a security vulnerability.

Thank you! If the vulnerability is confidential, please do not report it in our public issue tracker. Instead, please see Reporting Security Issues in Qubes OS.

I still want to open an issue.

Great! Thank you for taking the time and effort to help improve Qubes! To ensure the process is efficient and productive for everyone involved, please follow these steps:

  1. Carefully read our issue tracking guidelines. If your issue would violate any of the guidelines, stop. Please do not submit it.
  2. Search through the existing issues, both open and closed, to see if your issue already exists. If it does, stop. Do not open a duplicate. Instead, comment on the existing issue.
  3. Go here.
  4. Select the type of issue you want to open.
  5. Enter a descriptive title.
  6. Do not delete the provided issue template. Fill out every applicable section.
  7. Make sure to mention any relevant documentation and other issues you've already seen. We don't know what you've seen unless you tell us. If you don't list it, we'll assume you haven't seen it.
  8. If any sections of the issue template are truly not applicable, you may remove them.
  9. Submit your issue.
  10. Respond to any questions the official team asks. For example, you may be asked to provide specific logs or other additional information.

Eventually, your issue may be closed. See how issues get closed for details about when, why, and how this occurs.

Labels and projects

Labels and projects are features of GitHub's issue tracking system that we use to keep qubes-issues organized.

Labels

When an issue is first created, certain labels may automatically be applied to it based on the type of issue the reporter selected. For example, if someone selects the "Bug report" template, then the T: bug label will automatically be applied to that issue. After that, only Qubes team members have permission to modify labels. Many labels have descriptions on them that can be viewed by hovering over them or on the [list of labels](https://github.com/QubesOS/qubes-issues/labels. Let's go over some of the most important ones.

Type

There are three issue types: T: bug, T: enhancement, and T: task.

  • T: bug --- Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
  • T: enhancement --- Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
  • T: task --- Type: task. An action item that is neither a bug nor an enhancement.

Every open issue should have exactly one type. An open issue should not have more than one type, and it should not lack a type entirely. Bug reports are for problems in things that already exist. If something doesn't exist yet, but you think it ought to exist, then use T: enhancement instead. If something already exists, but you think it could be improved in some way, you should again use T: enhancement. T: task is for issues that fall under under neither T: bug nor T: enhancement.

Priority

There are several issue priority levels ranging from P: minor to P: blocker (see here for the full list). Every open issue should have exactly one priority. An open issue should not have more than one priority, and it should not lack a priority entirely. See here for details about how the developers use these priorities.

Component

There are many component labels, each beginning with C: (see here for the full list). Every open issue should have at least one component. An open issue may have more than one component, but it should not lack a component entirely. When no other component applies, use C: other.

Affected release

A label of the form affects-<RELEASE_NUMBER> indicates that an issue affects the corresponding Qubes OS release. An issue can have more than one of these labels if it affects multiple releases.

Projects

The issue tracker has several projects. A project is a way to create a group of multiple related issues. This is the preferred method of grouping issues, whereas trying to use normal issues as "meta-issues" or "epics" is discouraged.

Search tips

Guidelines

The issue tracker is not a discussion forum

The issue tracker is a tool to help the developers be more productive and efficient in their work. It is not a place for discussion. If you wish to discuss something in the issue tracker, please do so on the forum or mailing lists (see Help, Support, Mailing Lists, and Forum). You can simply link to the relevant issue in your discussion post.

This guideline is important for keeping issues focused on actionable information, which helps the developers to stay focused on their work. When developers come back to an issue to work on it, we do not want them to have to sift through a large number of unnecessary comments before they can get started. In many cases, an issue that gets "too big" essentially becomes more trouble than it's worth, and no developer will touch it (also see every issue must be about a single, actionable thing). In these cases, we sometimes have to close the issue and open a new one. This is a waste of energy for everyone involved, so we ask that everyone help to avoid repeating this pattern.

Do not submit questions

qubes-issues is not the place to ask questions. This includes, but is not limited to, troubleshooting questions and questions about how to do things with Qubes. Instead, see Help, Support, Mailing Lists, and Forum for appropriate place to ask questions. By contrast, qubes-issues is meant for tracking more general bugs, enhancements, and tasks that affect a broad range of Qubes users.

Use the issue template

When you open a new issue, an issue template is provided for you. Please use it. Do not delete it. The issue template is carefully designed to elicit important information. Without this information, the issue is likely to be incomplete. (If certain sections are not applicable, you may remove them, but please do so only sparingly and only if they are truly not applicable.)

It is also important to note the placement and content of the HTML comments in the issue template. These help us to have issues with a consistent format.

Every issue must be about a single, actionable thing

If your issue is not actionable, please see Help, Support, Mailing Lists, and Forum for the appropriate place to post it. If your issue would be about more than one thing, file them as separate issues instead. This means we should generally not try to use a single issue as a "meta" or "epic" issue that exists only to group, contain, or track other issues. Instead, when there is a need to group multiple related issues together, use projects.

This guideline is extremely important for making the issue tracker a useful tool for the developers. When an issue is too big and composite, it becomes intractable and drastically increases the likelihood that nothing will get done. Such issues also tend to encourage an excessive amount of general discussion that is simply not appropriate for a technical issue tracker (see the issue tracker is not a discussion forum).

New issues should not be duplicates of existing issues

Before you submit an issue, check to see whether it has already been reported. Search through the existing issues -- both open and closed -- by typing your key words in the Filters box. If you find an issue that seems to be similar to yours, read through it. If you find an issue that is the same as or subsumes yours, leave a comment on the existing issue rather than filing a new one, even if the existing issue is closed. If an issue affects more than one Qubes version, we usually keep only one issue for all versions. The Qubes team will see your comment and reopen the issue, if appropriate. For example, you can leave a comment with additional information to help the maintainer debug it. Adding a comment will subscribe you to email notifications, which can be helpful in getting important updates regarding the issue. If you don't have anything to add but still want to receive email updates, you can click the "Subscribe" button at the side or bottom of the comments.

Every issue must be of a single type

Every issue must be exactly one of the following types: a bug report (bug), a feature or improvement request (enhancement), or a task (task). Do not file multi-typed issues. Instead, file multiple issues of distinct types. The Qubes team will classify your issue according to its type.

New issues should include all relevant information

When you file a new issue, you should be sure to include the version of Qubes you're using, as well as versions of related software packages (how to copy information out of dom0). If your issue is related to hardware, provide as many details as possible about the hardware. A great way to do this is by generating and submitting a Hardware Compatibility List (HCL) report, then linking to it in your issue. You may also need to use command-line tools such as lspci. If you're reporting a bug in a package that is in a testing repository, please reference the appropriate issue in the updates-status repository. Project maintainers really appreciate thorough explanations. It usually helps them address the problem more quickly, so everyone wins!

There are no guarantees that your issue will be addressed

Keep in mind that qubes-issues is an issue tracker, not a support system. Creating a new issue is simply a way for you to submit an item for the Qubes team's consideration. It is up to the Qubes team to decide whether or how to address your issue, which may include closing the issue without taking any action on it. Even if your issue is kept open, however, you should not expect it to be addressed within any particular time frame, or at all. At the time of this writing, there are well over one thousand open issues in qubes-issues. The Qubes team has its own roadmap and priorities, which will govern the manner and order in which open issues are addressed.

Issues and comments must be written in English

If English is not your native language, you may post a machine translation. If you wish, you may also include the original non-English text in a collapsible section.

Use collapsible sections for long, nonessential content

On GitHub, create collapsible sections in Markdown like so:

<details>
<summary>Summary goes here. This line is optional.</summary>

Long, nonessential content goes here. You can put a code block here, but make sure to leave empty lines before and after the fence lines (```).

</details>

Tip: Use the "Preview" tab to make sure it renders correctly before posting.

How issues get closed

If the Qubes developers make a code change that resolves an issue, then the issue will typically be closed from the relevant commit or merged pull request (PR).

Bug reports

In the case of bugs, the package containing the change will move to the appropriate testing repository, then to the appropriate stable repository. If you so choose, you can test the fix while it's in the testing repository, or you can wait for it to land in the stable repository. If, after testing the fix, you find that it does not really fix the reported bug, please leave a comment on the issue explaining the situation. When you do, we will receive a notification and respond on the issue or reopen it (or both). Please do not create a duplicate issue or attempt to contact the developers individually about a problem.

Resolution

In GitHub, an issue can be closed as either completed or not planned.

Being closed as completed means that the issue has been fixed (in the case of bugs) or done (in the case of enhancements and tasks). More precisely, it means that a commit containing the relevant work has been pushed. It takes time for this work to make its way into a package, which must then go through the testing process before finally landing in the relevant stable repository. Automated comments on the issue will announce when key events in this process occur.

Being closed as not planned means that the issue will not be fixed (in the case of bugs) or done (in the case of enhancements and tasks). When an issue is closed as not planned, we add a resolution label starting with R: that specifies the reason for the closure, such as R: duplicate or R: cannot reproduce. Each of these labels has a description that briefly explains the label. We also leave a comment containing a longer explanation for why the issue is being closed along with general information.

While issues that are closed as not planned get a more specific resolution label, issues that are closed as completed do not always get one, since the linked PRs, commits, automated messages, and the completed reason itself are often sufficient to convey all relevant information. For information about using closure reasons in searches, see Search tips.

Backports

Issues in GitHub can only be open or closed, but when it comes to bugs that affect multiple versions of Qubes OS, there are several possible states:

  1. Not fixed yet
  2. Fix developed but not yet committed (PR open)
  3. Fix committed (PR merged), but update not yet pushed to any repo
  4. Update pushed to testing repo for the most recent development version
  5. Update pushed to stable repo for the most recent development version
  6. Update backported to stable version(s) and pushed to the testing repo
  7. Update pushed to stable repo of stable version(s)

We close issues at step 3. Then, as updates are released, the issue automatically gets the appropriate current-testing (rX.Y-*-cur-test) and stable (rX.Y-*-stable) labels. Based on these labels, it's possible to select issues waiting for step 6 (see issues by release).

Therefore, if you see that an issue is closed, but the fix is not yet available to you, be aware that it may be at an intermediate stage of this process between issue closure and the update being available in whichever repos you have enabled in whichever version of Qubes you're using.

In order to assist with this, we have a label called backport pending, which means, "The fix has been released for the testing release but is pending backport to the stable release." Our infrastructure will attempt to apply this label automatically, when appropriate, but it is not perfect, and the developers may be need to adjust it manually.

Understanding open and closed issues

Every issue is always in one of two states: open or closed, with open being the default. The open and closed states mean that, according to our available information at present, the issue in question either is or is not (respectively) actionable for the Qubes team. The open and closed states do not mean anything more than this, and it's important not to read anything else into them. It's also important to understand that closing an issue is, in effect, nothing more than changing a virtual tag on an issue. Closing an issue is never "final" in any sense, and it does not affect the issue itself in any other way. Issues can be opened and closed instantly with a single button press an unlimited number of times at no cost. In fact, since the open and closed states reflect our available information at present, one should expect these states to change back and forth as new information becomes available. Closed issues are fully searchable, just like open issues, and we explicitly instruct all users of the issue tracker to search both open and closed issues, which GitHub makes easy.