{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/digitalocean/go-workers2/pulls/6","id":223744597,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNzQ0NTk3","html_url":"https://github.com/digitalocean/go-workers2/pull/6","diff_url":"https://github.com/digitalocean/go-workers2/pull/6.diff","patch_url":"https://github.com/digitalocean/go-workers2/pull/6.patch","issue_url":"https://api.github.com/repos/digitalocean/go-workers2/issues/6","number":6,"state":"closed","locked":false,"title":"Use return errors as primary method of conveying job failure","user":{"login":"stefannegrea","id":3912943,"node_id":"MDQ6VXNlcjM5MTI5NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/3912943?v=4","gravatar_id":"","url":"https://api.github.com/users/stefannegrea","html_url":"https://github.com/stefannegrea","followers_url":"https://api.github.com/users/stefannegrea/followers","following_url":"https://api.github.com/users/stefannegrea/following{/other_user}","gists_url":"https://api.github.com/users/stefannegrea/gists{/gist_id}","starred_url":"https://api.github.com/users/stefannegrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefannegrea/subscriptions","organizations_url":"https://api.github.com/users/stefannegrea/orgs","repos_url":"https://api.github.com/users/stefannegrea/repos","events_url":"https://api.github.com/users/stefannegrea/events{/privacy}","received_events_url":"https://api.github.com/users/stefannegrea/received_events","type":"User","site_admin":false},"body":"Update job processing to use return errors as primary method of conveying failure.\r\n\r\nThe existing behavior of panic & recover is in unchanged. Rather than use panic & recover exclusively also allow return errors.","created_at":"2018-10-17T20:34:15Z","updated_at":"2018-10-19T16:54:54Z","closed_at":"2018-10-19T16:54:54Z","merged_at":"2018-10-19T16:54:54Z","merge_commit_sha":"7b3814a58622b2450716c946c642bc77e03a903a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/digitalocean/go-workers2/pulls/6/commits","review_comments_url":"https://api.github.com/repos/digitalocean/go-workers2/pulls/6/comments","review_comment_url":"https://api.github.com/repos/digitalocean/go-workers2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/digitalocean/go-workers2/issues/6/comments","statuses_url":"https://api.github.com/repos/digitalocean/go-workers2/statuses/b718997c7bdf34bc6d7ed5b087711ce75bc5158d","head":{"label":"digitalocean:add_job_return","ref":"add_job_return","sha":"b718997c7bdf34bc6d7ed5b087711ce75bc5158d","user":{"login":"digitalocean","id":4650108,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NTAxMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4650108?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"repo":{"id":153502633,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM1MDI2MzM=","name":"go-workers2","full_name":"digitalocean/go-workers2","private":false,"owner":{"login":"digitalocean","id":4650108,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NTAxMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4650108?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/digitalocean/go-workers2","description":null,"fork":false,"url":"https://api.github.com/repos/digitalocean/go-workers2","forks_url":"https://api.github.com/repos/digitalocean/go-workers2/forks","keys_url":"https://api.github.com/repos/digitalocean/go-workers2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalocean/go-workers2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalocean/go-workers2/teams","hooks_url":"https://api.github.com/repos/digitalocean/go-workers2/hooks","issue_events_url":"https://api.github.com/repos/digitalocean/go-workers2/issues/events{/number}","events_url":"https://api.github.com/repos/digitalocean/go-workers2/events","assignees_url":"https://api.github.com/repos/digitalocean/go-workers2/assignees{/user}","branches_url":"https://api.github.com/repos/digitalocean/go-workers2/branches{/branch}","tags_url":"https://api.github.com/repos/digitalocean/go-workers2/tags","blobs_url":"https://api.github.com/repos/digitalocean/go-workers2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalocean/go-workers2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalocean/go-workers2/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalocean/go-workers2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalocean/go-workers2/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalocean/go-workers2/languages","stargazers_url":"https://api.github.com/repos/digitalocean/go-workers2/stargazers","contributors_url":"https://api.github.com/repos/digitalocean/go-workers2/contributors","subscribers_url":"https://api.github.com/repos/digitalocean/go-workers2/subscribers","subscription_url":"https://api.github.com/repos/digitalocean/go-workers2/subscription","commits_url":"https://api.github.com/repos/digitalocean/go-workers2/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalocean/go-workers2/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalocean/go-workers2/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalocean/go-workers2/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalocean/go-workers2/contents/{+path}","compare_url":"https://api.github.com/repos/digitalocean/go-workers2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalocean/go-workers2/merges","archive_url":"https://api.github.com/repos/digitalocean/go-workers2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalocean/go-workers2/downloads","issues_url":"https://api.github.com/repos/digitalocean/go-workers2/issues{/number}","pulls_url":"https://api.github.com/repos/digitalocean/go-workers2/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalocean/go-workers2/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalocean/go-workers2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalocean/go-workers2/labels{/name}","releases_url":"https://api.github.com/repos/digitalocean/go-workers2/releases{/id}","deployments_url":"https://api.github.com/repos/digitalocean/go-workers2/deployments","created_at":"2018-10-17T18:11:41Z","updated_at":"2018-10-18T19:28:20Z","pushed_at":"2018-10-19T16:54:54Z","git_url":"git://github.com/digitalocean/go-workers2.git","ssh_url":"git@github.com:digitalocean/go-workers2.git","clone_url":"https://github.com/digitalocean/go-workers2.git","svn_url":"https://github.com/digitalocean/go-workers2","homepage":null,"size":153,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"digitalocean:master","ref":"master","sha":"492debe4686fa2e4b0f2480214fd9a6af61228f6","user":{"login":"digitalocean","id":4650108,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NTAxMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4650108?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"repo":{"id":153502633,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM1MDI2MzM=","name":"go-workers2","full_name":"digitalocean/go-workers2","private":false,"owner":{"login":"digitalocean","id":4650108,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NTAxMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4650108?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/digitalocean/go-workers2","description":null,"fork":false,"url":"https://api.github.com/repos/digitalocean/go-workers2","forks_url":"https://api.github.com/repos/digitalocean/go-workers2/forks","keys_url":"https://api.github.com/repos/digitalocean/go-workers2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalocean/go-workers2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalocean/go-workers2/teams","hooks_url":"https://api.github.com/repos/digitalocean/go-workers2/hooks","issue_events_url":"https://api.github.com/repos/digitalocean/go-workers2/issues/events{/number}","events_url":"https://api.github.com/repos/digitalocean/go-workers2/events","assignees_url":"https://api.github.com/repos/digitalocean/go-workers2/assignees{/user}","branches_url":"https://api.github.com/repos/digitalocean/go-workers2/branches{/branch}","tags_url":"https://api.github.com/repos/digitalocean/go-workers2/tags","blobs_url":"https://api.github.com/repos/digitalocean/go-workers2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalocean/go-workers2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalocean/go-workers2/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalocean/go-workers2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalocean/go-workers2/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalocean/go-workers2/languages","stargazers_url":"https://api.github.com/repos/digitalocean/go-workers2/stargazers","contributors_url":"https://api.github.com/repos/digitalocean/go-workers2/contributors","subscribers_url":"https://api.github.com/repos/digitalocean/go-workers2/subscribers","subscription_url":"https://api.github.com/repos/digitalocean/go-workers2/subscription","commits_url":"https://api.github.com/repos/digitalocean/go-workers2/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalocean/go-workers2/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalocean/go-workers2/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalocean/go-workers2/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalocean/go-workers2/contents/{+path}","compare_url":"https://api.github.com/repos/digitalocean/go-workers2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalocean/go-workers2/merges","archive_url":"https://api.github.com/repos/digitalocean/go-workers2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalocean/go-workers2/downloads","issues_url":"https://api.github.com/repos/digitalocean/go-workers2/issues{/number}","pulls_url":"https://api.github.com/repos/digitalocean/go-workers2/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalocean/go-workers2/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalocean/go-workers2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalocean/go-workers2/labels{/name}","releases_url":"https://api.github.com/repos/digitalocean/go-workers2/releases{/id}","deployments_url":"https://api.github.com/repos/digitalocean/go-workers2/deployments","created_at":"2018-10-17T18:11:41Z","updated_at":"2018-10-18T19:28:20Z","pushed_at":"2018-10-19T16:54:54Z","git_url":"git://github.com/digitalocean/go-workers2.git","ssh_url":"git@github.com:digitalocean/go-workers2.git","clone_url":"https://github.com/digitalocean/go-workers2.git","svn_url":"https://github.com/digitalocean/go-workers2","homepage":null,"size":153,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/digitalocean/go-workers2/pulls/6"},"html":{"href":"https://github.com/digitalocean/go-workers2/pull/6"},"issue":{"href":"https://api.github.com/repos/digitalocean/go-workers2/issues/6"},"comments":{"href":"https://api.github.com/repos/digitalocean/go-workers2/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/digitalocean/go-workers2/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/digitalocean/go-workers2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/digitalocean/go-workers2/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/digitalocean/go-workers2/statuses/b718997c7bdf34bc6d7ed5b087711ce75bc5158d"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"stefannegrea","id":3912943,"node_id":"MDQ6VXNlcjM5MTI5NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/3912943?v=4","gravatar_id":"","url":"https://api.github.com/users/stefannegrea","html_url":"https://github.com/stefannegrea","followers_url":"https://api.github.com/users/stefannegrea/followers","following_url":"https://api.github.com/users/stefannegrea/following{/other_user}","gists_url":"https://api.github.com/users/stefannegrea/gists{/gist_id}","starred_url":"https://api.github.com/users/stefannegrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefannegrea/subscriptions","organizations_url":"https://api.github.com/users/stefannegrea/orgs","repos_url":"https://api.github.com/users/stefannegrea/repos","events_url":"https://api.github.com/users/stefannegrea/events{/privacy}","received_events_url":"https://api.github.com/users/stefannegrea/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"maintainer_can_modify":false,"commits":1,"additions":203,"deletions":106,"changed_files":14}}
{"actor":{"display_login":"stefannegrea"}}