Skip to content

Commit

Permalink
Add issue cleanup documentation and update automation (dotnet#69857)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriktsarpalis authored May 30, 2022
1 parent 9380113 commit 40f4538
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/fabricbot.json
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@
{
"name": "addReply",
"parameters": {
"comment": "Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.\n\nThis process is part of the experimental [issue cleanup initiative](https://github.com/dotnet/runtime/issues/60288) we are currently trialing. Please share any feedback you might have in the linked issue."
"comment": "Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.\n\nThis process is part of our [issue cleanup automation](https://github.com/dotnet/runtime/blob/main/docs/issue-cleanup.md)."
}
},
{
Expand Down Expand Up @@ -1422,16 +1422,16 @@
"taskName": "Automated Issue cleanup",
"actions": [
{
"name": "addLabel",
"name": "addReply",
"parameters": {
"label": "backlog-cleanup-candidate"
"comment": "Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.\n\nThis process is part of our [issue cleanup automation](https://github.com/dotnet/runtime/blob/main/docs/issue-cleanup.md)."
}
},
{
"name": "addReply",
"parameters": {
"comment": "Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.\n\nThis process is part of the experimental [issue cleanup initiative](https://github.com/dotnet/runtime/issues/60288) we are currently trialing. Please share any feedback you might have in the linked issue."
}
"name": "addLabel",
"parameters": {
"label": "backlog-cleanup-candidate"
}
},
{
"name": "addLabel",
Expand Down Expand Up @@ -2346,6 +2346,12 @@
"parameters": {
"label": "no-recent-activity"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "backlog-cleanup-candidate"
}
}
],
"eventType": "issue",
Expand Down Expand Up @@ -2401,6 +2407,12 @@
"parameters": {
"label": "no-recent-activity"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "backlog-cleanup-candidate"
}
}
],
"eventType": "issue",
Expand Down Expand Up @@ -18433,4 +18445,4 @@
}
}
}
]
]
7 changes: 7 additions & 0 deletions docs/issue-cleanup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Automated Issue Cleanup

dotnet/runtime is very popular repository, with tens of issues being filed by the community every day. While we generally do try to respond to and resolve issues as quickly as possible, it is still likely that some issues can be left to stagnate in the backlog. Currently, dotnet/runtime contains hundreds of issues that have not seen any activity in over three years.

In our attempt to create leaner and more focused backlogs, we have implemented automation that identifies stale issues and marks them for closure. This uses a two-phase process: stale issues are [given a notification](https://github.com/dotnet/runtime/issues/7780#issuecomment-1093721931) and marked with the [`backlog-cleanup-candidate`](https://github.com/dotnet/runtime/labels/backlog-cleanup-candidate) label; if this prompts any feedback [the process is undone](https://github.com/dotnet/runtime/issues/7780#event-6400706926), otherwise it gets [closed if no further activity occurs within 14 days](https://github.com/dotnet/runtime/issues/8050#issuecomment-1137995415).

This approach is intended to trigger re-evaluation of older issues both by maintainers and by the community: an issue could get reprioritized or it could be closed as already resolved or obsolete.

0 comments on commit 40f4538

Please sign in to comment.