{"action":"created","issue":{"url":"https://api.github.com/repos/Dynflow/dynflow/issues/164","labels_url":"https://api.github.com/repos/Dynflow/dynflow/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/Dynflow/dynflow/issues/164/comments","events_url":"https://api.github.com/repos/Dynflow/dynflow/issues/164/events","html_url":"https://github.com/Dynflow/dynflow/pull/164","id":100950250,"number":164,"title":"Keep pending subplans count in output","user":{"login":"ares","id":109773,"avatar_url":"https://avatars.githubusercontent.com/u/109773?v=3","gravatar_id":"","url":"https://api.github.com/users/ares","html_url":"https://github.com/ares","followers_url":"https://api.github.com/users/ares/followers","following_url":"https://api.github.com/users/ares/following{/other_user}","gists_url":"https://api.github.com/users/ares/gists{/gist_id}","starred_url":"https://api.github.com/users/ares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ares/subscriptions","organizations_url":"https://api.github.com/users/ares/orgs","repos_url":"https://api.github.com/users/ares/repos","events_url":"https://api.github.com/users/ares/events{/privacy}","received_events_url":"https://api.github.com/users/ares/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-14T07:10:17Z","updated_at":"2015-08-14T08:39:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Dynflow/dynflow/pulls/164","html_url":"https://github.com/Dynflow/dynflow/pull/164","diff_url":"https://github.com/Dynflow/dynflow/pull/164.diff","patch_url":"https://github.com/Dynflow/dynflow/pull/164.patch"},"body":"This is handy when you want to know how many tasks are pending and you don't want to calculate `total - success - failed` all the time"},"comment":{"url":"https://api.github.com/repos/Dynflow/dynflow/issues/comments/131027171","html_url":"https://github.com/Dynflow/dynflow/pull/164#issuecomment-131027171","issue_url":"https://api.github.com/repos/Dynflow/dynflow/issues/164","id":131027171,"user":{"login":"iNecas","id":190443,"avatar_url":"https://avatars.githubusercontent.com/u/190443?v=3","gravatar_id":"","url":"https://api.github.com/users/iNecas","html_url":"https://github.com/iNecas","followers_url":"https://api.github.com/users/iNecas/followers","following_url":"https://api.github.com/users/iNecas/following{/other_user}","gists_url":"https://api.github.com/users/iNecas/gists{/gist_id}","starred_url":"https://api.github.com/users/iNecas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNecas/subscriptions","organizations_url":"https://api.github.com/users/iNecas/orgs","repos_url":"https://api.github.com/users/iNecas/repos","events_url":"https://api.github.com/users/iNecas/events{/privacy}","received_events_url":"https://api.github.com/users/iNecas/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T08:39:10Z","updated_at":"2015-08-14T08:39:10Z","body":"You can use this approach: https://github.com/Dynflow/dynflow/blob/master/test/action_test.rb#L449-L455, basically causing the subplans to \"get stuck\", checking the output, and then cancelling."}}