{"action":"created","issue":{"url":"https://api.github.com/repos/oaktown/calliope/issues/50","repository_url":"https://api.github.com/repos/oaktown/calliope","labels_url":"https://api.github.com/repos/oaktown/calliope/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/oaktown/calliope/issues/50/comments","events_url":"https://api.github.com/repos/oaktown/calliope/issues/50/events","html_url":"https://github.com/oaktown/calliope/pull/50","id":391951353,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MzMxNTA4","number":50,"title":"Retry on failure (up to 3 times)","user":{"login":"jenmei","id":8095,"node_id":"MDQ6VXNlcjgwOTU=","avatar_url":"https://avatars0.githubusercontent.com/u/8095?v=4","gravatar_id":"","url":"https://api.github.com/users/jenmei","html_url":"https://github.com/jenmei","followers_url":"https://api.github.com/users/jenmei/followers","following_url":"https://api.github.com/users/jenmei/following{/other_user}","gists_url":"https://api.github.com/users/jenmei/gists{/gist_id}","starred_url":"https://api.github.com/users/jenmei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenmei/subscriptions","organizations_url":"https://api.github.com/users/jenmei/orgs","repos_url":"https://api.github.com/users/jenmei/repos","events_url":"https://api.github.com/users/jenmei/events{/privacy}","received_events_url":"https://api.github.com/users/jenmei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-18T00:51:46Z","updated_at":"2019-01-02T06:20:12Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/oaktown/calliope/pulls/50","html_url":"https://github.com/oaktown/calliope/pull/50","diff_url":"https://github.com/oaktown/calliope/pull/50.diff","patch_url":"https://github.com/oaktown/calliope/pull/50.patch"},"body":"Retries up to 3 times, with a longer wait each time (we chose incremental backoff with a higher initial delay over exponential backoff with a lower initial delay). Also, for downloads that fail all retries, we add mostly blank record to message channel with enough info to redownload (see #51). Plus improved logging.\r\n\r\nIncludes an integration test (TestDownloadFullMessages) that tests incremental backoff. We chose to do incremental with a higher initial duration instead of exponential with a lower initial duration.\r\n\r\nResolves #41 \r\n"},"comment":{"url":"https://api.github.com/repos/oaktown/calliope/issues/comments/450793066","html_url":"https://github.com/oaktown/calliope/pull/50#issuecomment-450793066","issue_url":"https://api.github.com/repos/oaktown/calliope/issues/50","id":450793066,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDc5MzA2Ng==","user":{"login":"ultrasaurus","id":41906,"node_id":"MDQ6VXNlcjQxOTA2","avatar_url":"https://avatars3.githubusercontent.com/u/41906?v=4","gravatar_id":"","url":"https://api.github.com/users/ultrasaurus","html_url":"https://github.com/ultrasaurus","followers_url":"https://api.github.com/users/ultrasaurus/followers","following_url":"https://api.github.com/users/ultrasaurus/following{/other_user}","gists_url":"https://api.github.com/users/ultrasaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrasaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrasaurus/subscriptions","organizations_url":"https://api.github.com/users/ultrasaurus/orgs","repos_url":"https://api.github.com/users/ultrasaurus/repos","events_url":"https://api.github.com/users/ultrasaurus/events{/privacy}","received_events_url":"https://api.github.com/users/ultrasaurus/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T06:20:12Z","updated_at":"2019-01-02T06:20:12Z","author_association":"COLLABORATOR","body":"This is a huge improvement!  In the future I'd like to explore more general-purpose exponential back-off (and maybe see if gmail API returns retry header, which would be a nice way to handle this, but I suspect that info is hidden by the client library, if it is returned at all)\r\n\r\nI will merge!"}}
{"actor":{"display_login":"ultrasaurus"}}