{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/dserve/issues/12","repository_url":"https://api.github.com/repos/Automattic/dserve","labels_url":"https://api.github.com/repos/Automattic/dserve/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/dserve/issues/12/comments","events_url":"https://api.github.com/repos/Automattic/dserve/issues/12/events","html_url":"https://github.com/Automattic/dserve/issues/12","id":296840169,"number":12,"title":"Add FailedBuild status for faster error detection","user":{"login":"hoverduck","id":7233112,"avatar_url":"https://avatars2.githubusercontent.com/u/7233112?v=4","gravatar_id":"","url":"https://api.github.com/users/hoverduck","html_url":"https://github.com/hoverduck","followers_url":"https://api.github.com/users/hoverduck/followers","following_url":"https://api.github.com/users/hoverduck/following{/other_user}","gists_url":"https://api.github.com/users/hoverduck/gists{/gist_id}","starred_url":"https://api.github.com/users/hoverduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoverduck/subscriptions","organizations_url":"https://api.github.com/users/hoverduck/orgs","repos_url":"https://api.github.com/users/hoverduck/repos","events_url":"https://api.github.com/users/hoverduck/events{/privacy}","received_events_url":"https://api.github.com/users/hoverduck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-13T18:29:15Z","updated_at":"2018-05-01T15:26:47Z","closed_at":null,"author_association":"OWNER","body":"Currently the canary tests that run against dserve don't have any way to detect when an image fails to build, so they need to wait for the full 10-minute timeout to report failure back to the PR.  It would be helpful to have the `/status` endpoint register that there was a failure, and even provide the error message (i.e `Encountered error when building image` vs `Encountered error while git checking out, tarballing, or handing to docker`) for display on the CircleCI output"},"comment":{"url":"https://api.github.com/repos/Automattic/dserve/issues/comments/385699413","html_url":"https://github.com/Automattic/dserve/issues/12#issuecomment-385699413","issue_url":"https://api.github.com/repos/Automattic/dserve/issues/12","id":385699413,"user":{"login":"samouri","id":4656974,"avatar_url":"https://avatars1.githubusercontent.com/u/4656974?v=4","gravatar_id":"","url":"https://api.github.com/users/samouri","html_url":"https://github.com/samouri","followers_url":"https://api.github.com/users/samouri/followers","following_url":"https://api.github.com/users/samouri/following{/other_user}","gists_url":"https://api.github.com/users/samouri/gists{/gist_id}","starred_url":"https://api.github.com/users/samouri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samouri/subscriptions","organizations_url":"https://api.github.com/users/samouri/orgs","repos_url":"https://api.github.com/users/samouri/repos","events_url":"https://api.github.com/users/samouri/events{/privacy}","received_events_url":"https://api.github.com/users/samouri/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T15:26:47Z","updated_at":"2018-05-01T15:26:47Z","author_association":"CONTRIBUTOR","body":"This shouldn't be too bad. I don't think we currently make any changes to the fs to mark a branch as failed. My guess is that implementing this intelligently could be ~20 LOC"}}
{"actor":{"display_login":"samouri"}}