{"action":"opened","number":1637,"pull_request":{"url":"https://api.github.com/repos/redux-saga/redux-saga/pulls/1637","id":222834787,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyODM0Nzg3","html_url":"https://github.com/redux-saga/redux-saga/pull/1637","diff_url":"https://github.com/redux-saga/redux-saga/pull/1637.diff","patch_url":"https://github.com/redux-saga/redux-saga/pull/1637.patch","issue_url":"https://api.github.com/repos/redux-saga/redux-saga/issues/1637","number":1637,"state":"open","locked":false,"title":"Use task.root to track whether a task is a root task or a detached task.","user":{"login":"shinima","id":5550931,"node_id":"MDQ6VXNlcjU1NTA5MzE=","avatar_url":"https://avatars3.githubusercontent.com/u/5550931?v=4","gravatar_id":"","url":"https://api.github.com/users/shinima","html_url":"https://github.com/shinima","followers_url":"https://api.github.com/users/shinima/followers","following_url":"https://api.github.com/users/shinima/following{/other_user}","gists_url":"https://api.github.com/users/shinima/gists{/gist_id}","starred_url":"https://api.github.com/users/shinima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinima/subscriptions","organizations_url":"https://api.github.com/users/shinima/orgs","repos_url":"https://api.github.com/users/shinima/repos","events_url":"https://api.github.com/users/shinima/events{/privacy}","received_events_url":"https://api.github.com/users/shinima/received_events","type":"User","site_admin":false},"body":"| Q                        | A <!--(Can use an emoji 👍) --> |\r\n| ------------------------ | ---  |\r\n| Fixed Issues?            |   |\r\n| Patch: Bug Fix?          |    |\r\n| Major: Breaking Change?  |    |\r\n| Minor: New Feature?      |    |\r\n| Tests Added + Pass?      | |\r\n| Any Dependency Changes?  |    |\r\n\r\n<!-- Describe your changes below in as much detail as possible -->\r\nWe used `task.cont == null` to judge whether a task is root/detached (then we build the sagaStack for root/detached tasks when these task aborts). This was a little confusing, so in this PR, I add a new field `isRoot` in `Task` object, and `task.cont` won't be null any more.","created_at":"2018-10-15T09:17:01Z","updated_at":"2018-10-15T09:17:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/redux-saga/redux-saga/pulls/1637/commits","review_comments_url":"https://api.github.com/repos/redux-saga/redux-saga/pulls/1637/comments","review_comment_url":"https://api.github.com/repos/redux-saga/redux-saga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redux-saga/redux-saga/issues/1637/comments","statuses_url":"https://api.github.com/repos/redux-saga/redux-saga/statuses/bd3d3eebe4ad1b956d4fb9c0c41e7ad87a904063","head":{"label":"redux-saga:root-task","ref":"root-task","sha":"bd3d3eebe4ad1b956d4fb9c0c41e7ad87a904063","user":{"login":"redux-saga","id":24776643,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Nzc2NjQz","avatar_url":"https://avatars2.githubusercontent.com/u/24776643?v=4","gravatar_id":"","url":"https://api.github.com/users/redux-saga","html_url":"https://github.com/redux-saga","followers_url":"https://api.github.com/users/redux-saga/followers","following_url":"https://api.github.com/users/redux-saga/following{/other_user}","gists_url":"https://api.github.com/users/redux-saga/gists{/gist_id}","starred_url":"https://api.github.com/users/redux-saga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redux-saga/subscriptions","organizations_url":"https://api.github.com/users/redux-saga/orgs","repos_url":"https://api.github.com/users/redux-saga/repos","events_url":"https://api.github.com/users/redux-saga/events{/privacy}","received_events_url":"https://api.github.com/users/redux-saga/received_events","type":"Organization","site_admin":false},"repo":{"id":47071941,"node_id":"MDEwOlJlcG9zaXRvcnk0NzA3MTk0MQ==","name":"redux-saga","full_name":"redux-saga/redux-saga","private":false,"owner":{"login":"redux-saga","id":24776643,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Nzc2NjQz","avatar_url":"https://avatars2.githubusercontent.com/u/24776643?v=4","gravatar_id":"","url":"https://api.github.com/users/redux-saga","html_url":"https://github.com/redux-saga","followers_url":"https://api.github.com/users/redux-saga/followers","following_url":"https://api.github.com/users/redux-saga/following{/other_user}","gists_url":"https://api.github.com/users/redux-saga/gists{/gist_id}","starred_url":"https://api.github.com/users/redux-saga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redux-saga/subscriptions","organizations_url":"https://api.github.com/users/redux-saga/orgs","repos_url":"https://api.github.com/users/redux-saga/repos","events_url":"https://api.github.com/users/redux-saga/events{/privacy}","received_events_url":"https://api.github.com/users/redux-saga/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/redux-saga/redux-saga","description":"An alternative side effect model for Redux apps","fork":false,"url":"https://api.github.com/repos/redux-saga/redux-saga","forks_url":"https://api.github.com/repos/redux-saga/redux-saga/forks","keys_url":"https://api.github.com/repos/redux-saga/redux-saga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redux-saga/redux-saga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redux-saga/redux-saga/teams","hooks_url":"https://api.github.com/repos/redux-saga/redux-saga/hooks","issue_events_url":"https://api.github.com/repos/redux-saga/redux-saga/issues/events{/number}","events_url":"https://api.github.com/repos/redux-saga/redux-saga/events","assignees_url":"https://api.github.com/repos/redux-saga/redux-saga/assignees{/user}","branches_url":"https://api.github.com/repos/redux-saga/redux-saga/branches{/branch}","tags_url":"https://api.github.com/repos/redux-saga/redux-saga/tags","blobs_url":"https://api.github.com/repos/redux-saga/redux-saga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redux-saga/redux-saga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redux-saga/redux-saga/git/refs{/sha}","trees_url":"https://api.github.com/repos/redux-saga/redux-saga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redux-saga/redux-saga/statuses/{sha}","languages_url":"https://api.github.com/repos/redux-saga/redux-saga/languages","stargazers_url":"https://api.github.com/repos/redux-saga/redux-saga/stargazers","contributors_url":"https://api.github.com/repos/redux-saga/redux-saga/contributors","subscribers_url":"https://api.github.com/repos/redux-saga/redux-saga/subscribers","subscription_url":"https://api.github.com/repos/redux-saga/redux-saga/subscription","commits_url":"https://api.github.com/repos/redux-saga/redux-saga/commits{/sha}","git_commits_url":"https://api.github.com/repos/redux-saga/redux-saga/git/commits{/sha}","comments_url":"https://api.github.com/repos/redux-saga/redux-saga/comments{/number}","issue_comment_url":"https://api.github.com/repos/redux-saga/redux-saga/issues/comments{/number}","contents_url":"https://api.github.com/repos/redux-saga/redux-saga/contents/{+path}","compare_url":"https://api.github.com/repos/redux-saga/redux-saga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redux-saga/redux-saga/merges","archive_url":"https://api.github.com/repos/redux-saga/redux-saga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redux-saga/redux-saga/downloads","issues_url":"https://api.github.com/repos/redux-saga/redux-saga/issues{/number}","pulls_url":"https://api.github.com/repos/redux-saga/redux-saga/pulls{/number}","milestones_url":"https://api.github.com/repos/redux-saga/redux-saga/milestones{/number}","notifications_url":"https://api.github.com/repos/redux-saga/redux-saga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redux-saga/redux-saga/labels{/name}","releases_url":"https://api.github.com/repos/redux-saga/redux-saga/releases{/id}","deployments_url":"https://api.github.com/repos/redux-saga/redux-saga/deployments","created_at":"2015-11-29T16:58:12Z","updated_at":"2018-10-15T08:25:05Z","pushed_at":"2018-10-15T09:08:02Z","git_url":"git://github.com/redux-saga/redux-saga.git","ssh_url":"git@github.com:redux-saga/redux-saga.git","clone_url":"https://github.com/redux-saga/redux-saga.git","svn_url":"https://github.com/redux-saga/redux-saga","homepage":"https://redux-saga.js.org/","size":7220,"stargazers_count":15422,"watchers_count":15422,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1320,"mirror_url":null,"archived":false,"open_issues_count":67,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1320,"open_issues":67,"watchers":15422,"default_branch":"master"}},"base":{"label":"redux-saga:master","ref":"master","sha":"a1c465d18780bc69450569b76f43e4e35baac5c7","user":{"login":"redux-saga","id":24776643,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Nzc2NjQz","avatar_url":"https://avatars2.githubusercontent.com/u/24776643?v=4","gravatar_id":"","url":"https://api.github.com/users/redux-saga","html_url":"https://github.com/redux-saga","followers_url":"https://api.github.com/users/redux-saga/followers","following_url":"https://api.github.com/users/redux-saga/following{/other_user}","gists_url":"https://api.github.com/users/redux-saga/gists{/gist_id}","starred_url":"https://api.github.com/users/redux-saga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redux-saga/subscriptions","organizations_url":"https://api.github.com/users/redux-saga/orgs","repos_url":"https://api.github.com/users/redux-saga/repos","events_url":"https://api.github.com/users/redux-saga/events{/privacy}","received_events_url":"https://api.github.com/users/redux-saga/received_events","type":"Organization","site_admin":false},"repo":{"id":47071941,"node_id":"MDEwOlJlcG9zaXRvcnk0NzA3MTk0MQ==","name":"redux-saga","full_name":"redux-saga/redux-saga","private":false,"owner":{"login":"redux-saga","id":24776643,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Nzc2NjQz","avatar_url":"https://avatars2.githubusercontent.com/u/24776643?v=4","gravatar_id":"","url":"https://api.github.com/users/redux-saga","html_url":"https://github.com/redux-saga","followers_url":"https://api.github.com/users/redux-saga/followers","following_url":"https://api.github.com/users/redux-saga/following{/other_user}","gists_url":"https://api.github.com/users/redux-saga/gists{/gist_id}","starred_url":"https://api.github.com/users/redux-saga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redux-saga/subscriptions","organizations_url":"https://api.github.com/users/redux-saga/orgs","repos_url":"https://api.github.com/users/redux-saga/repos","events_url":"https://api.github.com/users/redux-saga/events{/privacy}","received_events_url":"https://api.github.com/users/redux-saga/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/redux-saga/redux-saga","description":"An alternative side effect model for Redux apps","fork":false,"url":"https://api.github.com/repos/redux-saga/redux-saga","forks_url":"https://api.github.com/repos/redux-saga/redux-saga/forks","keys_url":"https://api.github.com/repos/redux-saga/redux-saga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redux-saga/redux-saga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redux-saga/redux-saga/teams","hooks_url":"https://api.github.com/repos/redux-saga/redux-saga/hooks","issue_events_url":"https://api.github.com/repos/redux-saga/redux-saga/issues/events{/number}","events_url":"https://api.github.com/repos/redux-saga/redux-saga/events","assignees_url":"https://api.github.com/repos/redux-saga/redux-saga/assignees{/user}","branches_url":"https://api.github.com/repos/redux-saga/redux-saga/branches{/branch}","tags_url":"https://api.github.com/repos/redux-saga/redux-saga/tags","blobs_url":"https://api.github.com/repos/redux-saga/redux-saga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redux-saga/redux-saga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redux-saga/redux-saga/git/refs{/sha}","trees_url":"https://api.github.com/repos/redux-saga/redux-saga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redux-saga/redux-saga/statuses/{sha}","languages_url":"https://api.github.com/repos/redux-saga/redux-saga/languages","stargazers_url":"https://api.github.com/repos/redux-saga/redux-saga/stargazers","contributors_url":"https://api.github.com/repos/redux-saga/redux-saga/contributors","subscribers_url":"https://api.github.com/repos/redux-saga/redux-saga/subscribers","subscription_url":"https://api.github.com/repos/redux-saga/redux-saga/subscription","commits_url":"https://api.github.com/repos/redux-saga/redux-saga/commits{/sha}","git_commits_url":"https://api.github.com/repos/redux-saga/redux-saga/git/commits{/sha}","comments_url":"https://api.github.com/repos/redux-saga/redux-saga/comments{/number}","issue_comment_url":"https://api.github.com/repos/redux-saga/redux-saga/issues/comments{/number}","contents_url":"https://api.github.com/repos/redux-saga/redux-saga/contents/{+path}","compare_url":"https://api.github.com/repos/redux-saga/redux-saga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redux-saga/redux-saga/merges","archive_url":"https://api.github.com/repos/redux-saga/redux-saga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redux-saga/redux-saga/downloads","issues_url":"https://api.github.com/repos/redux-saga/redux-saga/issues{/number}","pulls_url":"https://api.github.com/repos/redux-saga/redux-saga/pulls{/number}","milestones_url":"https://api.github.com/repos/redux-saga/redux-saga/milestones{/number}","notifications_url":"https://api.github.com/repos/redux-saga/redux-saga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redux-saga/redux-saga/labels{/name}","releases_url":"https://api.github.com/repos/redux-saga/redux-saga/releases{/id}","deployments_url":"https://api.github.com/repos/redux-saga/redux-saga/deployments","created_at":"2015-11-29T16:58:12Z","updated_at":"2018-10-15T08:25:05Z","pushed_at":"2018-10-15T09:08:02Z","git_url":"git://github.com/redux-saga/redux-saga.git","ssh_url":"git@github.com:redux-saga/redux-saga.git","clone_url":"https://github.com/redux-saga/redux-saga.git","svn_url":"https://github.com/redux-saga/redux-saga","homepage":"https://redux-saga.js.org/","size":7220,"stargazers_count":15422,"watchers_count":15422,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1320,"mirror_url":null,"archived":false,"open_issues_count":67,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1320,"open_issues":67,"watchers":15422,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redux-saga/redux-saga/pulls/1637"},"html":{"href":"https://github.com/redux-saga/redux-saga/pull/1637"},"issue":{"href":"https://api.github.com/repos/redux-saga/redux-saga/issues/1637"},"comments":{"href":"https://api.github.com/repos/redux-saga/redux-saga/issues/1637/comments"},"review_comments":{"href":"https://api.github.com/repos/redux-saga/redux-saga/pulls/1637/comments"},"review_comment":{"href":"https://api.github.com/repos/redux-saga/redux-saga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redux-saga/redux-saga/pulls/1637/commits"},"statuses":{"href":"https://api.github.com/repos/redux-saga/redux-saga/statuses/bd3d3eebe4ad1b956d4fb9c0c41e7ad87a904063"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":10,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"shinima"}}