ManageIQ/miq_bot
View on GitHubTravis stalled build detector should restart a stalled build at most 3 times on the same pull request
Open
#82 opened on Jun 25, 2015
bughelp wantedpinned
Repository metrics
- Stars
- (16 stars)
- PR merge metrics
- (PR metrics pending)
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: <stalled_finished_job /> 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.