Closed rudymatela closed 2 years ago
@alex-mckenna Since I am sort of restoring my previous changes now, I took the traversePullRequests
function and your implementation of handleBuildStatusChanged
from your (now-orphan) commit. This won't be merged soon, as I still need to fix the bug I caused.
@fatho You have previously reviewed #131, which was the PR that had the bug and was reverted. This PR re-adds the same functionality, so part of the code is the same as in the previous PR. I think it makes sense for you to review again in this case.
The end result is quite different in some parts, and the code of this new version is IMHO more elegant than the one of #131.
@fatho Thanks for the review. I will merge this into master now and tag it so that I can have this ready for deploy at an appropriate time this week.
@OpsBotPrime merge
Pull request approved for merge by @rudymatela, rebasing now.
Rebased as 1bd9c99f4f1a0fb08ee00546b4c5958d850857a0, waiting for CI …
Fixes: #131
This reapplies the changes of #131 starting from a version where tests assure that Hoff is not stuck in an infinite comment loop. The summary of #131 still holds:
TODO
BuildFailed
are not candidatesneedsFeedback
onhandleBuildStatusChanged