{"action":"created","issue":{"url":"https://api.github.com/repos/constabulary/gb/issues/459","labels_url":"https://api.github.com/repos/constabulary/gb/issues/459/labels{/name}","comments_url":"https://api.github.com/repos/constabulary/gb/issues/459/comments","events_url":"https://api.github.com/repos/constabulary/gb/issues/459/events","html_url":"https://github.com/constabulary/gb/pull/459","id":118363933,"number":459,"title":"cmd/gb: catch signals during build and test","user":{"login":"davecheney","id":7171,"avatar_url":"https://avatars.githubusercontent.com/u/7171?v=3","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"davidkaya","id":3832960,"avatar_url":"https://avatars.githubusercontent.com/u/3832960?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkaya","html_url":"https://github.com/davidkaya","followers_url":"https://api.github.com/users/davidkaya/followers","following_url":"https://api.github.com/users/davidkaya/following{/other_user}","gists_url":"https://api.github.com/users/davidkaya/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkaya/subscriptions","organizations_url":"https://api.github.com/users/davidkaya/orgs","repos_url":"https://api.github.com/users/davidkaya/repos","events_url":"https://api.github.com/users/davidkaya/events{/privacy}","received_events_url":"https://api.github.com/users/davidkaya/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-23T11:38:23Z","updated_at":"2015-11-25T08:34:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/constabulary/gb/pulls/459","html_url":"https://github.com/constabulary/gb/pull/459","diff_url":"https://github.com/constabulary/gb/pull/459.diff","patch_url":"https://github.com/constabulary/gb/pull/459.patch"},"body":"This is the logic that Alex Brainman and I added to cmd/go back in Go 1.0. It's not perfect, but it's worked well enough for the last few years.\r\n \r\n### Todo\r\n- [x] gb.Executors need to take some kind of reference to the interrupted channel so it can shutdown\r\n- [ ] No tests for interruption yet\r\n\r\nFixes #436\r\nUpdates #445"},"comment":{"url":"https://api.github.com/repos/constabulary/gb/issues/comments/159534161","html_url":"https://github.com/constabulary/gb/pull/459#issuecomment-159534161","issue_url":"https://api.github.com/repos/constabulary/gb/issues/459","id":159534161,"user":{"login":"davecheney","id":7171,"avatar_url":"https://avatars.githubusercontent.com/u/7171?v=3","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T08:34:47Z","updated_at":"2015-11-25T08:34:47Z","body":"@davidkaya this is a bit rough, but ready for review if you have time. "}}