{"action":"created","issue":{"url":"https://api.github.com/repos/martine/ninja/issues/1023","labels_url":"https://api.github.com/repos/martine/ninja/issues/1023/labels{/name}","comments_url":"https://api.github.com/repos/martine/ninja/issues/1023/comments","events_url":"https://api.github.com/repos/martine/ninja/issues/1023/events","html_url":"https://github.com/martine/ninja/pull/1023","id":107396525,"number":1023,"title":"Fix pool->current_use_ not being decremented when edges fail","user":{"login":"zdave","id":2984308,"avatar_url":"https://avatars.githubusercontent.com/u/2984308?v=3","gravatar_id":"","url":"https://api.github.com/users/zdave","html_url":"https://github.com/zdave","followers_url":"https://api.github.com/users/zdave/followers","following_url":"https://api.github.com/users/zdave/following{/other_user}","gists_url":"https://api.github.com/users/zdave/gists{/gist_id}","starred_url":"https://api.github.com/users/zdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdave/subscriptions","organizations_url":"https://api.github.com/users/zdave/orgs","repos_url":"https://api.github.com/users/zdave/repos","events_url":"https://api.github.com/users/zdave/events{/privacy}","received_events_url":"https://api.github.com/users/zdave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-20T14:57:44Z","updated_at":"2015-09-20T15:36:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/martine/ninja/pulls/1023","html_url":"https://github.com/martine/ninja/pull/1023","diff_url":"https://github.com/martine/ninja/pull/1023.diff","patch_url":"https://github.com/martine/ninja/pull/1023.patch"},"body":"eg With this build file...\r\n\r\n  pool failpool\r\n    depth = 1\r\n  rule fail\r\n    command = fail\r\n    pool = failpool\r\n  build out1: fail\r\n  build out2: fail\r\n  build out3: fail\r\n  build final: phony out1 out2 out3\r\n\r\n...and \"-k 0\", we should run out1..3 sequentially before failing. Previously we\r\nwould fail after just running out1."},"comment":{"url":"https://api.github.com/repos/martine/ninja/issues/comments/141797165","html_url":"https://github.com/martine/ninja/pull/1023#issuecomment-141797165","issue_url":"https://api.github.com/repos/martine/ninja/issues/1023","id":141797165,"user":{"login":"sgraham","id":1822,"avatar_url":"https://avatars.githubusercontent.com/u/1822?v=3","gravatar_id":"","url":"https://api.github.com/users/sgraham","html_url":"https://github.com/sgraham","followers_url":"https://api.github.com/users/sgraham/followers","following_url":"https://api.github.com/users/sgraham/following{/other_user}","gists_url":"https://api.github.com/users/sgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/sgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgraham/subscriptions","organizations_url":"https://api.github.com/users/sgraham/orgs","repos_url":"https://api.github.com/users/sgraham/repos","events_url":"https://api.github.com/users/sgraham/events{/privacy}","received_events_url":"https://api.github.com/users/sgraham/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T15:36:57Z","updated_at":"2015-09-20T15:36:57Z","body":"Also in #1017 I think."}}