{"action":"created","comment":{"url":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/comments/82397678","pull_request_review_id":3309671,"id":82397678,"diff_hunk":"@@ -47,6 +47,7 @@ class Webhook extends EventEmitter {\n \t\t\t\tqueue_id: undefined,\n \t\t\t\tphase: phase,\n \t\t\t\tstatus: status,\n+\t\t\t\treason: reason,","path":"src/lib/webhook.js","position":13,"original_position":13,"commit_id":"e576e424142afb5ebdaa6d8f921fb17ac44c3a2b","original_commit_id":"e576e424142afb5ebdaa6d8f921fb17ac44c3a2b","user":{"login":"brianhall","id":18444,"avatar_url":"https://avatars.githubusercontent.com/u/18444?v=3","gravatar_id":"","url":"https://api.github.com/users/brianhall","html_url":"https://github.com/brianhall","followers_url":"https://api.github.com/users/brianhall/followers","following_url":"https://api.github.com/users/brianhall/following{/other_user}","gists_url":"https://api.github.com/users/brianhall/gists{/gist_id}","starred_url":"https://api.github.com/users/brianhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianhall/subscriptions","organizations_url":"https://api.github.com/users/brianhall/orgs","repos_url":"https://api.github.com/users/brianhall/repos","events_url":"https://api.github.com/users/brianhall/events{/privacy}","received_events_url":"https://api.github.com/users/brianhall/received_events","type":"User","site_admin":false},"body":"Should we add this conditionally? Like, only add a reason if status is a `FAILURE`? Seems weird to have reason there if it's not an error.","created_at":"2016-10-07T14:17:51Z","updated_at":"2016-10-07T14:17:51Z","html_url":"https://github.com/InVisionApp/kit-deployer/pull/28#discussion_r82397678","pull_request_url":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/comments/82397678"},"html":{"href":"https://github.com/InVisionApp/kit-deployer/pull/28#discussion_r82397678"},"pull_request":{"href":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/28","id":87372161,"html_url":"https://github.com/InVisionApp/kit-deployer/pull/28","diff_url":"https://github.com/InVisionApp/kit-deployer/pull/28.diff","patch_url":"https://github.com/InVisionApp/kit-deployer/pull/28.patch","issue_url":"https://api.github.com/repos/InVisionApp/kit-deployer/issues/28","number":28,"state":"open","locked":false,"title":"feat: distinguish timeout errors from all other errors and pass this in the webhook payload.","user":{"login":"brianhall","id":18444,"avatar_url":"https://avatars.githubusercontent.com/u/18444?v=3","gravatar_id":"","url":"https://api.github.com/users/brianhall","html_url":"https://github.com/brianhall","followers_url":"https://api.github.com/users/brianhall/followers","following_url":"https://api.github.com/users/brianhall/following{/other_user}","gists_url":"https://api.github.com/users/brianhall/gists{/gist_id}","starred_url":"https://api.github.com/users/brianhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianhall/subscriptions","organizations_url":"https://api.github.com/users/brianhall/orgs","repos_url":"https://api.github.com/users/brianhall/repos","events_url":"https://api.github.com/users/brianhall/events{/privacy}","received_events_url":"https://api.github.com/users/brianhall/received_events","type":"User","site_admin":false},"body":"## What\r\nAdds a custom `TimeoutError` type, which fires when the timing out waiting for the manifests. This status is passed on in the body of the webhook payload as `reason: timeout/other`.\r\n\r\n## Testing\r\n* `npm run test-unit`\r\n* `./test-functional`","created_at":"2016-09-29T18:54:43Z","updated_at":"2016-10-07T14:18:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6834d7024f0daab81f5d499e1acb1b8eb3d3913d","assignee":{"login":"chesleybrown","id":492166,"avatar_url":"https://avatars.githubusercontent.com/u/492166?v=3","gravatar_id":"","url":"https://api.github.com/users/chesleybrown","html_url":"https://github.com/chesleybrown","followers_url":"https://api.github.com/users/chesleybrown/followers","following_url":"https://api.github.com/users/chesleybrown/following{/other_user}","gists_url":"https://api.github.com/users/chesleybrown/gists{/gist_id}","starred_url":"https://api.github.com/users/chesleybrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chesleybrown/subscriptions","organizations_url":"https://api.github.com/users/chesleybrown/orgs","repos_url":"https://api.github.com/users/chesleybrown/repos","events_url":"https://api.github.com/users/chesleybrown/events{/privacy}","received_events_url":"https://api.github.com/users/chesleybrown/received_events","type":"User","site_admin":false},"assignees":[{"login":"chesleybrown","id":492166,"avatar_url":"https://avatars.githubusercontent.com/u/492166?v=3","gravatar_id":"","url":"https://api.github.com/users/chesleybrown","html_url":"https://github.com/chesleybrown","followers_url":"https://api.github.com/users/chesleybrown/followers","following_url":"https://api.github.com/users/chesleybrown/following{/other_user}","gists_url":"https://api.github.com/users/chesleybrown/gists{/gist_id}","starred_url":"https://api.github.com/users/chesleybrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chesleybrown/subscriptions","organizations_url":"https://api.github.com/users/chesleybrown/orgs","repos_url":"https://api.github.com/users/chesleybrown/repos","events_url":"https://api.github.com/users/chesleybrown/events{/privacy}","received_events_url":"https://api.github.com/users/chesleybrown/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/28/commits","review_comments_url":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/28/comments","review_comment_url":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/InVisionApp/kit-deployer/issues/28/comments","statuses_url":"https://api.github.com/repos/InVisionApp/kit-deployer/statuses/e576e424142afb5ebdaa6d8f921fb17ac44c3a2b","head":{"label":"InVisionApp:EV-192","ref":"EV-192","sha":"e576e424142afb5ebdaa6d8f921fb17ac44c3a2b","user":{"login":"InVisionApp","id":1536893,"avatar_url":"https://avatars.githubusercontent.com/u/1536893?v=3","gravatar_id":"","url":"https://api.github.com/users/InVisionApp","html_url":"https://github.com/InVisionApp","followers_url":"https://api.github.com/users/InVisionApp/followers","following_url":"https://api.github.com/users/InVisionApp/following{/other_user}","gists_url":"https://api.github.com/users/InVisionApp/gists{/gist_id}","starred_url":"https://api.github.com/users/InVisionApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InVisionApp/subscriptions","organizations_url":"https://api.github.com/users/InVisionApp/orgs","repos_url":"https://api.github.com/users/InVisionApp/repos","events_url":"https://api.github.com/users/InVisionApp/events{/privacy}","received_events_url":"https://api.github.com/users/InVisionApp/received_events","type":"Organization","site_admin":false},"repo":{"id":60726566,"name":"kit-deployer","full_name":"InVisionApp/kit-deployer","owner":{"login":"InVisionApp","id":1536893,"avatar_url":"https://avatars.githubusercontent.com/u/1536893?v=3","gravatar_id":"","url":"https://api.github.com/users/InVisionApp","html_url":"https://github.com/InVisionApp","followers_url":"https://api.github.com/users/InVisionApp/followers","following_url":"https://api.github.com/users/InVisionApp/following{/other_user}","gists_url":"https://api.github.com/users/InVisionApp/gists{/gist_id}","starred_url":"https://api.github.com/users/InVisionApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InVisionApp/subscriptions","organizations_url":"https://api.github.com/users/InVisionApp/orgs","repos_url":"https://api.github.com/users/InVisionApp/repos","events_url":"https://api.github.com/users/InVisionApp/events{/privacy}","received_events_url":"https://api.github.com/users/InVisionApp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InVisionApp/kit-deployer","description":"kit component used for deploying manifests to multiple Kubernetes clusters","fork":false,"url":"https://api.github.com/repos/InVisionApp/kit-deployer","forks_url":"https://api.github.com/repos/InVisionApp/kit-deployer/forks","keys_url":"https://api.github.com/repos/InVisionApp/kit-deployer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InVisionApp/kit-deployer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InVisionApp/kit-deployer/teams","hooks_url":"https://api.github.com/repos/InVisionApp/kit-deployer/hooks","issue_events_url":"https://api.github.com/repos/InVisionApp/kit-deployer/issues/events{/number}","events_url":"https://api.github.com/repos/InVisionApp/kit-deployer/events","assignees_url":"https://api.github.com/repos/InVisionApp/kit-deployer/assignees{/user}","branches_url":"https://api.github.com/repos/InVisionApp/kit-deployer/branches{/branch}","tags_url":"https://api.github.com/repos/InVisionApp/kit-deployer/tags","blobs_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/refs{/sha}","trees_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InVisionApp/kit-deployer/statuses/{sha}","languages_url":"https://api.github.com/repos/InVisionApp/kit-deployer/languages","stargazers_url":"https://api.github.com/repos/InVisionApp/kit-deployer/stargazers","contributors_url":"https://api.github.com/repos/InVisionApp/kit-deployer/contributors","subscribers_url":"https://api.github.com/repos/InVisionApp/kit-deployer/subscribers","subscription_url":"https://api.github.com/repos/InVisionApp/kit-deployer/subscription","commits_url":"https://api.github.com/repos/InVisionApp/kit-deployer/commits{/sha}","git_commits_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/commits{/sha}","comments_url":"https://api.github.com/repos/InVisionApp/kit-deployer/comments{/number}","issue_comment_url":"https://api.github.com/repos/InVisionApp/kit-deployer/issues/comments{/number}","contents_url":"https://api.github.com/repos/InVisionApp/kit-deployer/contents/{+path}","compare_url":"https://api.github.com/repos/InVisionApp/kit-deployer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InVisionApp/kit-deployer/merges","archive_url":"https://api.github.com/repos/InVisionApp/kit-deployer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InVisionApp/kit-deployer/downloads","issues_url":"https://api.github.com/repos/InVisionApp/kit-deployer/issues{/number}","pulls_url":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls{/number}","milestones_url":"https://api.github.com/repos/InVisionApp/kit-deployer/milestones{/number}","notifications_url":"https://api.github.com/repos/InVisionApp/kit-deployer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InVisionApp/kit-deployer/labels{/name}","releases_url":"https://api.github.com/repos/InVisionApp/kit-deployer/releases{/id}","deployments_url":"https://api.github.com/repos/InVisionApp/kit-deployer/deployments","created_at":"2016-06-08T19:55:44Z","updated_at":"2016-09-08T08:53:03Z","pushed_at":"2016-10-07T14:15:29Z","git_url":"git://github.com/InVisionApp/kit-deployer.git","ssh_url":"git@github.com:InVisionApp/kit-deployer.git","clone_url":"https://github.com/InVisionApp/kit-deployer.git","svn_url":"https://github.com/InVisionApp/kit-deployer","homepage":"","size":171,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":9,"default_branch":"master"}},"base":{"label":"InVisionApp:master","ref":"master","sha":"0a134041ff593c45c6051dfcadf0ad28205697d4","user":{"login":"InVisionApp","id":1536893,"avatar_url":"https://avatars.githubusercontent.com/u/1536893?v=3","gravatar_id":"","url":"https://api.github.com/users/InVisionApp","html_url":"https://github.com/InVisionApp","followers_url":"https://api.github.com/users/InVisionApp/followers","following_url":"https://api.github.com/users/InVisionApp/following{/other_user}","gists_url":"https://api.github.com/users/InVisionApp/gists{/gist_id}","starred_url":"https://api.github.com/users/InVisionApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InVisionApp/subscriptions","organizations_url":"https://api.github.com/users/InVisionApp/orgs","repos_url":"https://api.github.com/users/InVisionApp/repos","events_url":"https://api.github.com/users/InVisionApp/events{/privacy}","received_events_url":"https://api.github.com/users/InVisionApp/received_events","type":"Organization","site_admin":false},"repo":{"id":60726566,"name":"kit-deployer","full_name":"InVisionApp/kit-deployer","owner":{"login":"InVisionApp","id":1536893,"avatar_url":"https://avatars.githubusercontent.com/u/1536893?v=3","gravatar_id":"","url":"https://api.github.com/users/InVisionApp","html_url":"https://github.com/InVisionApp","followers_url":"https://api.github.com/users/InVisionApp/followers","following_url":"https://api.github.com/users/InVisionApp/following{/other_user}","gists_url":"https://api.github.com/users/InVisionApp/gists{/gist_id}","starred_url":"https://api.github.com/users/InVisionApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InVisionApp/subscriptions","organizations_url":"https://api.github.com/users/InVisionApp/orgs","repos_url":"https://api.github.com/users/InVisionApp/repos","events_url":"https://api.github.com/users/InVisionApp/events{/privacy}","received_events_url":"https://api.github.com/users/InVisionApp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InVisionApp/kit-deployer","description":"kit component used for deploying manifests to multiple Kubernetes clusters","fork":false,"url":"https://api.github.com/repos/InVisionApp/kit-deployer","forks_url":"https://api.github.com/repos/InVisionApp/kit-deployer/forks","keys_url":"https://api.github.com/repos/InVisionApp/kit-deployer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InVisionApp/kit-deployer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InVisionApp/kit-deployer/teams","hooks_url":"https://api.github.com/repos/InVisionApp/kit-deployer/hooks","issue_events_url":"https://api.github.com/repos/InVisionApp/kit-deployer/issues/events{/number}","events_url":"https://api.github.com/repos/InVisionApp/kit-deployer/events","assignees_url":"https://api.github.com/repos/InVisionApp/kit-deployer/assignees{/user}","branches_url":"https://api.github.com/repos/InVisionApp/kit-deployer/branches{/branch}","tags_url":"https://api.github.com/repos/InVisionApp/kit-deployer/tags","blobs_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/refs{/sha}","trees_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InVisionApp/kit-deployer/statuses/{sha}","languages_url":"https://api.github.com/repos/InVisionApp/kit-deployer/languages","stargazers_url":"https://api.github.com/repos/InVisionApp/kit-deployer/stargazers","contributors_url":"https://api.github.com/repos/InVisionApp/kit-deployer/contributors","subscribers_url":"https://api.github.com/repos/InVisionApp/kit-deployer/subscribers","subscription_url":"https://api.github.com/repos/InVisionApp/kit-deployer/subscription","commits_url":"https://api.github.com/repos/InVisionApp/kit-deployer/commits{/sha}","git_commits_url":"https://api.github.com/repos/InVisionApp/kit-deployer/git/commits{/sha}","comments_url":"https://api.github.com/repos/InVisionApp/kit-deployer/comments{/number}","issue_comment_url":"https://api.github.com/repos/InVisionApp/kit-deployer/issues/comments{/number}","contents_url":"https://api.github.com/repos/InVisionApp/kit-deployer/contents/{+path}","compare_url":"https://api.github.com/repos/InVisionApp/kit-deployer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InVisionApp/kit-deployer/merges","archive_url":"https://api.github.com/repos/InVisionApp/kit-deployer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InVisionApp/kit-deployer/downloads","issues_url":"https://api.github.com/repos/InVisionApp/kit-deployer/issues{/number}","pulls_url":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls{/number}","milestones_url":"https://api.github.com/repos/InVisionApp/kit-deployer/milestones{/number}","notifications_url":"https://api.github.com/repos/InVisionApp/kit-deployer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InVisionApp/kit-deployer/labels{/name}","releases_url":"https://api.github.com/repos/InVisionApp/kit-deployer/releases{/id}","deployments_url":"https://api.github.com/repos/InVisionApp/kit-deployer/deployments","created_at":"2016-06-08T19:55:44Z","updated_at":"2016-09-08T08:53:03Z","pushed_at":"2016-10-07T14:15:29Z","git_url":"git://github.com/InVisionApp/kit-deployer.git","ssh_url":"git@github.com:InVisionApp/kit-deployer.git","clone_url":"https://github.com/InVisionApp/kit-deployer.git","svn_url":"https://github.com/InVisionApp/kit-deployer","homepage":"","size":171,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/28"},"html":{"href":"https://github.com/InVisionApp/kit-deployer/pull/28"},"issue":{"href":"https://api.github.com/repos/InVisionApp/kit-deployer/issues/28"},"comments":{"href":"https://api.github.com/repos/InVisionApp/kit-deployer/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/InVisionApp/kit-deployer/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/InVisionApp/kit-deployer/statuses/e576e424142afb5ebdaa6d8f921fb17ac44c3a2b"}}}}
{"actor":{"display_login":"brianhall"}}