{"action":"created","comment":{"url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/comments/233818210","pull_request_review_id":175319095,"id":233818210,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzgxODIxMA==","diff_hunk":"@@ -187,3 +189,10 @@ def run_serial_workflow(workflow_uuid, workflow_workspace,\n              'at {workflow_workspace}.'.format(\n                  workflow_uuid=workflow_uuid,\n                  workflow_workspace=workflow_workspace))\n+\n+\n+@task_revoked.connect\n+def on_task_revoked(*args, **kwargs):","path":"reana_workflow_engine_serial/tasks.py","position":23,"original_position":23,"commit_id":"08f28d2fd4c5b817581b0e3aee28b9eafabd6db8","original_commit_id":"08f28d2fd4c5b817581b0e3aee28b9eafabd6db8","user":{"login":"diegodelemos","id":9035606,"node_id":"MDQ6VXNlcjkwMzU2MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9035606?v=4","gravatar_id":"","url":"https://api.github.com/users/diegodelemos","html_url":"https://github.com/diegodelemos","followers_url":"https://api.github.com/users/diegodelemos/followers","following_url":"https://api.github.com/users/diegodelemos/following{/other_user}","gists_url":"https://api.github.com/users/diegodelemos/gists{/gist_id}","starred_url":"https://api.github.com/users/diegodelemos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegodelemos/subscriptions","organizations_url":"https://api.github.com/users/diegodelemos/orgs","repos_url":"https://api.github.com/users/diegodelemos/repos","events_url":"https://api.github.com/users/diegodelemos/events{/privacy}","received_events_url":"https://api.github.com/users/diegodelemos/received_events","type":"User","site_admin":false},"body":"The current approach doesn't completely solve the problem since we do not have the knowledge of which jobs have been submitted to R-J-Controller so we can not stop them. A separate repository [here](https://github.com/diegodelemos/stop-celery-task) with a toy example to solve it.\r\n","created_at":"2018-11-15T12:10:58Z","updated_at":"2018-11-15T12:10:58Z","html_url":"https://github.com/reanahub/reana-workflow-engine-serial/pull/52#discussion_r233818210","pull_request_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/52","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/comments/233818210"},"html":{"href":"https://github.com/reanahub/reana-workflow-engine-serial/pull/52#discussion_r233818210"},"pull_request":{"href":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/52","id":230553132,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNTUzMTMy","html_url":"https://github.com/reanahub/reana-workflow-engine-serial/pull/52","diff_url":"https://github.com/reanahub/reana-workflow-engine-serial/pull/52.diff","patch_url":"https://github.com/reanahub/reana-workflow-engine-serial/pull/52.patch","issue_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/issues/52","number":52,"state":"open","locked":false,"title":"tasks: add revoke handler","user":{"login":"diegodelemos","id":9035606,"node_id":"MDQ6VXNlcjkwMzU2MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9035606?v=4","gravatar_id":"","url":"https://api.github.com/users/diegodelemos","html_url":"https://github.com/diegodelemos","followers_url":"https://api.github.com/users/diegodelemos/followers","following_url":"https://api.github.com/users/diegodelemos/following{/other_user}","gists_url":"https://api.github.com/users/diegodelemos/gists{/gist_id}","starred_url":"https://api.github.com/users/diegodelemos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegodelemos/subscriptions","organizations_url":"https://api.github.com/users/diegodelemos/orgs","repos_url":"https://api.github.com/users/diegodelemos/repos","events_url":"https://api.github.com/users/diegodelemos/events{/privacy}","received_events_url":"https://api.github.com/users/diegodelemos/received_events","type":"User","site_admin":false},"body":"Connect reanahub/reana-client#194.","created_at":"2018-11-13T17:01:01Z","updated_at":"2018-11-15T12:10:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74fc5dad7286ec9b4deb0dabb70532d243398bd6","assignee":{"login":"diegodelemos","id":9035606,"node_id":"MDQ6VXNlcjkwMzU2MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9035606?v=4","gravatar_id":"","url":"https://api.github.com/users/diegodelemos","html_url":"https://github.com/diegodelemos","followers_url":"https://api.github.com/users/diegodelemos/followers","following_url":"https://api.github.com/users/diegodelemos/following{/other_user}","gists_url":"https://api.github.com/users/diegodelemos/gists{/gist_id}","starred_url":"https://api.github.com/users/diegodelemos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegodelemos/subscriptions","organizations_url":"https://api.github.com/users/diegodelemos/orgs","repos_url":"https://api.github.com/users/diegodelemos/repos","events_url":"https://api.github.com/users/diegodelemos/events{/privacy}","received_events_url":"https://api.github.com/users/diegodelemos/received_events","type":"User","site_admin":false},"assignees":[{"login":"diegodelemos","id":9035606,"node_id":"MDQ6VXNlcjkwMzU2MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9035606?v=4","gravatar_id":"","url":"https://api.github.com/users/diegodelemos","html_url":"https://github.com/diegodelemos","followers_url":"https://api.github.com/users/diegodelemos/followers","following_url":"https://api.github.com/users/diegodelemos/following{/other_user}","gists_url":"https://api.github.com/users/diegodelemos/gists{/gist_id}","starred_url":"https://api.github.com/users/diegodelemos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegodelemos/subscriptions","organizations_url":"https://api.github.com/users/diegodelemos/orgs","repos_url":"https://api.github.com/users/diegodelemos/repos","events_url":"https://api.github.com/users/diegodelemos/events{/privacy}","received_events_url":"https://api.github.com/users/diegodelemos/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":904726455,"node_id":"MDU6TGFiZWw5MDQ3MjY0NTU=","url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/labels/Need:%20work","name":"Need: work","color":"8fbac8","default":false},{"id":904726222,"node_id":"MDU6TGFiZWw5MDQ3MjYyMjI=","url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/labels/Status:%20in%20review","name":"Status: in review","color":"3cbc3c","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/52/commits","review_comments_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/52/comments","review_comment_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/issues/52/comments","statuses_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/statuses/08f28d2fd4c5b817581b0e3aee28b9eafabd6db8","head":{"label":"diegodelemos:reana-client-194-workflow-stop","ref":"reana-client-194-workflow-stop","sha":"08f28d2fd4c5b817581b0e3aee28b9eafabd6db8","user":{"login":"diegodelemos","id":9035606,"node_id":"MDQ6VXNlcjkwMzU2MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9035606?v=4","gravatar_id":"","url":"https://api.github.com/users/diegodelemos","html_url":"https://github.com/diegodelemos","followers_url":"https://api.github.com/users/diegodelemos/followers","following_url":"https://api.github.com/users/diegodelemos/following{/other_user}","gists_url":"https://api.github.com/users/diegodelemos/gists{/gist_id}","starred_url":"https://api.github.com/users/diegodelemos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegodelemos/subscriptions","organizations_url":"https://api.github.com/users/diegodelemos/orgs","repos_url":"https://api.github.com/users/diegodelemos/repos","events_url":"https://api.github.com/users/diegodelemos/events{/privacy}","received_events_url":"https://api.github.com/users/diegodelemos/received_events","type":"User","site_admin":false},"repo":{"id":130374476,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAzNzQ0NzY=","name":"reana-workflow-engine-serial","full_name":"diegodelemos/reana-workflow-engine-serial","private":false,"owner":{"login":"diegodelemos","id":9035606,"node_id":"MDQ6VXNlcjkwMzU2MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9035606?v=4","gravatar_id":"","url":"https://api.github.com/users/diegodelemos","html_url":"https://github.com/diegodelemos","followers_url":"https://api.github.com/users/diegodelemos/followers","following_url":"https://api.github.com/users/diegodelemos/following{/other_user}","gists_url":"https://api.github.com/users/diegodelemos/gists{/gist_id}","starred_url":"https://api.github.com/users/diegodelemos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegodelemos/subscriptions","organizations_url":"https://api.github.com/users/diegodelemos/orgs","repos_url":"https://api.github.com/users/diegodelemos/repos","events_url":"https://api.github.com/users/diegodelemos/events{/privacy}","received_events_url":"https://api.github.com/users/diegodelemos/received_events","type":"User","site_admin":false},"html_url":"https://github.com/diegodelemos/reana-workflow-engine-serial","description":"REANA Workflow Engine Serial","fork":true,"url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial","forks_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/forks","keys_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/teams","hooks_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/hooks","issue_events_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/issues/events{/number}","events_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/events","assignees_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/assignees{/user}","branches_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/branches{/branch}","tags_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/tags","blobs_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/git/refs{/sha}","trees_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/statuses/{sha}","languages_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/languages","stargazers_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/stargazers","contributors_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/contributors","subscribers_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/subscribers","subscription_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/subscription","commits_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/commits{/sha}","git_commits_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/git/commits{/sha}","comments_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/comments{/number}","issue_comment_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/issues/comments{/number}","contents_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/contents/{+path}","compare_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/merges","archive_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/downloads","issues_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/issues{/number}","pulls_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/pulls{/number}","milestones_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/milestones{/number}","notifications_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/labels{/name}","releases_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/releases{/id}","deployments_url":"https://api.github.com/repos/diegodelemos/reana-workflow-engine-serial/deployments","created_at":"2018-04-20T14:38:54Z","updated_at":"2018-11-07T11:04:48Z","pushed_at":"2018-11-13T17:00:17Z","git_url":"git://github.com/diegodelemos/reana-workflow-engine-serial.git","ssh_url":"git@github.com:diegodelemos/reana-workflow-engine-serial.git","clone_url":"https://github.com/diegodelemos/reana-workflow-engine-serial.git","svn_url":"https://github.com/diegodelemos/reana-workflow-engine-serial","homepage":"","size":93,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"reanahub:master","ref":"master","sha":"c8b281eaad49968849ca1a5c9ef680a0076b0080","user":{"login":"reanahub","id":25082830,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDgyODMw","avatar_url":"https://avatars1.githubusercontent.com/u/25082830?v=4","gravatar_id":"","url":"https://api.github.com/users/reanahub","html_url":"https://github.com/reanahub","followers_url":"https://api.github.com/users/reanahub/followers","following_url":"https://api.github.com/users/reanahub/following{/other_user}","gists_url":"https://api.github.com/users/reanahub/gists{/gist_id}","starred_url":"https://api.github.com/users/reanahub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reanahub/subscriptions","organizations_url":"https://api.github.com/users/reanahub/orgs","repos_url":"https://api.github.com/users/reanahub/repos","events_url":"https://api.github.com/users/reanahub/events{/privacy}","received_events_url":"https://api.github.com/users/reanahub/received_events","type":"Organization","site_admin":false},"repo":{"id":129899432,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk4OTk0MzI=","name":"reana-workflow-engine-serial","full_name":"reanahub/reana-workflow-engine-serial","private":false,"owner":{"login":"reanahub","id":25082830,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDgyODMw","avatar_url":"https://avatars1.githubusercontent.com/u/25082830?v=4","gravatar_id":"","url":"https://api.github.com/users/reanahub","html_url":"https://github.com/reanahub","followers_url":"https://api.github.com/users/reanahub/followers","following_url":"https://api.github.com/users/reanahub/following{/other_user}","gists_url":"https://api.github.com/users/reanahub/gists{/gist_id}","starred_url":"https://api.github.com/users/reanahub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reanahub/subscriptions","organizations_url":"https://api.github.com/users/reanahub/orgs","repos_url":"https://api.github.com/users/reanahub/repos","events_url":"https://api.github.com/users/reanahub/events{/privacy}","received_events_url":"https://api.github.com/users/reanahub/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/reanahub/reana-workflow-engine-serial","description":"REANA Workflow Engine Serial","fork":false,"url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial","forks_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/forks","keys_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/teams","hooks_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/hooks","issue_events_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/issues/events{/number}","events_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/events","assignees_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/assignees{/user}","branches_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/branches{/branch}","tags_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/tags","blobs_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/git/refs{/sha}","trees_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/statuses/{sha}","languages_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/languages","stargazers_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/stargazers","contributors_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/contributors","subscribers_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/subscribers","subscription_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/subscription","commits_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/commits{/sha}","git_commits_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/git/commits{/sha}","comments_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/comments{/number}","issue_comment_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/issues/comments{/number}","contents_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/contents/{+path}","compare_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/merges","archive_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/downloads","issues_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/issues{/number}","pulls_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls{/number}","milestones_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/milestones{/number}","notifications_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/labels{/name}","releases_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/releases{/id}","deployments_url":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/deployments","created_at":"2018-04-17T12:14:14Z","updated_at":"2018-11-06T18:08:25Z","pushed_at":"2018-11-14T11:02:04Z","git_url":"git://github.com/reanahub/reana-workflow-engine-serial.git","ssh_url":"git@github.com:reanahub/reana-workflow-engine-serial.git","clone_url":"https://github.com/reanahub/reana-workflow-engine-serial.git","svn_url":"https://github.com/reanahub/reana-workflow-engine-serial","homepage":"http://reana-workflow-engine-serial.readthedocs.org","size":93,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/52"},"html":{"href":"https://github.com/reanahub/reana-workflow-engine-serial/pull/52"},"issue":{"href":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/issues/52"},"comments":{"href":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/reanahub/reana-workflow-engine-serial/statuses/08f28d2fd4c5b817581b0e3aee28b9eafabd6db8"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"diegodelemos"}}