Stale Work Policy
The three views
Each view lists the least recently touched work first, so the idle work is at the top. Read it against the threshold beside it. GitLab can restore a list’s last-used sort over the link’s; if a list does not open least recently updated first, choose that sort on the page.
| Surface | Idle past | View |
|---|---|---|
Open issue |
30 days with no activity |
|
Draft MR |
14 days with no activity |
|
Branch |
3 months with no commit |
Stale branches (GitLab’s own page; its cutoff is GitLab’s fixed three months) |
Nothing runs on a schedule and nothing labels or comments automatically. The ~stale label stays, for a person to
apply to an issue or draft MR they found idle; the label is a marker, not a verdict.
Acting on idle work
-
Keep going: push a commit or comment with the status, and remove
~staleif it carries it. -
Pause it: comment why it is paused and what would unpause it. The comment is the record.
-
Drop it: close the issue or MR, with the reason in the closing comment so no one re-litigates it.
Why the thresholds
-
Issues, 30 days: long enough to absorb a sprint without false positives, short enough that a forgotten issue surfaces before it is invisible.
-
Draft MRs, 14 days: a draft is work in flight; two weeks without a push usually means the author has moved on or hit a blocker.
-
Branches, three months: a branch can outlive its MR (cleanup gaps, experiments). GitLab’s stale-branch page uses three months, which is generous enough that such a branch has served its purpose.
Why nothing closes or deletes automatically
-
Closing discards context. An idle issue with a thread of comments is a candidate for re-prioritization, not for the trash, and closing it does not solve the gap it names.
-
An idle branch may be paused long-running work, a branch someone is mid-rebase on, or one kept as evidence for a revert. The maintainer decides per branch; GitLab’s branch page deletes in bulk, and skips
mainand protected branches.