{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/2617","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/2617/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/2617/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/2617/events","html_url":"https://github.com/Automattic/jetpack/pull/2617","id":103323859,"number":2617,"title":"Autoupdates: log error code","user":{"login":"roccotripaldi","id":2694219,"avatar_url":"https://avatars.githubusercontent.com/u/2694219?v=3","gravatar_id":"","url":"https://api.github.com/users/roccotripaldi","html_url":"https://github.com/roccotripaldi","followers_url":"https://api.github.com/users/roccotripaldi/followers","following_url":"https://api.github.com/users/roccotripaldi/following{/other_user}","gists_url":"https://api.github.com/users/roccotripaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/roccotripaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roccotripaldi/subscriptions","organizations_url":"https://api.github.com/users/roccotripaldi/orgs","repos_url":"https://api.github.com/users/roccotripaldi/repos","events_url":"https://api.github.com/users/roccotripaldi/events{/privacy}","received_events_url":"https://api.github.com/users/roccotripaldi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Manage","name":"Manage","color":"c7def8"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Needs%20Review","name":"Needs Review","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"roccotripaldi","id":2694219,"avatar_url":"https://avatars.githubusercontent.com/u/2694219?v=3","gravatar_id":"","url":"https://api.github.com/users/roccotripaldi","html_url":"https://github.com/roccotripaldi","followers_url":"https://api.github.com/users/roccotripaldi/followers","following_url":"https://api.github.com/users/roccotripaldi/following{/other_user}","gists_url":"https://api.github.com/users/roccotripaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/roccotripaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roccotripaldi/subscriptions","organizations_url":"https://api.github.com/users/roccotripaldi/orgs","repos_url":"https://api.github.com/users/roccotripaldi/repos","events_url":"https://api.github.com/users/roccotripaldi/events{/privacy}","received_events_url":"https://api.github.com/users/roccotripaldi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/21","html_url":"https://github.com/Automattic/jetpack/milestones/3.7","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/21/labels","id":1138279,"number":21,"title":"3.7","description":"","creator":{"login":"kraftbj","id":88897,"avatar_url":"https://avatars.githubusercontent.com/u/88897?v=3","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"open_issues":90,"closed_issues":187,"state":"open","created_at":"2015-05-28T15:18:58Z","updated_at":"2015-08-27T00:29:36Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-26T17:21:31Z","updated_at":"2015-08-27T01:43:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/2617","html_url":"https://github.com/Automattic/jetpack/pull/2617","diff_url":"https://github.com/Automattic/jetpack/pull/2617.diff","patch_url":"https://github.com/Automattic/jetpack/pull/2617.patch"},"body":"Base on a conversation with @dd32 , we determined it would be useful to include an error code in\r\nour debugging script when we log failed plugin autoupdates.\r\n\r\n@dd32 can you check that i'm handling the `$update_results` schema correctly?"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/135237091","html_url":"https://github.com/Automattic/jetpack/pull/2617#issuecomment-135237091","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/2617","id":135237091,"user":{"login":"dd32","id":767313,"avatar_url":"https://avatars.githubusercontent.com/u/767313?v=3","gravatar_id":"","url":"https://api.github.com/users/dd32","html_url":"https://github.com/dd32","followers_url":"https://api.github.com/users/dd32/followers","following_url":"https://api.github.com/users/dd32/following{/other_user}","gists_url":"https://api.github.com/users/dd32/gists{/gist_id}","starred_url":"https://api.github.com/users/dd32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dd32/subscriptions","organizations_url":"https://api.github.com/users/dd32/orgs","repos_url":"https://api.github.com/users/dd32/repos","events_url":"https://api.github.com/users/dd32/events{/privacy}","received_events_url":"https://api.github.com/users/dd32/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T01:43:48Z","updated_at":"2015-08-27T01:43:48Z","body":"To be quite honest, I'm not sure of what the format is without getting down into the nitty-gritty testing which I assume you've already done to come up with the changes here. At first glance, it looks right to me.\r\n\r\nThe main thing I can think of is https://core.trac.wordpress.org/ticket/27365 which might affect it.\r\nI'll happily setup a test environment and make plugin autoupdates break in every which manner on Jetpack/master when this is merged to be absolute certain it's working as expected though."}}