{"action":"created","issue":{"url":"https://api.github.com/repos/thieman/dagobah/issues/60","labels_url":"https://api.github.com/repos/thieman/dagobah/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/thieman/dagobah/issues/60/comments","events_url":"https://api.github.com/repos/thieman/dagobah/issues/60/events","html_url":"https://github.com/thieman/dagobah/issues/60","id":33139695,"number":60,"title":"Run Jobs inside Jobs","user":{"login":"thieman","id":1414305,"avatar_url":"https://avatars.githubusercontent.com/u/1414305?v=3","gravatar_id":"","url":"https://api.github.com/users/thieman","html_url":"https://github.com/thieman","followers_url":"https://api.github.com/users/thieman/followers","following_url":"https://api.github.com/users/thieman/following{/other_user}","gists_url":"https://api.github.com/users/thieman/gists{/gist_id}","starred_url":"https://api.github.com/users/thieman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thieman/subscriptions","organizations_url":"https://api.github.com/users/thieman/orgs","repos_url":"https://api.github.com/users/thieman/repos","events_url":"https://api.github.com/users/thieman/events{/privacy}","received_events_url":"https://api.github.com/users/thieman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thieman/dagobah/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":31,"created_at":"2014-05-09T01:43:08Z","updated_at":"2015-08-07T21:51:50Z","closed_at":null,"body":"It would be cool to be able to run a Job inside of another Job (basically like it's a Task). For those of you not familiar with the insane jargon, I'm talking about a DAG that could look like, for a simple example:\r\n\r\n**Job 1**: Task 1 -> Job 2 -> Task 2\r\n\r\n**Job 2**: Task 3 -> Task 4\r\n\r\nJob 1 would complete Task 1, start Job 2, monitor its completion status, and if it finishes successfully then proceed on to Task 2.\r\n\r\nI think the first step is to make Jobs *either* scheduled or able to be called from inside other Jobs. There will be a lot of edge cases to argue about along the way.\r\n\r\n<img src=\"http://bossip.files.wordpress.com/2012/09/xzibit.png?w=500\" width=150></img>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thieman/dagobah/issues/comments/128840961","html_url":"https://github.com/thieman/dagobah/issues/60#issuecomment-128840961","issue_url":"https://api.github.com/repos/thieman/dagobah/issues/60","id":128840961,"user":{"login":"rclough","id":186589,"avatar_url":"https://avatars.githubusercontent.com/u/186589?v=3","gravatar_id":"","url":"https://api.github.com/users/rclough","html_url":"https://github.com/rclough","followers_url":"https://api.github.com/users/rclough/followers","following_url":"https://api.github.com/users/rclough/following{/other_user}","gists_url":"https://api.github.com/users/rclough/gists{/gist_id}","starred_url":"https://api.github.com/users/rclough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rclough/subscriptions","organizations_url":"https://api.github.com/users/rclough/orgs","repos_url":"https://api.github.com/users/rclough/repos","events_url":"https://api.github.com/users/rclough/events{/privacy}","received_events_url":"https://api.github.com/users/rclough/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T21:51:50Z","updated_at":"2015-08-07T21:51:50Z","body":"RE # 4, I think I get it. The expanded_tasks list prevents re-expanding a task once it has been expanded once "}}