Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Periodically try to complete the lifecycle hook if we are Pending (#31)
Thanks to now using the AMI, the instance can come up a lot quicker than previously, meaning it is possible the supervisor might start up when the instance state is still "Pending", which results in the complete_lifecycle_action call failing. Rather than blocking the actions.runner service from starting (and not running jobs) we continue, and check later if we are still pending, and try to complete the lifecycle action again.
- Loading branch information
Showing 1 changed file with 32 additions and 41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters