{"action":"closed","number":408,"pull_request":{"url":"https://api.github.com/repos/alphagov/publisher/pulls/408","id":42911765,"html_url":"https://github.com/alphagov/publisher/pull/408","diff_url":"https://github.com/alphagov/publisher/pull/408.diff","patch_url":"https://github.com/alphagov/publisher/pull/408.patch","issue_url":"https://api.github.com/repos/alphagov/publisher/issues/408","number":408,"state":"closed","locked":false,"title":"Make Fact Check email fetching more robust","user":{"login":"boffbowsh","id":18276,"avatar_url":"https://avatars.githubusercontent.com/u/18276?v=3","gravatar_id":"","url":"https://api.github.com/users/boffbowsh","html_url":"https://github.com/boffbowsh","followers_url":"https://api.github.com/users/boffbowsh/followers","following_url":"https://api.github.com/users/boffbowsh/following{/other_user}","gists_url":"https://api.github.com/users/boffbowsh/gists{/gist_id}","starred_url":"https://api.github.com/users/boffbowsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boffbowsh/subscriptions","organizations_url":"https://api.github.com/users/boffbowsh/orgs","repos_url":"https://api.github.com/users/boffbowsh/repos","events_url":"https://api.github.com/users/boffbowsh/events{/privacy}","received_events_url":"https://api.github.com/users/boffbowsh/received_events","type":"User","site_admin":false},"body":"This is an attempt to make the fact check email fetcher more robust and\nmore transparent. It seems like errors extending the lock time in Redis\nmay be causing emails to not be processed correctly and exit the loop\nearly, so we now rescue from the after_message hook and report errors\nto Errbit.\n\nAlso added a few extra instances of Errbit logging in order to find\nother errors in production.\n\nRe: https://govuk.zendesk.com/agent/tickets/1121762","created_at":"2015-08-20T10:01:19Z","updated_at":"2015-08-20T10:37:55Z","closed_at":"2015-08-20T10:37:55Z","merged_at":"2015-08-20T10:37:55Z","merge_commit_sha":"c5475d7a2a47e9857053cc60ccaba42663f1ee71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/publisher/pulls/408/commits","review_comments_url":"https://api.github.com/repos/alphagov/publisher/pulls/408/comments","review_comment_url":"https://api.github.com/repos/alphagov/publisher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/publisher/issues/408/comments","statuses_url":"https://api.github.com/repos/alphagov/publisher/statuses/a6acc90174346b7892779a26453353d4620ffeb9","head":{"label":"alphagov:mail-fetcher-fixes","ref":"mail-fetcher-fixes","sha":"a6acc90174346b7892779a26453353d4620ffeb9","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":1996077,"name":"publisher","full_name":"alphagov/publisher","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/publisher","description":"The publishing tool for GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/publisher","forks_url":"https://api.github.com/repos/alphagov/publisher/forks","keys_url":"https://api.github.com/repos/alphagov/publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/publisher/events","assignees_url":"https://api.github.com/repos/alphagov/publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/publisher/merges","archive_url":"https://api.github.com/repos/alphagov/publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/publisher/releases{/id}","created_at":"2011-07-04T15:35:13Z","updated_at":"2015-07-11T23:25:39Z","pushed_at":"2015-08-20T10:37:55Z","git_url":"git://github.com/alphagov/publisher.git","ssh_url":"git@github.com:alphagov/publisher.git","clone_url":"https://github.com/alphagov/publisher.git","svn_url":"https://github.com/alphagov/publisher","homepage":"","size":11687,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":1,"forks":17,"open_issues":1,"watchers":21,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"59a3813f40c6d657374d08e45e56a64c5bb24e94","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":1996077,"name":"publisher","full_name":"alphagov/publisher","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/publisher","description":"The publishing tool for GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/publisher","forks_url":"https://api.github.com/repos/alphagov/publisher/forks","keys_url":"https://api.github.com/repos/alphagov/publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/publisher/events","assignees_url":"https://api.github.com/repos/alphagov/publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/publisher/merges","archive_url":"https://api.github.com/repos/alphagov/publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/publisher/releases{/id}","created_at":"2011-07-04T15:35:13Z","updated_at":"2015-07-11T23:25:39Z","pushed_at":"2015-08-20T10:37:55Z","git_url":"git://github.com/alphagov/publisher.git","ssh_url":"git@github.com:alphagov/publisher.git","clone_url":"https://github.com/alphagov/publisher.git","svn_url":"https://github.com/alphagov/publisher","homepage":"","size":11687,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":1,"forks":17,"open_issues":1,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/408"},"html":{"href":"https://github.com/alphagov/publisher/pull/408"},"issue":{"href":"https://api.github.com/repos/alphagov/publisher/issues/408"},"comments":{"href":"https://api.github.com/repos/alphagov/publisher/issues/408/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/408/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/408/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/publisher/statuses/a6acc90174346b7892779a26453353d4620ffeb9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fofr","id":319055,"avatar_url":"https://avatars.githubusercontent.com/u/319055?v=3","gravatar_id":"","url":"https://api.github.com/users/fofr","html_url":"https://github.com/fofr","followers_url":"https://api.github.com/users/fofr/followers","following_url":"https://api.github.com/users/fofr/following{/other_user}","gists_url":"https://api.github.com/users/fofr/gists{/gist_id}","starred_url":"https://api.github.com/users/fofr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fofr/subscriptions","organizations_url":"https://api.github.com/users/fofr/orgs","repos_url":"https://api.github.com/users/fofr/repos","events_url":"https://api.github.com/users/fofr/events{/privacy}","received_events_url":"https://api.github.com/users/fofr/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":1,"changed_files":2}}