When a pull request is left open for a long time, it becomes stale and accumulates merge debt. The longer it remains open, the more changes occur on the main branch, increasing the work needed to update and merge the PR. This can lead to conflicts, bugs, and unhappy developers.
Merge debt can be avoided by:
❌ Figure: Bad example - Draft PRs left open for months pile up merge debt, and the oldest one already has conflicts
Tip: SSW Dory emails the people responsible when a PR stays open too long.
Note: SSW Dory only supports GitHub pull requests.
TODO: Add Azure DevOps support to SSW Dory.
If you are in a team (i.e. an internal contributor) it is the PR author's responsibility to get the PR reviewed and merged ASAP.
Tip: For internal contributors, it's a good idea to have a call with the PR reviewers.
Note: If you are a PR author and you don't have merge permissions, add a comment to the description, so Repo maintainers can action.
If you are not part of the team (i.e. an outside contributor), reviewing and merging the PR is the responsibility of the Repo maintainers. Actioning the feedback is still the responsibility of the PR author.
Tip: For outside contributors, it's a good idea to chase the reviewers by reaching out with a comment on GitHub, or through the repo's community (e.g. Discord channels).
Note: Remember that before declaring a task 'Done' with a link, your changes should be live for verification.