2021-01-03 14:25:43 +05:30
---
type: reference, dev
stage: none
group: Development
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2021-01-03 14:25:43 +05:30
---
2019-12-04 20:38:33 +05:30
# Issues workflow
2018-11-20 20:47:30 +05:30
2019-12-04 20:38:33 +05:30
## Issue tracker guidelines
2020-06-23 00:09:42 +05:30
**[Search the issue tracker](https://gitlab.com/gitlab-org/gitlab/-/issues)** for similar entries before
2019-12-04 20:38:33 +05:30
submitting your own, there's a good chance somebody else had the same issue or
feature proposal. Show your support with an award emoji and/or join the
discussion.
Please submit bugs using the ['Bug' issue template ](https://gitlab.com/gitlab-org/gitlab/blob/master/.gitlab/issue_templates/Bug.md ) provided on the issue tracker.
The text in the parenthesis is there to help you with what to include. Omit it
when submitting the actual issue. You can copy-paste it and then edit as you
see fit.
## Issue triaging
2020-04-22 19:07:51 +05:30
Our issue triage policies are [described in our handbook ](https://about.gitlab.com/handbook/engineering/quality/issue-triage/ ).
2019-12-04 20:38:33 +05:30
You are very welcome to help the GitLab team triage issues.
2020-06-23 00:09:42 +05:30
We also organize [issue bash events ](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/17815 )
2019-12-04 20:38:33 +05:30
once every quarter.
The most important thing is making sure valid issues receive feedback from the
development team. Therefore the priority is mentioning developers that can help
on those issues. Please select someone with relevant experience from the
2019-12-21 20:55:43 +05:30
[GitLab team ](https://about.gitlab.com/company/team/ ).
2019-12-04 20:38:33 +05:30
If there is nobody mentioned with that expertise look in the commit history for
the affected files to find someone.
2019-12-21 20:55:43 +05:30
We also use [GitLab Triage ](https://gitlab.com/gitlab-org/gitlab-triage ) to automate
some triaging policies. This is currently set up as a scheduled pipeline
(`https://gitlab.com/gitlab-org/quality/triage-ops/pipeline_schedules/10512/editpipeline_schedules/10512/edit`,
2020-03-13 15:44:24 +05:30
must have at least Developer access to the project) running on [quality/triage-ops ](https://gitlab.com/gitlab-org/quality/triage-ops )
2019-12-21 20:55:43 +05:30
project.
2019-12-04 20:38:33 +05:30
## Labels
To allow for asynchronous issue handling, we use [milestones ](https://gitlab.com/groups/gitlab-org/-/milestones )
2020-04-08 14:13:33 +05:30
and [labels ](https://gitlab.com/gitlab-org/gitlab/-/labels ). Leads and product managers handle most of the
2020-11-24 15:15:51 +05:30
scheduling into milestones. Labeling is a task for everyone. (For some projects, labels can be set only by GitLab team members and not by community contributors).
2018-11-20 20:47:30 +05:30
Most issues will have labels for at least one of the following:
2020-11-24 15:15:51 +05:30
- Type: `~feature` , `~bug` , `~tooling` , `~documentation` , etc.
2020-01-01 13:55:28 +05:30
- Stage: `~"devops::plan"` , `~"devops::create"` , etc.
- Group: `~"group::source code"` , `~"group::knowledge"` , `~"group::editor"` , etc.
2020-11-24 15:15:51 +05:30
- Category: `~"Category:Code Analytics"` , `~"Category:DevOps Reports"` , `~"Category:Templates"` , etc.
2020-01-01 13:55:28 +05:30
- Feature: `~wiki` , `~ldap` , `~api` , `~issues` , `~"merge requests"` , etc.
- Department: `~UX` , `~Quality`
- Team: `~"Technical Writing"` , `~Delivery`
- Specialization: `~frontend` , `~backend` , `~documentation`
- Release Scoping: `~Deliverable` , `~Stretch` , `~"Next Patch Release"`
2020-11-24 15:15:51 +05:30
- Priority: `~"priority::1"` , `~"priority::2"` , `~"priority::3"` , `~"priority::4"`
- Severity: ~`"severity::1"`, `~"severity::2"` , `~"severity::3"` , `~"severity::4"`
2018-11-20 20:47:30 +05:30
All labels, their meaning and priority are defined on the
2020-04-08 14:13:33 +05:30
[labels page ](https://gitlab.com/gitlab-org/gitlab/-/labels ).
2018-11-20 20:47:30 +05:30
If you come across an issue that has none of these, and you're allowed to set
2020-04-08 14:13:33 +05:30
labels, you can _always_ add the type, stage, group, and often the category/feature labels.
2018-11-20 20:47:30 +05:30
2019-12-04 20:38:33 +05:30
### Type labels
2018-11-20 20:47:30 +05:30
Type labels are very important. They define what kind of issue this is. Every
2019-12-04 20:38:33 +05:30
issue should have one and only one.
The current type labels are:
2018-11-20 20:47:30 +05:30
2019-12-04 20:38:33 +05:30
- ~feature
- ~bug
2020-11-24 15:15:51 +05:30
- ~tooling
2019-12-04 20:38:33 +05:30
- ~"support request"
- ~meta
2020-04-08 14:13:33 +05:30
- ~documentation
2018-11-20 20:47:30 +05:30
A number of type labels have a priority assigned to them, which automatically
makes them float to the top, depending on their importance.
Type labels are always lowercase, and can have any color, besides blue (which is
2020-04-08 14:13:33 +05:30
already reserved for category labels).
2018-11-20 20:47:30 +05:30
2019-12-04 20:38:33 +05:30
The descriptions on the [labels page ](https://gitlab.com/groups/gitlab-org/-/labels )
explain what falls under each type label.
2018-11-20 20:47:30 +05:30
2020-07-28 23:09:34 +05:30
The GitLab handbook documents [when something is a bug ](https://about.gitlab.com/handbook/product/product-processes/#bug-issues ) and [when it is a feature request ](https://about.gitlab.com/handbook/product/product-processes/#feature-issues ).
2020-04-08 14:13:33 +05:30
2019-12-04 20:38:33 +05:30
### Stage labels
2018-11-20 20:47:30 +05:30
2021-02-22 17:27:13 +05:30
Stage labels specify which [stage ](https://about.gitlab.com/handbook/product/categories/#hierarchy ) the issue belongs to.
2018-11-20 20:47:30 +05:30
2019-12-04 20:38:33 +05:30
#### Naming and color convention
2019-09-30 21:07:59 +05:30
2019-12-04 20:38:33 +05:30
Stage labels respects the `devops::<stage_key>` naming convention.
`<stage_key>` is the stage key as it is in the single source of truth for stages at
< https: / / gitlab . com / gitlab-com / www-gitlab-com / blob / master / data / stages . yml >
with `_` replaced with a space.
2019-09-30 21:07:59 +05:30
2020-04-22 19:07:51 +05:30
For instance, the "Manage" stage is represented by the `~"devops::manage"` label in
2019-12-04 20:38:33 +05:30
the `gitlab-org` group since its key under `stages` is `manage` .
2018-11-20 20:47:30 +05:30
2019-12-04 20:38:33 +05:30
The current stage labels can be found by [searching the labels list for `devops::` ](https://gitlab.com/groups/gitlab-org/-/labels?search=devops:: ).
2018-11-20 20:47:30 +05:30
2020-11-24 15:15:51 +05:30
These labels are [scoped labels ](../../user/project/labels.md#scoped-labels )
2019-12-04 20:38:33 +05:30
and thus are mutually exclusive.
2018-12-13 13:39:08 +05:30
2019-12-04 20:38:33 +05:30
The Stage labels are used to generate the [direction pages ](https://about.gitlab.com/direction/ ) automatically.
2018-12-13 13:39:08 +05:30
2019-12-04 20:38:33 +05:30
### Group labels
2019-09-04 21:01:54 +05:30
2019-12-04 20:38:33 +05:30
Group labels specify which [groups ](https://about.gitlab.com/company/team/structure/#product-groups ) the issue belongs to.
2018-12-13 13:39:08 +05:30
2019-12-04 20:38:33 +05:30
It's highly recommended to add a group label, as it's used by our triage
automation to
[infer the correct stage label ](https://about.gitlab.com/handbook/engineering/quality/triage-operations/#auto-labelling-of-issues ).
2018-12-13 13:39:08 +05:30
2019-12-04 20:38:33 +05:30
#### Naming and color convention
2018-12-13 13:39:08 +05:30
2019-12-04 20:38:33 +05:30
Group labels respects the `group::<group_key>` naming convention and
their color is `#A8D695` .
`<group_key>` is the group key as it is in the single source of truth for groups at
< https: / / gitlab . com / gitlab-com / www-gitlab-com / blob / master / data / stages . yml > ,
with `_` replaced with a space.
2019-09-04 21:01:54 +05:30
2019-12-04 20:38:33 +05:30
For instance, the "Continuous Integration" group is represented by the
2020-04-08 14:13:33 +05:30
~"group::continuous integration" label in the `gitlab-org` group since its key
2019-12-04 20:38:33 +05:30
under `stages.manage.groups` is `continuous_integration` .
2019-09-04 21:01:54 +05:30
2019-12-04 20:38:33 +05:30
The current group labels can be found by [searching the labels list for `group::` ](https://gitlab.com/groups/gitlab-org/-/labels?search=group:: ).
2019-10-12 21:52:04 +05:30
2020-11-24 15:15:51 +05:30
These labels are [scoped labels ](../../user/project/labels.md#scoped-labels )
2019-09-04 21:01:54 +05:30
and thus are mutually exclusive.
2021-02-22 17:27:13 +05:30
You can find the groups listed in the [Product Stages, Groups, and Categories ](https://about.gitlab.com/handbook/product/categories/ ) page.
2019-10-12 21:52:04 +05:30
2019-12-04 20:38:33 +05:30
We use the term group to map down product requirements from our product stages.
2019-10-12 21:52:04 +05:30
As a team needs some way to collect the work their members are planning to be assigned to, we use the `~group::` labels to do so.
2019-12-21 20:55:43 +05:30
Normally there is a 1:1 relationship between Stage labels and Group labels. In
the spirit of "Everyone can contribute", any issue can be picked up by any group,
depending on current priorities. When picking up an issue belonging to a different
2020-05-24 23:13:21 +05:30
group, it should be relabeled. For example, if an issue labeled `~"devops::create"`
2020-04-22 19:07:51 +05:30
and `~"group::knowledge"` is picked up by someone in the Access group of the Plan stage,
2020-05-24 23:13:21 +05:30
the issue should be relabeled as `~"group::access"` while keeping the original
2020-04-22 19:07:51 +05:30
`~"devops::create"` unchanged.
2019-10-12 21:52:04 +05:30
2021-04-17 20:07:23 +05:30
We also use stage and group labels to help measure our [merge request rates ](https://about.gitlab.com/handbook/engineering/merge-request-rate/ ).
Please read [Stage and Group labels ](https://about.gitlab.com/handbook/engineering/metrics/#stage-and-group-labels ) for more information on how the labels are used in this context.
2019-09-04 21:01:54 +05:30
2019-12-04 20:38:33 +05:30
### Category labels
From the handbook's
2021-02-22 17:27:13 +05:30
[Product stages, groups, and categories ](https://about.gitlab.com/handbook/product/categories/#hierarchy )
2019-12-04 20:38:33 +05:30
page:
> Categories are high-level capabilities that may be a standalone product at
another company. e.g. Portfolio Management.
It's highly recommended to add a category label, as it's used by our triage
automation to
[infer the correct group and stage labels ](https://about.gitlab.com/handbook/engineering/quality/triage-operations/#auto-labelling-of-issues ).
If you are an expert in a particular area, it makes it easier to find issues to
work on. You can also subscribe to those labels to receive an email each time an
issue is labeled with a category label corresponding to your expertise.
#### Naming and color convention
Category labels respects the `Category:<Category Name>` naming convention and
their color is `#428BCA` .
`<Category Name>` is the category name as it is in the single source of truth for categories at
< https: / / gitlab . com / gitlab-com / www-gitlab-com / blob / master / data / categories . yml > .
2020-11-24 15:15:51 +05:30
For instance, the "DevOps Report" category is represented by the
~"Category:DevOps Reports" label in the `gitlab-org` group since its
`devops_reports.name` value is "DevOps Reports".
2019-12-04 20:38:33 +05:30
If a category's label doesn't respect this naming convention, it should be specified
2021-04-17 20:07:23 +05:30
with [the `label` attribute ](https://about.gitlab.com/handbook/marketing/inbound-marketing/digital-experience/website/#category-attributes )
2019-12-04 20:38:33 +05:30
in < https: / / gitlab . com / gitlab-com / www-gitlab-com / blob / master / data / categories . yml > .
### Feature labels
From the handbook's
2021-02-22 17:27:13 +05:30
[Product stages, groups, and categories ](https://about.gitlab.com/handbook/product/categories/#hierarchy )
2019-12-04 20:38:33 +05:30
page:
> Features: Small, discrete functionalities. e.g. Issue weights. Some common
features are listed within parentheses to facilitate finding responsible PMs by keyword.
It's highly recommended to add a feature label if no category label applies, as
it's used by our triage automation to
[infer the correct group and stage labels ](https://about.gitlab.com/handbook/engineering/quality/triage-operations/#auto-labelling-of-issues ).
If you are an expert in a particular area, it makes it easier to find issues to
work on. You can also subscribe to those labels to receive an email each time an
issue is labeled with a feature label corresponding to your expertise.
2020-01-01 13:55:28 +05:30
Examples of feature labels are `~wiki` , `~ldap` , `~api` , `~issues` , `~"merge requests"` etc.
2019-12-04 20:38:33 +05:30
#### Naming and color convention
2019-09-04 21:01:54 +05:30
2019-12-04 20:38:33 +05:30
Feature labels are all-lowercase.
2021-01-29 00:20:46 +05:30
### Facet labels
To track additional information or context about created issues, developers may
add _facet labels_ . Facet labels are also sometimes used for issue prioritization
or for measurements (such as time to close). An example of a facet label is the
~customer label, which indicates customer interest.
2019-12-04 20:38:33 +05:30
### Department labels
2019-09-30 21:07:59 +05:30
The current department labels are:
- ~UX
- ~Quality
2019-12-04 20:38:33 +05:30
### Team labels
**Important**: Most of the historical team labels (e.g. Manage, Plan etc.) are
now deprecated in favor of [Group labels ](#group-labels ) and [Stage labels ](#stage-labels ).
Team labels specify what team is responsible for this issue.
Assigning a team label makes sure issues get the attention of the appropriate
people.
The current team labels are:
- ~Delivery
2019-12-21 20:55:43 +05:30
- ~"Technical Writing"
2019-12-04 20:38:33 +05:30
#### Naming and color convention
Team labels are always capitalized so that they show up as the first label for
any issue.
### Specialization labels
2019-09-30 21:07:59 +05:30
These labels narrow the [specialization ](https://about.gitlab.com/company/team/structure/#specialist ) on a unit of work.
- ~frontend
- ~backend
2019-12-21 20:55:43 +05:30
- ~documentation
2019-09-30 21:07:59 +05:30
2019-12-04 20:38:33 +05:30
### Release scoping labels
2018-11-20 20:47:30 +05:30
Release Scoping labels help us clearly communicate expectations of the work for the
release. There are three levels of Release Scoping labels:
- ~Deliverable: Issues that are expected to be delivered in the current
milestone.
- ~Stretch: Issues that are a stretch goal for delivering in the current
milestone. If these issues are not done in the current release, they will
strongly be considered for the next release.
- ~"Next Patch Release": Issues to put in the next patch release. Work on these
2020-05-24 23:13:21 +05:30
first, and add the `~"Pick into X.Y"` label to the merge request, along with the
2018-11-20 20:47:30 +05:30
appropriate milestone.
Each issue scheduled for the current milestone should be labeled ~Deliverable
or ~"Stretch". Any open issue for a previous milestone should be labeled
~"Next Patch Release", or otherwise rescheduled to a different milestone.
2019-12-26 22:10:19 +05:30
### Priority labels
2018-11-20 20:47:30 +05:30
2020-04-22 19:07:51 +05:30
We have the following priority labels:
2018-11-20 20:47:30 +05:30
2020-11-24 15:15:51 +05:30
- ~"priority::1"
- ~"priority::2"
- ~"priority::3"
- ~"priority::4"
2020-04-22 19:07:51 +05:30
Please refer to the issue triage [priority label ](https://about.gitlab.com/handbook/engineering/quality/issue-triage/#priority ) section in our handbook to see how it's used.
2018-12-13 13:39:08 +05:30
2019-12-04 20:38:33 +05:30
### Severity labels
2018-11-20 20:47:30 +05:30
2020-04-22 19:07:51 +05:30
We have the following severity labels:
2020-11-24 15:15:51 +05:30
- ~"severity::1"
- ~"severity::2"
- ~"severity::3"
- ~"severity::4"
2020-04-22 19:07:51 +05:30
Please refer to the issue triage [severity label ](https://about.gitlab.com/handbook/engineering/quality/issue-triage/#severity ) section in our handbook to see how it's used.
2019-10-12 21:52:04 +05:30
2019-12-04 20:38:33 +05:30
### Label for community contributors
2018-11-20 20:47:30 +05:30
Issues that are beneficial to our users, 'nice to haves', that we currently do
not have the capacity for or want to give the priority to, are labeled as
2018-12-13 13:39:08 +05:30
~"Accepting merge requests", so the community can make a contribution.
2018-11-20 20:47:30 +05:30
Community contributors can submit merge requests for any issue they want, but
2018-12-13 13:39:08 +05:30
the ~"Accepting merge requests" label has a special meaning. It points to
2018-11-20 20:47:30 +05:30
changes that:
1. We already agreed on,
1. Are well-defined,
1. Are likely to get accepted by a maintainer.
We want to avoid a situation when a contributor picks an
2018-12-13 13:39:08 +05:30
~"Accepting merge requests" issue and then their merge request gets closed,
2018-11-20 20:47:30 +05:30
because we realize that it does not fit our vision, or we want to solve it in a
different way.
2020-07-28 23:09:34 +05:30
We automatically add the ~"Accepting merge requests" label to issues
that match the [triage policy ](https://about.gitlab.com/handbook/engineering/quality/triage-operations/#accepting-merge-requests ).
2018-11-20 20:47:30 +05:30
2020-07-28 23:09:34 +05:30
We recommend people that have never contributed to any open source project to
2021-02-22 17:27:13 +05:30
look for issues labeled `~"Accepting merge requests"` with a [weight of 1 ](https://gitlab.com/groups/gitlab-org/-/issues?state=opened&label_name[]=Accepting+merge+requests&assignee_id=None&sort=weight&weight=1 ) or the `~"Good for new contributors"` [label ](https://gitlab.com/gitlab-org/gitlab/-/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=good%20for%20new%20contributors&assignee_id=None ) attached to it.
2020-07-28 23:09:34 +05:30
More experienced contributors are very welcome to tackle
[any of them ](https://gitlab.com/groups/gitlab-org/-/issues?state=opened&label_name[]=Accepting+merge+requests&assignee_id=None ).
2018-11-20 20:47:30 +05:30
2021-01-03 14:25:43 +05:30
For more complex features that have a weight of 2 or more and clear scope, we recommend looking at issues
with the [label `~"Community Challenge"` ](https://gitlab.com/gitlab-org/gitlab/-/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=Accepting%20merge%20requests&label_name[]=Community%20challenge ).
If your MR for the `~"Community Challenge"` issue gets merged, you will also have a chance to win a custom
GitLab merchandise.
2018-11-20 20:47:30 +05:30
If you've decided that you would like to work on an issue, please @-mention
the [appropriate product manager ](https://about.gitlab.com/handbook/product/#who-to-talk-to-for-what )
as soon as possible. The product manager will then pull in appropriate GitLab team
members to further discuss scope, design, and technical considerations. This will
2018-12-05 23:21:45 +05:30
ensure that your contribution is aligned with the GitLab product and minimize
2018-11-20 20:47:30 +05:30
any rework and delay in getting it merged into master.
2018-12-13 13:39:08 +05:30
GitLab team members who apply the ~"Accepting merge requests" label to an issue
2018-11-20 20:47:30 +05:30
should update the issue description with a responsible product manager, inviting
any potential community contributor to @-mention per above.
2019-12-04 20:38:33 +05:30
### Stewardship label
2018-11-20 20:47:30 +05:30
2019-12-04 20:38:33 +05:30
For issues related to the open source stewardship of GitLab,
there is the ~"stewardship" label.
2018-11-20 20:47:30 +05:30
2019-12-04 20:38:33 +05:30
This label is to be used for issues in which the stewardship of GitLab
is a topic of discussion. For instance if GitLab Inc. is planning to add
2020-05-24 23:13:21 +05:30
features from GitLab EE to GitLab CE, related issues would be labeled with
2019-12-04 20:38:33 +05:30
~"stewardship".
2018-11-20 20:47:30 +05:30
2019-12-04 20:38:33 +05:30
A recent example of this was the issue for
2020-06-23 00:09:42 +05:30
[bringing the time tracking API to GitLab CE ](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/25517#note_20019084 ).
2018-11-20 20:47:30 +05:30
2018-12-05 23:21:45 +05:30
## Feature proposals
2018-11-20 20:47:30 +05:30
2020-04-08 14:13:33 +05:30
To create a feature proposal, open an issue on the
2020-06-23 00:09:42 +05:30
[issue tracker ](https://gitlab.com/gitlab-org/gitlab/-/issues ).
2018-11-20 20:47:30 +05:30
In order to help track the feature proposals, we have created a
2020-06-23 00:09:42 +05:30
[`feature` ](https://gitlab.com/gitlab-org/gitlab/-/issues?label_name=feature ) label. For the time being, users that are not members
2019-09-30 21:07:59 +05:30
of the project cannot add labels. You can instead ask one of the [core team ](https://about.gitlab.com/community/core-team/ )
2019-03-02 22:35:43 +05:30
members to add the label ~feature to the issue or add the following
code snippet right after your description in a new line: `~feature` .
2018-11-20 20:47:30 +05:30
Please keep feature proposals as small and simple as possible, complex ones
might be edited to make them small and simple.
2019-12-04 20:38:33 +05:30
Please submit Feature Proposals using the ['Feature Proposal' issue template ](https://gitlab.com/gitlab-org/gitlab/blob/master/.gitlab/issue_templates/Feature%20proposal.md ) provided on the issue tracker.
2018-11-20 20:47:30 +05:30
For changes in the interface, it is helpful to include a mockup. Issues that add to, or change, the interface should
be given the ~"UX" label. This will allow the UX team to provide input and guidance. You may
2019-09-30 21:07:59 +05:30
need to ask one of the [core team ](https://about.gitlab.com/community/core-team/ ) members to add the label, if you do not have permissions to do it by yourself.
2018-11-20 20:47:30 +05:30
If you want to create something yourself, consider opening an issue first to
discuss whether it is interesting to include this in GitLab.
2018-12-05 23:21:45 +05:30
## Issue weight
2018-11-20 20:47:30 +05:30
Issue weight allows us to get an idea of the amount of work required to solve
one or multiple issues. This makes it possible to schedule work more accurately.
You are encouraged to set the weight of any issue. Following the guidelines
below will make it easy to manage this, without unnecessary overhead.
1. Set weight for any issue at the earliest possible convenience
1. If you don't agree with a set weight, discuss with other developers until
2019-07-07 11:18:12 +05:30
consensus is reached about the weight
2018-11-20 20:47:30 +05:30
1. Issue weights are an abstract measurement of complexity of the issue. Do not
2019-07-07 11:18:12 +05:30
relate issue weight directly to time. This is called [anchoring ](https://en.wikipedia.org/wiki/Anchoring )
and something you want to avoid.
2018-11-20 20:47:30 +05:30
1. Something that has a weight of 1 (or no weight) is really small and simple.
2019-07-07 11:18:12 +05:30
Something that is 9 is rewriting a large fundamental part of GitLab,
which might lead to many hard problems to solve. Changing some text in GitLab
is probably 1, adding a new Git Hook maybe 4 or 5, big features 7-9.
2018-11-20 20:47:30 +05:30
1. If something is very large, it should probably be split up in multiple
2019-07-07 11:18:12 +05:30
issues or chunks. You can simply not set the weight of a parent issue and set
weights to children issues.
2018-11-20 20:47:30 +05:30
2018-12-05 23:21:45 +05:30
## Regression issues
2018-11-20 20:47:30 +05:30
Every monthly release has a corresponding issue on the CE issue tracker to keep
track of functionality broken by that release and any fixes that need to be
2020-04-22 19:07:51 +05:30
included in a patch release (see
2020-06-23 00:09:42 +05:30
[8.3 Regressions ](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/4127 ) as an example).
2018-11-20 20:47:30 +05:30
As outlined in the issue description, the intended workflow is to post one note
with a reference to an issue describing the regression, and then to update that
note with a reference to the merge request that fixes it as it becomes available.
If you're a contributor who doesn't have the required permissions to update
other users' notes, please post a new note with a reference to both the issue
and the merge request.
2020-04-22 19:07:51 +05:30
The release manager will
[update the notes ](https://gitlab.com/gitlab-org/release-tools/blob/master/doc/pro-tips.md#update-the-regression-issue )
in the regression issue as fixes are addressed.
2018-11-20 20:47:30 +05:30
2018-12-05 23:21:45 +05:30
## Technical and UX debt
2018-11-20 20:47:30 +05:30
2021-02-22 17:27:13 +05:30
In order to track things that can be improved in the GitLab codebase,
we use the ~"technical debt" label in the [GitLab issue tracker ](https://gitlab.com/gitlab-org/gitlab/-/issues ).
2021-04-29 21:17:54 +05:30
We use the ~"UX debt" label when we choose to deviate from the MVC, in a way that harms the user experience.
2018-11-20 20:47:30 +05:30
These labels should be added to issues that describe things that can be improved,
shortcuts that have been taken, features that need additional attention, and all
other things that have been left behind due to high velocity of development.
For example, code that needs refactoring should use the ~"technical debt" label,
2019-07-31 22:56:46 +05:30
something that didn't ship according to our Design System guidelines should
use the ~"UX debt" label.
2018-11-20 20:47:30 +05:30
Everyone can create an issue, though you may need to ask for adding a specific
label, if you do not have permissions to do it by yourself. Additional labels
can be combined with these labels, to make it easier to schedule
the improvements for a release.
Issues tagged with these labels have the same priority like issues
that describe a new feature to be introduced in GitLab, and should be scheduled
for a release by the appropriate person.
Make sure to mention the merge request that the ~"technical debt" issue or
~"UX debt" issue is associated with in the description of the issue.
2018-12-13 13:39:08 +05:30
## Technical debt in follow-up issues
It's common to discover technical debt during development of a new feature. In
the spirit of "minimum viable change", resolution is often deferred to a
follow-up issue. However, this cannot be used as an excuse to merge poor-quality
code that would otherwise not pass review, or to overlook trivial matters that
2020-04-22 19:07:51 +05:30
don't deserve to be scheduled independently, and would be best resolved in the
2018-12-13 13:39:08 +05:30
original merge request - or not tracked at all!
The overheads of scheduling, and rate of change in the GitLab codebase, mean
that the cost of a trivial technical debt issue can quickly exceed the value of
tracking it. This generally means we should resolve these in the original merge
request - or simply not create a follow-up issue at all.
For example, a typo in a comment that is being copied between files is worth
fixing in the same MR, but not worth creating a follow-up issue for. Renaming a
method that is used in many places to make its intent slightly clearer may be
worth fixing, but it should not happen in the same MR, and is generally not
worth the overhead of having an issue of its own. These issues would invariably
2020-05-24 23:13:21 +05:30
be labeled `~P4 ~S4` if we were to create them.
2018-12-13 13:39:08 +05:30
More severe technical debt can have implications for development velocity. If
it isn't addressed in a timely manner, the codebase becomes needlessly difficult
to change, new features become difficult to add, and regressions abound.
Discoveries of this kind of technical debt should be treated seriously, and
while resolution in a follow-up issue may be appropriate, maintainers should
generally obtain a scheduling commitment from the author of the original MR, or
the engineering or product manager for the relevant area. This may take the form
of appropriate Priority / Severity labels on the issue, or an explicit milestone
and assignee.
The maintainer must always agree before an outstanding discussion is resolved in
this manner, and will be the one to create the issue. The title and description
should be of the same quality as those created
[in the usual manner ](#technical-and-ux-debt ) - in particular, the issue title
**must not** begin with `Follow-up` ! The creating maintainer should also expect
to be involved in some capacity when work begins on the follow-up issue.
2018-11-20 20:47:30 +05:30
---
[Return to Contributing documentation ](index.md )