{"action":"closed","number":54,"pull_request":{"url":"https://api.github.com/repos/canjs/can-zone/pulls/54","id":62291766,"html_url":"https://github.com/canjs/can-zone/pull/54","diff_url":"https://github.com/canjs/can-zone/pull/54.diff","patch_url":"https://github.com/canjs/can-zone/pull/54.patch","issue_url":"https://api.github.com/repos/canjs/can-zone/issues/54","number":54,"state":"closed","locked":false,"title":"Handle nested tasks","user":{"login":"matthewp","id":361671,"avatar_url":"https://avatars.githubusercontent.com/u/361671?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewp","html_url":"https://github.com/matthewp","followers_url":"https://api.github.com/users/matthewp/followers","following_url":"https://api.github.com/users/matthewp/following{/other_user}","gists_url":"https://api.github.com/users/matthewp/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewp/subscriptions","organizations_url":"https://api.github.com/users/matthewp/orgs","repos_url":"https://api.github.com/users/matthewp/repos","events_url":"https://api.github.com/users/matthewp/events{/privacy}","received_events_url":"https://api.github.com/users/matthewp/received_events","type":"User","site_admin":false},"body":"Tasks are said to be nested when they are called within the code of\r\nanother task. This is a problem because it means we would be executing\r\nlifecycle hooks more than once per async operation, which can lead to\r\nhooks doing the wrong thing (a beforeTask could be called twice, where\r\n\t\tbefore/after tasks are meant to do setup/teardown). Closes #53","created_at":"2016-03-09T20:36:00Z","updated_at":"2016-03-09T20:38:51Z","closed_at":"2016-03-09T20:38:51Z","merged_at":"2016-03-09T20:38:51Z","merge_commit_sha":"0ae124e6cd0e0acd73aee77dca8dcf152267b285","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/canjs/can-zone/pulls/54/commits","review_comments_url":"https://api.github.com/repos/canjs/can-zone/pulls/54/comments","review_comment_url":"https://api.github.com/repos/canjs/can-zone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/canjs/can-zone/issues/54/comments","statuses_url":"https://api.github.com/repos/canjs/can-zone/statuses/d71bc433c5b24cd97254c8111e1f07581f938fbb","head":{"label":"canjs:nested","ref":"nested","sha":"d71bc433c5b24cd97254c8111e1f07581f938fbb","user":{"login":"canjs","id":11798761,"avatar_url":"https://avatars.githubusercontent.com/u/11798761?v=3","gravatar_id":"","url":"https://api.github.com/users/canjs","html_url":"https://github.com/canjs","followers_url":"https://api.github.com/users/canjs/followers","following_url":"https://api.github.com/users/canjs/following{/other_user}","gists_url":"https://api.github.com/users/canjs/gists{/gist_id}","starred_url":"https://api.github.com/users/canjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canjs/subscriptions","organizations_url":"https://api.github.com/users/canjs/orgs","repos_url":"https://api.github.com/users/canjs/repos","events_url":"https://api.github.com/users/canjs/events{/privacy}","received_events_url":"https://api.github.com/users/canjs/received_events","type":"Organization","site_admin":false},"repo":{"id":46138379,"name":"can-zone","full_name":"canjs/can-zone","owner":{"login":"canjs","id":11798761,"avatar_url":"https://avatars.githubusercontent.com/u/11798761?v=3","gravatar_id":"","url":"https://api.github.com/users/canjs","html_url":"https://github.com/canjs","followers_url":"https://api.github.com/users/canjs/followers","following_url":"https://api.github.com/users/canjs/following{/other_user}","gists_url":"https://api.github.com/users/canjs/gists{/gist_id}","starred_url":"https://api.github.com/users/canjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canjs/subscriptions","organizations_url":"https://api.github.com/users/canjs/orgs","repos_url":"https://api.github.com/users/canjs/repos","events_url":"https://api.github.com/users/canjs/events{/privacy}","received_events_url":"https://api.github.com/users/canjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/canjs/can-zone","description":"A context for tracking asynchronous activity in JavaScript applications.","fork":false,"url":"https://api.github.com/repos/canjs/can-zone","forks_url":"https://api.github.com/repos/canjs/can-zone/forks","keys_url":"https://api.github.com/repos/canjs/can-zone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/canjs/can-zone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/canjs/can-zone/teams","hooks_url":"https://api.github.com/repos/canjs/can-zone/hooks","issue_events_url":"https://api.github.com/repos/canjs/can-zone/issues/events{/number}","events_url":"https://api.github.com/repos/canjs/can-zone/events","assignees_url":"https://api.github.com/repos/canjs/can-zone/assignees{/user}","branches_url":"https://api.github.com/repos/canjs/can-zone/branches{/branch}","tags_url":"https://api.github.com/repos/canjs/can-zone/tags","blobs_url":"https://api.github.com/repos/canjs/can-zone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/canjs/can-zone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/canjs/can-zone/git/refs{/sha}","trees_url":"https://api.github.com/repos/canjs/can-zone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/canjs/can-zone/statuses/{sha}","languages_url":"https://api.github.com/repos/canjs/can-zone/languages","stargazers_url":"https://api.github.com/repos/canjs/can-zone/stargazers","contributors_url":"https://api.github.com/repos/canjs/can-zone/contributors","subscribers_url":"https://api.github.com/repos/canjs/can-zone/subscribers","subscription_url":"https://api.github.com/repos/canjs/can-zone/subscription","commits_url":"https://api.github.com/repos/canjs/can-zone/commits{/sha}","git_commits_url":"https://api.github.com/repos/canjs/can-zone/git/commits{/sha}","comments_url":"https://api.github.com/repos/canjs/can-zone/comments{/number}","issue_comment_url":"https://api.github.com/repos/canjs/can-zone/issues/comments{/number}","contents_url":"https://api.github.com/repos/canjs/can-zone/contents/{+path}","compare_url":"https://api.github.com/repos/canjs/can-zone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/canjs/can-zone/merges","archive_url":"https://api.github.com/repos/canjs/can-zone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/canjs/can-zone/downloads","issues_url":"https://api.github.com/repos/canjs/can-zone/issues{/number}","pulls_url":"https://api.github.com/repos/canjs/can-zone/pulls{/number}","milestones_url":"https://api.github.com/repos/canjs/can-zone/milestones{/number}","notifications_url":"https://api.github.com/repos/canjs/can-zone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/canjs/can-zone/labels{/name}","releases_url":"https://api.github.com/repos/canjs/can-zone/releases{/id}","deployments_url":"https://api.github.com/repos/canjs/can-zone/deployments","created_at":"2015-11-13T17:58:26Z","updated_at":"2016-03-07T13:10:48Z","pushed_at":"2016-03-09T20:38:51Z","git_url":"git://github.com/canjs/can-zone.git","ssh_url":"git@github.com:canjs/can-zone.git","clone_url":"https://github.com/canjs/can-zone.git","svn_url":"https://github.com/canjs/can-zone","homepage":"https://github.com/canjs/can-zone","size":67,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":4,"default_branch":"master"}},"base":{"label":"canjs:master","ref":"master","sha":"d185e34805f04f12ea73756da96627150b10b2c6","user":{"login":"canjs","id":11798761,"avatar_url":"https://avatars.githubusercontent.com/u/11798761?v=3","gravatar_id":"","url":"https://api.github.com/users/canjs","html_url":"https://github.com/canjs","followers_url":"https://api.github.com/users/canjs/followers","following_url":"https://api.github.com/users/canjs/following{/other_user}","gists_url":"https://api.github.com/users/canjs/gists{/gist_id}","starred_url":"https://api.github.com/users/canjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canjs/subscriptions","organizations_url":"https://api.github.com/users/canjs/orgs","repos_url":"https://api.github.com/users/canjs/repos","events_url":"https://api.github.com/users/canjs/events{/privacy}","received_events_url":"https://api.github.com/users/canjs/received_events","type":"Organization","site_admin":false},"repo":{"id":46138379,"name":"can-zone","full_name":"canjs/can-zone","owner":{"login":"canjs","id":11798761,"avatar_url":"https://avatars.githubusercontent.com/u/11798761?v=3","gravatar_id":"","url":"https://api.github.com/users/canjs","html_url":"https://github.com/canjs","followers_url":"https://api.github.com/users/canjs/followers","following_url":"https://api.github.com/users/canjs/following{/other_user}","gists_url":"https://api.github.com/users/canjs/gists{/gist_id}","starred_url":"https://api.github.com/users/canjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canjs/subscriptions","organizations_url":"https://api.github.com/users/canjs/orgs","repos_url":"https://api.github.com/users/canjs/repos","events_url":"https://api.github.com/users/canjs/events{/privacy}","received_events_url":"https://api.github.com/users/canjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/canjs/can-zone","description":"A context for tracking asynchronous activity in JavaScript applications.","fork":false,"url":"https://api.github.com/repos/canjs/can-zone","forks_url":"https://api.github.com/repos/canjs/can-zone/forks","keys_url":"https://api.github.com/repos/canjs/can-zone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/canjs/can-zone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/canjs/can-zone/teams","hooks_url":"https://api.github.com/repos/canjs/can-zone/hooks","issue_events_url":"https://api.github.com/repos/canjs/can-zone/issues/events{/number}","events_url":"https://api.github.com/repos/canjs/can-zone/events","assignees_url":"https://api.github.com/repos/canjs/can-zone/assignees{/user}","branches_url":"https://api.github.com/repos/canjs/can-zone/branches{/branch}","tags_url":"https://api.github.com/repos/canjs/can-zone/tags","blobs_url":"https://api.github.com/repos/canjs/can-zone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/canjs/can-zone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/canjs/can-zone/git/refs{/sha}","trees_url":"https://api.github.com/repos/canjs/can-zone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/canjs/can-zone/statuses/{sha}","languages_url":"https://api.github.com/repos/canjs/can-zone/languages","stargazers_url":"https://api.github.com/repos/canjs/can-zone/stargazers","contributors_url":"https://api.github.com/repos/canjs/can-zone/contributors","subscribers_url":"https://api.github.com/repos/canjs/can-zone/subscribers","subscription_url":"https://api.github.com/repos/canjs/can-zone/subscription","commits_url":"https://api.github.com/repos/canjs/can-zone/commits{/sha}","git_commits_url":"https://api.github.com/repos/canjs/can-zone/git/commits{/sha}","comments_url":"https://api.github.com/repos/canjs/can-zone/comments{/number}","issue_comment_url":"https://api.github.com/repos/canjs/can-zone/issues/comments{/number}","contents_url":"https://api.github.com/repos/canjs/can-zone/contents/{+path}","compare_url":"https://api.github.com/repos/canjs/can-zone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/canjs/can-zone/merges","archive_url":"https://api.github.com/repos/canjs/can-zone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/canjs/can-zone/downloads","issues_url":"https://api.github.com/repos/canjs/can-zone/issues{/number}","pulls_url":"https://api.github.com/repos/canjs/can-zone/pulls{/number}","milestones_url":"https://api.github.com/repos/canjs/can-zone/milestones{/number}","notifications_url":"https://api.github.com/repos/canjs/can-zone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/canjs/can-zone/labels{/name}","releases_url":"https://api.github.com/repos/canjs/can-zone/releases{/id}","deployments_url":"https://api.github.com/repos/canjs/can-zone/deployments","created_at":"2015-11-13T17:58:26Z","updated_at":"2016-03-07T13:10:48Z","pushed_at":"2016-03-09T20:38:51Z","git_url":"git://github.com/canjs/can-zone.git","ssh_url":"git@github.com:canjs/can-zone.git","clone_url":"https://github.com/canjs/can-zone.git","svn_url":"https://github.com/canjs/can-zone","homepage":"https://github.com/canjs/can-zone","size":67,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/canjs/can-zone/pulls/54"},"html":{"href":"https://github.com/canjs/can-zone/pull/54"},"issue":{"href":"https://api.github.com/repos/canjs/can-zone/issues/54"},"comments":{"href":"https://api.github.com/repos/canjs/can-zone/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/canjs/can-zone/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/canjs/can-zone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/canjs/can-zone/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/canjs/can-zone/statuses/d71bc433c5b24cd97254c8111e1f07581f938fbb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"matthewp","id":361671,"avatar_url":"https://avatars.githubusercontent.com/u/361671?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewp","html_url":"https://github.com/matthewp","followers_url":"https://api.github.com/users/matthewp/followers","following_url":"https://api.github.com/users/matthewp/following{/other_user}","gists_url":"https://api.github.com/users/matthewp/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewp/subscriptions","organizations_url":"https://api.github.com/users/matthewp/orgs","repos_url":"https://api.github.com/users/matthewp/repos","events_url":"https://api.github.com/users/matthewp/events{/privacy}","received_events_url":"https://api.github.com/users/matthewp/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":7,"changed_files":2}}