{"action":"created","issue":{"url":"https://api.github.com/repos/airtap/airtap/issues/184","repository_url":"https://api.github.com/repos/airtap/airtap","labels_url":"https://api.github.com/repos/airtap/airtap/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/airtap/airtap/issues/184/comments","events_url":"https://api.github.com/repos/airtap/airtap/issues/184/events","html_url":"https://github.com/airtap/airtap/issues/184","id":330613874,"node_id":"MDU6SXNzdWUzMzA2MTM4NzQ=","number":184,"title":"Rewrite and simplify start/shutdown logic","user":{"login":"ralphtheninja","id":308049,"node_id":"MDQ6VXNlcjMwODA0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/308049?v=4","gravatar_id":"","url":"https://api.github.com/users/ralphtheninja","html_url":"https://github.com/ralphtheninja","followers_url":"https://api.github.com/users/ralphtheninja/followers","following_url":"https://api.github.com/users/ralphtheninja/following{/other_user}","gists_url":"https://api.github.com/users/ralphtheninja/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphtheninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphtheninja/subscriptions","organizations_url":"https://api.github.com/users/ralphtheninja/orgs","repos_url":"https://api.github.com/users/ralphtheninja/repos","events_url":"https://api.github.com/users/ralphtheninja/events{/privacy}","received_events_url":"https://api.github.com/users/ralphtheninja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/airtap/airtap/milestones/1","html_url":"https://github.com/airtap/airtap/milestone/1","labels_url":"https://api.github.com/repos/airtap/airtap/milestones/1/labels","id":3114392,"node_id":"MDk6TWlsZXN0b25lMzExNDM5Mg==","number":1,"title":"v1","description":"","creator":{"login":"ralphtheninja","id":308049,"node_id":"MDQ6VXNlcjMwODA0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/308049?v=4","gravatar_id":"","url":"https://api.github.com/users/ralphtheninja","html_url":"https://github.com/ralphtheninja","followers_url":"https://api.github.com/users/ralphtheninja/followers","following_url":"https://api.github.com/users/ralphtheninja/following{/other_user}","gists_url":"https://api.github.com/users/ralphtheninja/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphtheninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphtheninja/subscriptions","organizations_url":"https://api.github.com/users/ralphtheninja/orgs","repos_url":"https://api.github.com/users/ralphtheninja/repos","events_url":"https://api.github.com/users/ralphtheninja/events{/privacy}","received_events_url":"https://api.github.com/users/ralphtheninja/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":5,"state":"open","created_at":"2018-02-13T19:57:09Z","updated_at":"2018-06-08T10:58:58Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-06-08T10:58:48Z","updated_at":"2018-06-19T09:58:33Z","closed_at":null,"author_association":"MEMBER","body":"The code flow in this scenario is way too complicated and the internal api for starting a browser and error handling is painful to follow.\r\n\r\nIdeally, we should be able to do:\r\n\r\n```js\r\nbrowser.start(function (err, stats) {\r\n  if (err) { \r\n    // something went wrong, restart?\r\n  } else { \r\n    // successful, use stats\r\n  }\r\n})\r\n```\r\n\r\nHowever, we can still keep emitting (some) events to get feedback on what's happening for debugging purposes etc.\r\n\r\nAlso see discussion in https://github.com/airtap/airtap/issues/152"},"comment":{"url":"https://api.github.com/repos/airtap/airtap/issues/comments/398344613","html_url":"https://github.com/airtap/airtap/issues/184#issuecomment-398344613","issue_url":"https://api.github.com/repos/airtap/airtap/issues/184","id":398344613,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODM0NDYxMw==","user":{"login":"ralphtheninja","id":308049,"node_id":"MDQ6VXNlcjMwODA0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/308049?v=4","gravatar_id":"","url":"https://api.github.com/users/ralphtheninja","html_url":"https://github.com/ralphtheninja","followers_url":"https://api.github.com/users/ralphtheninja/followers","following_url":"https://api.github.com/users/ralphtheninja/following{/other_user}","gists_url":"https://api.github.com/users/ralphtheninja/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphtheninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphtheninja/subscriptions","organizations_url":"https://api.github.com/users/ralphtheninja/orgs","repos_url":"https://api.github.com/users/ralphtheninja/repos","events_url":"https://api.github.com/users/ralphtheninja/events{/privacy}","received_events_url":"https://api.github.com/users/ralphtheninja/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T09:58:33Z","updated_at":"2018-06-19T09:58:33Z","author_association":"MEMBER","body":"I changed my mind, restarts should instead be handled by the `Zuul` object (just read http://mafintosh.com/pragmatic-modularity.html#lower-level-is-better-than-higher-level)"}}
{"actor":{"display_login":"ralphtheninja"}}