{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/yeldarby/cap-ec2/pulls/1","id":227419777,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NDE5Nzc3","html_url":"https://github.com/yeldarby/cap-ec2/pull/1","diff_url":"https://github.com/yeldarby/cap-ec2/pull/1.diff","patch_url":"https://github.com/yeldarby/cap-ec2/pull/1.patch","issue_url":"https://api.github.com/repos/yeldarby/cap-ec2/issues/1","number":1,"state":"open","locked":false,"title":"Allow deploys to servers while initialization is occurring","user":{"login":"yeldarby","id":870796,"node_id":"MDQ6VXNlcjg3MDc5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/870796?v=4","gravatar_id":"","url":"https://api.github.com/users/yeldarby","html_url":"https://github.com/yeldarby","followers_url":"https://api.github.com/users/yeldarby/followers","following_url":"https://api.github.com/users/yeldarby/following{/other_user}","gists_url":"https://api.github.com/users/yeldarby/gists{/gist_id}","starred_url":"https://api.github.com/users/yeldarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeldarby/subscriptions","organizations_url":"https://api.github.com/users/yeldarby/orgs","repos_url":"https://api.github.com/users/yeldarby/repos","events_url":"https://api.github.com/users/yeldarby/events{/privacy}","received_events_url":"https://api.github.com/users/yeldarby/received_events","type":"User","site_admin":false},"body":"We use `cap-ec2` in conjunction with `ec2` autoscaling. As mentioned in the `README`, it takes a while for just-launched instances to make it to the `OK` status. This change makes it so that deploys can happen while they are still in an `initializing` state.\r\n\r\nThe problem with turning off `filter_by_status_ok?` completely is that trying to deploy to instances while they are `terminating` can cause a Capistrano deploy to hang indefinitely while it waits for a ssh connection that will never come. When triggering a deploy due to an auto-scaling action, there is almost always a terminating instance and an initializing instance at the same time.","created_at":"2018-10-31T19:48:14Z","updated_at":"2018-10-31T19:48:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yeldarby/cap-ec2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/yeldarby/cap-ec2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/yeldarby/cap-ec2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yeldarby/cap-ec2/issues/1/comments","statuses_url":"https://api.github.com/repos/yeldarby/cap-ec2/statuses/b998e9d12412355e6b09db61245aab621f217bc2","head":{"label":"yeldarby:initializing-instance_status_ok","ref":"initializing-instance_status_ok","sha":"b998e9d12412355e6b09db61245aab621f217bc2","user":{"login":"yeldarby","id":870796,"node_id":"MDQ6VXNlcjg3MDc5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/870796?v=4","gravatar_id":"","url":"https://api.github.com/users/yeldarby","html_url":"https://github.com/yeldarby","followers_url":"https://api.github.com/users/yeldarby/followers","following_url":"https://api.github.com/users/yeldarby/following{/other_user}","gists_url":"https://api.github.com/users/yeldarby/gists{/gist_id}","starred_url":"https://api.github.com/users/yeldarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeldarby/subscriptions","organizations_url":"https://api.github.com/users/yeldarby/orgs","repos_url":"https://api.github.com/users/yeldarby/repos","events_url":"https://api.github.com/users/yeldarby/events{/privacy}","received_events_url":"https://api.github.com/users/yeldarby/received_events","type":"User","site_admin":false},"repo":{"id":155614105,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU2MTQxMDU=","name":"cap-ec2","full_name":"yeldarby/cap-ec2","private":false,"owner":{"login":"yeldarby","id":870796,"node_id":"MDQ6VXNlcjg3MDc5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/870796?v=4","gravatar_id":"","url":"https://api.github.com/users/yeldarby","html_url":"https://github.com/yeldarby","followers_url":"https://api.github.com/users/yeldarby/followers","following_url":"https://api.github.com/users/yeldarby/following{/other_user}","gists_url":"https://api.github.com/users/yeldarby/gists{/gist_id}","starred_url":"https://api.github.com/users/yeldarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeldarby/subscriptions","organizations_url":"https://api.github.com/users/yeldarby/orgs","repos_url":"https://api.github.com/users/yeldarby/repos","events_url":"https://api.github.com/users/yeldarby/events{/privacy}","received_events_url":"https://api.github.com/users/yeldarby/received_events","type":"User","site_admin":false},"html_url":"https://github.com/yeldarby/cap-ec2","description":"Capify-EC2 rewritten for Capistrano v3","fork":true,"url":"https://api.github.com/repos/yeldarby/cap-ec2","forks_url":"https://api.github.com/repos/yeldarby/cap-ec2/forks","keys_url":"https://api.github.com/repos/yeldarby/cap-ec2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yeldarby/cap-ec2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yeldarby/cap-ec2/teams","hooks_url":"https://api.github.com/repos/yeldarby/cap-ec2/hooks","issue_events_url":"https://api.github.com/repos/yeldarby/cap-ec2/issues/events{/number}","events_url":"https://api.github.com/repos/yeldarby/cap-ec2/events","assignees_url":"https://api.github.com/repos/yeldarby/cap-ec2/assignees{/user}","branches_url":"https://api.github.com/repos/yeldarby/cap-ec2/branches{/branch}","tags_url":"https://api.github.com/repos/yeldarby/cap-ec2/tags","blobs_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yeldarby/cap-ec2/statuses/{sha}","languages_url":"https://api.github.com/repos/yeldarby/cap-ec2/languages","stargazers_url":"https://api.github.com/repos/yeldarby/cap-ec2/stargazers","contributors_url":"https://api.github.com/repos/yeldarby/cap-ec2/contributors","subscribers_url":"https://api.github.com/repos/yeldarby/cap-ec2/subscribers","subscription_url":"https://api.github.com/repos/yeldarby/cap-ec2/subscription","commits_url":"https://api.github.com/repos/yeldarby/cap-ec2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yeldarby/cap-ec2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yeldarby/cap-ec2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yeldarby/cap-ec2/contents/{+path}","compare_url":"https://api.github.com/repos/yeldarby/cap-ec2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yeldarby/cap-ec2/merges","archive_url":"https://api.github.com/repos/yeldarby/cap-ec2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yeldarby/cap-ec2/downloads","issues_url":"https://api.github.com/repos/yeldarby/cap-ec2/issues{/number}","pulls_url":"https://api.github.com/repos/yeldarby/cap-ec2/pulls{/number}","milestones_url":"https://api.github.com/repos/yeldarby/cap-ec2/milestones{/number}","notifications_url":"https://api.github.com/repos/yeldarby/cap-ec2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yeldarby/cap-ec2/labels{/name}","releases_url":"https://api.github.com/repos/yeldarby/cap-ec2/releases{/id}","deployments_url":"https://api.github.com/repos/yeldarby/cap-ec2/deployments","created_at":"2018-10-31T19:43:02Z","updated_at":"2018-10-31T19:43:04Z","pushed_at":"2018-10-31T19:48:04Z","git_url":"git://github.com/yeldarby/cap-ec2.git","ssh_url":"git@github.com:yeldarby/cap-ec2.git","clone_url":"https://github.com/yeldarby/cap-ec2.git","svn_url":"https://github.com/yeldarby/cap-ec2","homepage":null,"size":85,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"yeldarby:master","ref":"master","sha":"8d394eb5a21098ebea2e0ee20117a194205d0d7f","user":{"login":"yeldarby","id":870796,"node_id":"MDQ6VXNlcjg3MDc5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/870796?v=4","gravatar_id":"","url":"https://api.github.com/users/yeldarby","html_url":"https://github.com/yeldarby","followers_url":"https://api.github.com/users/yeldarby/followers","following_url":"https://api.github.com/users/yeldarby/following{/other_user}","gists_url":"https://api.github.com/users/yeldarby/gists{/gist_id}","starred_url":"https://api.github.com/users/yeldarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeldarby/subscriptions","organizations_url":"https://api.github.com/users/yeldarby/orgs","repos_url":"https://api.github.com/users/yeldarby/repos","events_url":"https://api.github.com/users/yeldarby/events{/privacy}","received_events_url":"https://api.github.com/users/yeldarby/received_events","type":"User","site_admin":false},"repo":{"id":155614105,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU2MTQxMDU=","name":"cap-ec2","full_name":"yeldarby/cap-ec2","private":false,"owner":{"login":"yeldarby","id":870796,"node_id":"MDQ6VXNlcjg3MDc5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/870796?v=4","gravatar_id":"","url":"https://api.github.com/users/yeldarby","html_url":"https://github.com/yeldarby","followers_url":"https://api.github.com/users/yeldarby/followers","following_url":"https://api.github.com/users/yeldarby/following{/other_user}","gists_url":"https://api.github.com/users/yeldarby/gists{/gist_id}","starred_url":"https://api.github.com/users/yeldarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeldarby/subscriptions","organizations_url":"https://api.github.com/users/yeldarby/orgs","repos_url":"https://api.github.com/users/yeldarby/repos","events_url":"https://api.github.com/users/yeldarby/events{/privacy}","received_events_url":"https://api.github.com/users/yeldarby/received_events","type":"User","site_admin":false},"html_url":"https://github.com/yeldarby/cap-ec2","description":"Capify-EC2 rewritten for Capistrano v3","fork":true,"url":"https://api.github.com/repos/yeldarby/cap-ec2","forks_url":"https://api.github.com/repos/yeldarby/cap-ec2/forks","keys_url":"https://api.github.com/repos/yeldarby/cap-ec2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yeldarby/cap-ec2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yeldarby/cap-ec2/teams","hooks_url":"https://api.github.com/repos/yeldarby/cap-ec2/hooks","issue_events_url":"https://api.github.com/repos/yeldarby/cap-ec2/issues/events{/number}","events_url":"https://api.github.com/repos/yeldarby/cap-ec2/events","assignees_url":"https://api.github.com/repos/yeldarby/cap-ec2/assignees{/user}","branches_url":"https://api.github.com/repos/yeldarby/cap-ec2/branches{/branch}","tags_url":"https://api.github.com/repos/yeldarby/cap-ec2/tags","blobs_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yeldarby/cap-ec2/statuses/{sha}","languages_url":"https://api.github.com/repos/yeldarby/cap-ec2/languages","stargazers_url":"https://api.github.com/repos/yeldarby/cap-ec2/stargazers","contributors_url":"https://api.github.com/repos/yeldarby/cap-ec2/contributors","subscribers_url":"https://api.github.com/repos/yeldarby/cap-ec2/subscribers","subscription_url":"https://api.github.com/repos/yeldarby/cap-ec2/subscription","commits_url":"https://api.github.com/repos/yeldarby/cap-ec2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yeldarby/cap-ec2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yeldarby/cap-ec2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yeldarby/cap-ec2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yeldarby/cap-ec2/contents/{+path}","compare_url":"https://api.github.com/repos/yeldarby/cap-ec2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yeldarby/cap-ec2/merges","archive_url":"https://api.github.com/repos/yeldarby/cap-ec2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yeldarby/cap-ec2/downloads","issues_url":"https://api.github.com/repos/yeldarby/cap-ec2/issues{/number}","pulls_url":"https://api.github.com/repos/yeldarby/cap-ec2/pulls{/number}","milestones_url":"https://api.github.com/repos/yeldarby/cap-ec2/milestones{/number}","notifications_url":"https://api.github.com/repos/yeldarby/cap-ec2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yeldarby/cap-ec2/labels{/name}","releases_url":"https://api.github.com/repos/yeldarby/cap-ec2/releases{/id}","deployments_url":"https://api.github.com/repos/yeldarby/cap-ec2/deployments","created_at":"2018-10-31T19:43:02Z","updated_at":"2018-10-31T19:43:04Z","pushed_at":"2018-10-31T19:48:04Z","git_url":"git://github.com/yeldarby/cap-ec2.git","ssh_url":"git@github.com:yeldarby/cap-ec2.git","clone_url":"https://github.com/yeldarby/cap-ec2.git","svn_url":"https://github.com/yeldarby/cap-ec2","homepage":null,"size":85,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yeldarby/cap-ec2/pulls/1"},"html":{"href":"https://github.com/yeldarby/cap-ec2/pull/1"},"issue":{"href":"https://api.github.com/repos/yeldarby/cap-ec2/issues/1"},"comments":{"href":"https://api.github.com/repos/yeldarby/cap-ec2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/yeldarby/cap-ec2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/yeldarby/cap-ec2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yeldarby/cap-ec2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/yeldarby/cap-ec2/statuses/b998e9d12412355e6b09db61245aab621f217bc2"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"yeldarby"}}