homu icon indicating copy to clipboard operation
homu copied to clipboard

Add riskiness label when creating rollups

Open rylev opened this issue 4 years ago • 0 comments

This change adds a riskiness label when creating rollups that uses the number of PRs and their rollup statuses to estimate riskiness. The current formula being used is (riskinessPoints + max(numPrs - 8, 0)) / 8 where riskinessPoints is the sum of all PRs where rollup=iffy equals 2 points, rollup=maybe equals 1 point and rollup=always equals 0 points.

Screenshot 2021-03-03 142953

Possible future improvements include:

  • Asking for confirmation on rollups that are deemed very risky.
  • Providing riskiness statistics in the actual rollup PR
  • Tracking the merge success rate of risky rollups

rylev avatar Mar 03 '21 13:03 rylev