Issue Triage

Issues are triaged by the GitLab Detective code owners:

Partial Triage checklist

Complete Triage

An issue is considered completely triaged when all of the following criteria are met:

Priority

The priority label is used to indicate the importance and guide the scheduling of the issue. Priority labels are expected to be set based on the circumstances of the market, product direction, ARR impact, number of impacted users and capacity of the team.

Priority Importance Intention DRI
~"priority::1" Urgent We will address this as soon as possible regardless of the limit on our team capacity. Our target resolution time is 30 days.
~"priority::2" High We will address this soon and will provide capacity from our team for it in the next few releases. This will likely get resolved in 60-90 days.
~"priority::3" Medium We want to address this but may have other higher priority items. This will likely get resolved in 90-120 days.
~"priority::4" Low We don’t have visibility when this will be addressed. No timeline designated.

Severity

If you need help estimating severity, reach out in the #spt_gitlab-detective channel.

Severity labels help us determine urgency and clearly communicate the impact of a ~"type::bug", and ~"type::maintenance" on users. There can be multiple categories of a type.

For bugs, the presence of bug category labels ~"bug::performance", ~"bug::vulnerability", and ~UX denotes to use the severity definition in that category. When a ~"type::bug" correspond to multiple categories, the severity to apply should be the higher, for example, if an issue has a ~"severity::2" for ~"bug::performance" and a ~"severity::1" for ~"bug::vulnerability" then the severity assigned to the issue should be ~"severity::1". For maintenance issues, the presence of ~"backlog::triage" denotes that severity definition must be specified.

Once you’ve determined a severity for an issue add a note that explains in summary why you selected the severity you did. This will help future team members understand your rationale so they will know how to proceed with acting upon the issue.

Type of ~"type::bug" ~"severity::1": Blocker ~"severity::2": Critical ~"severity::3": Major ~"severity::4": Low Triage DRI
General bugs Broken feature with no workaround or any data-loss. Broken feature with an unacceptably complex workaround. Broken feature with a workaround. Functionality is inconvenient.
~"bug::performance" GitLab services break when run GitLab service performance is noticeably slower while detective runs. GitLab services may experience slight load only observed with monitoring. Detective scanning is slower than expected
~bug::ux User experience problem ³ “I can’t figure this out.” Users are blocked and/or likely to make risky errors due to poor usability, and are likely to ask for support. “I can figure out why this is happening, but it’s really painful to solve.” Users are significantly delayed by the available workaround. “This still works, but I have to make small changes to my process.” Users are self sufficient in completing the task with the workaround, but may be somewhat delayed. “There is a small inconvenience or inconsistency.” Usability isn’t ideal or there is a small cosmetic issue.

All ~"type::bug" issues must have one of the following:

  1. ~"backlog::prospective" with updates every 6 months, including justification on why it is remaining open past the SLO once applicable.
  2. ~"backlog::no-commitment" with justification.
  3. justification on why it is being closed without remediation.

Examples of severity levels

If a issue seems to fall between two severity labels, assign it to the higher severity label.

Re-evaluating closed issues

As the triager of an issue you are responsible for adjusting your decision based on additional information that surfaces later. To do that, track subsequent activity on issues that you have closed and adjust your decision as needed.

Performance

Improving performance: It may not be possible to reach the intended response time in one iteration. We encourage performance improvements to be broken down. Improve where we can and then re-evaluate the next appropriate level of severity & priority based on the new response time.

UX bugs

We particularly target issues with the label bug::ux. These issues will have a severity label applied and they follow the severity for type::bug issues.

Transient bugs

A transient bug is unexpected, unintended behavior that does not always occur in response to the same action.

Transient bugs give users conflicting impressions about what is happening when they take action, may not consistently occur, and last for a short period of time. While these bugs may not block a user’s workflow and are usually resolved by a total page refresh, they are detrimental to the user experience and can build a lack of trust in the product. Users can become unsure about whether the data they are seeing is stale, fresh, or has even updated after they took an action. Examples of transient behaviors include:

In order to define an issue as a “transient bug,” use the ~"bug::transient" label

Triaging Issues

Initial triage involves (at a minimum) labelling an issue appropriately, so un-triaged issues can be discovered by searching for issues without any labels.

Find issues needing triage here

Pick an issue, with preference given to the oldest in the list, and evaluate it with a critical eye, bearing the issue triage practices below in mind. Some questions to ask yourself:

Apply each label that seems appropriate. Issues with a security impact should be treated specially - see the security disclosure process.

If the issue seems unclear - you aren’t sure which labels to apply - ask the requester to clarify matters for you. Keep our user communication guidelines in mind at all times, and commit to keeping up the conversation until you have enough information to complete triage.

Consider whether the issue is still valid. Especially for older issues, a ~"type::bug" may have been fixed since it was reported, or a ~"type::feature" may have already been implemented.

Be sure to check cross-reference notes from other issues or merge requests, they are a great source of information! For instance, by looking at a cross-referenced merge request, you could see a “Picked into 8-13-stable, will go into 8.13.6.” which would mean that the issue is fixed since the version 8.13.6.

You’re done! The issue has all appropriate labels, and may now be in the backlog, closed, awaiting scheduling, or awaiting feedback from the requestor. Pick another, if you’ve got the time.

Issue Triage Practices

We plan to eventually force some policies automatically. Nothing is applied at this time.

Outdated issues

For issues that haven’t been updated in the last 3 months the “Awaiting Feedback” label should be added to the issue. After 14 days, if no response has been made by anyone on the issue, the issue should be closed. This is a slightly modified version of the Rails Core policy on outdated issues.

If they respond at any point in the future, the issue can be considered for reopening. If we can’t confirm an issue still exists in recent versions of GitLab, we’re just adding noise to the issue tracker.

Lean toward closing

We simply can’t satisfy everyone. We need to balance pleasing users as much as possible with keeping the project maintainable.

Label issues as they come in

When an issue comes in, it should be triaged and labeled. Issues without labels are harder to find and often get lost.

Be careful with severity labels. Underestimating severity can make a problem worse by suggesting resolution can wait longer than it should. Review available Severity labels. If you are not certain of the right label for a bug, it is OK to overestimate the severity. But do get confirmation from a member of the Detective team.

Take ownership of issues you’ve opened

Sort by “Author: your username” and close any issues which you know have been fixed or have become irrelevant for other reasons. Label them if they’re not labeled already.

Questions/support issues

If it’s a question, or something vague that can’t be addressed by the development team for whatever reason, close it and direct them to the relevant support resources we have (e.g. https://about.gitlab.com/get-help/, our Discourse forum or emailing Support).

New labels

If you notice a common pattern amongst various issues, suggest adding a new label in Slack or a new issue.

Notes

The original issue about these policies is #158.

This process is based off of the general issue triage outline.