Travis stalled build detector should restart a stalled build at most 3 times on the same pull request
- Dominant language
- Ruby
- Stars
- 16
- Forks
- 39
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
From: https://github.com/ManageIQ/manageiq/pull/3258

Since we don't delete old comments on the pull request (by design), we could check to see how many comments on the PR begin with the tag: `` and skip the PR entirely if there are already 3 comments.
It's easy to test this by creating a PR with a test that does `sleep 60 * 15`, it should stall after ten minutes, get restarted, etc. 3 times.
Contributor guide
Research direction
Trace the Travis stalled-build detector in the bot code and review the behavior described from ManageIQ pull request #3258. Use a pull request test that sleeps for 15 minutes to exercise the detector; done means a pull request is restarted at most three times and later stalled comments do not trigger another restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100