{"action":"created","comment":{"url":"https://api.github.com/repos/spinnaker/orca/pulls/comments/65277812","id":65277812,"diff_hunk":"@@ -127,23 +165,124 @@ private Step initStep() {\n       .build();\n   }\n \n-  private <E extends Execution> FlowBuilder<FlowJobBuilder> buildStepsForStage(FlowBuilder<FlowJobBuilder> flow, Stage<E> stage) {\n+  private <E extends Execution<E>, Q> FlowBuilder<Q> buildStepsForStageAndDownstream(FlowBuilder<Q> flow, Stage<E> stage, Set<Serializable> alreadyBuilt) {\n+    if (alreadyBuilt.contains(stage.getRefId())) {\n+      log.info(\"Already built {}\", stage.getRefId());","path":"orca-spring-batch/src/main/java/com/netflix/spinnaker/orca/batch/SpringBatchExecutionRunner.java","position":124,"original_position":124,"commit_id":"f434eeb0304e6a89ff26d0b564c4cedeab05f6eb","original_commit_id":"a94210c2480ce1d2bc0ef58395b5283d513f3212","user":{"login":"robfletcher","id":95210,"avatar_url":"https://avatars.githubusercontent.com/u/95210?v=3","gravatar_id":"","url":"https://api.github.com/users/robfletcher","html_url":"https://github.com/robfletcher","followers_url":"https://api.github.com/users/robfletcher/followers","following_url":"https://api.github.com/users/robfletcher/following{/other_user}","gists_url":"https://api.github.com/users/robfletcher/gists{/gist_id}","starred_url":"https://api.github.com/users/robfletcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfletcher/subscriptions","organizations_url":"https://api.github.com/users/robfletcher/orgs","repos_url":"https://api.github.com/users/robfletcher/repos","events_url":"https://api.github.com/users/robfletcher/events{/privacy}","received_events_url":"https://api.github.com/users/robfletcher/received_events","type":"User","site_admin":false},"body":"Meant to take that out, my bad","created_at":"2016-05-31T23:00:16Z","updated_at":"2016-05-31T23:00:16Z","html_url":"https://github.com/spinnaker/orca/pull/845#discussion_r65277812","pull_request_url":"https://api.github.com/repos/spinnaker/orca/pulls/845","_links":{"self":{"href":"https://api.github.com/repos/spinnaker/orca/pulls/comments/65277812"},"html":{"href":"https://github.com/spinnaker/orca/pull/845#discussion_r65277812"},"pull_request":{"href":"https://api.github.com/repos/spinnaker/orca/pulls/845"}}},"pull_request":{"url":"https://api.github.com/repos/spinnaker/orca/pulls/845","id":71435851,"html_url":"https://github.com/spinnaker/orca/pull/845","diff_url":"https://github.com/spinnaker/orca/pull/845.diff","patch_url":"https://github.com/spinnaker/orca/pull/845.patch","issue_url":"https://api.github.com/repos/spinnaker/orca/issues/845","number":845,"state":"open","locked":false,"title":"SPIN-1387 parallel stage execution","user":{"login":"robfletcher","id":95210,"avatar_url":"https://avatars.githubusercontent.com/u/95210?v=3","gravatar_id":"","url":"https://api.github.com/users/robfletcher","html_url":"https://github.com/robfletcher","followers_url":"https://api.github.com/users/robfletcher/followers","following_url":"https://api.github.com/users/robfletcher/following{/other_user}","gists_url":"https://api.github.com/users/robfletcher/gists{/gist_id}","starred_url":"https://api.github.com/users/robfletcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfletcher/subscriptions","organizations_url":"https://api.github.com/users/robfletcher/orgs","repos_url":"https://api.github.com/users/robfletcher/repos","events_url":"https://api.github.com/users/robfletcher/events{/privacy}","received_events_url":"https://api.github.com/users/robfletcher/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-25T17:58:29Z","updated_at":"2016-05-31T23:00:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e598a747126612abb66bb3ab984c11bcd9f5232","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spinnaker/orca/pulls/845/commits","review_comments_url":"https://api.github.com/repos/spinnaker/orca/pulls/845/comments","review_comment_url":"https://api.github.com/repos/spinnaker/orca/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spinnaker/orca/issues/845/comments","statuses_url":"https://api.github.com/repos/spinnaker/orca/statuses/f434eeb0304e6a89ff26d0b564c4cedeab05f6eb","head":{"label":"robfletcher:batch-separation","ref":"batch-separation","sha":"f434eeb0304e6a89ff26d0b564c4cedeab05f6eb","user":{"login":"robfletcher","id":95210,"avatar_url":"https://avatars.githubusercontent.com/u/95210?v=3","gravatar_id":"","url":"https://api.github.com/users/robfletcher","html_url":"https://github.com/robfletcher","followers_url":"https://api.github.com/users/robfletcher/followers","following_url":"https://api.github.com/users/robfletcher/following{/other_user}","gists_url":"https://api.github.com/users/robfletcher/gists{/gist_id}","starred_url":"https://api.github.com/users/robfletcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfletcher/subscriptions","organizations_url":"https://api.github.com/users/robfletcher/orgs","repos_url":"https://api.github.com/users/robfletcher/repos","events_url":"https://api.github.com/users/robfletcher/events{/privacy}","received_events_url":"https://api.github.com/users/robfletcher/received_events","type":"User","site_admin":false},"repo":{"id":46739117,"name":"orca","full_name":"robfletcher/orca","owner":{"login":"robfletcher","id":95210,"avatar_url":"https://avatars.githubusercontent.com/u/95210?v=3","gravatar_id":"","url":"https://api.github.com/users/robfletcher","html_url":"https://github.com/robfletcher","followers_url":"https://api.github.com/users/robfletcher/followers","following_url":"https://api.github.com/users/robfletcher/following{/other_user}","gists_url":"https://api.github.com/users/robfletcher/gists{/gist_id}","starred_url":"https://api.github.com/users/robfletcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfletcher/subscriptions","organizations_url":"https://api.github.com/users/robfletcher/orgs","repos_url":"https://api.github.com/users/robfletcher/repos","events_url":"https://api.github.com/users/robfletcher/events{/privacy}","received_events_url":"https://api.github.com/users/robfletcher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robfletcher/orca","description":"orchestration engine","fork":true,"url":"https://api.github.com/repos/robfletcher/orca","forks_url":"https://api.github.com/repos/robfletcher/orca/forks","keys_url":"https://api.github.com/repos/robfletcher/orca/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robfletcher/orca/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robfletcher/orca/teams","hooks_url":"https://api.github.com/repos/robfletcher/orca/hooks","issue_events_url":"https://api.github.com/repos/robfletcher/orca/issues/events{/number}","events_url":"https://api.github.com/repos/robfletcher/orca/events","assignees_url":"https://api.github.com/repos/robfletcher/orca/assignees{/user}","branches_url":"https://api.github.com/repos/robfletcher/orca/branches{/branch}","tags_url":"https://api.github.com/repos/robfletcher/orca/tags","blobs_url":"https://api.github.com/repos/robfletcher/orca/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robfletcher/orca/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robfletcher/orca/git/refs{/sha}","trees_url":"https://api.github.com/repos/robfletcher/orca/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robfletcher/orca/statuses/{sha}","languages_url":"https://api.github.com/repos/robfletcher/orca/languages","stargazers_url":"https://api.github.com/repos/robfletcher/orca/stargazers","contributors_url":"https://api.github.com/repos/robfletcher/orca/contributors","subscribers_url":"https://api.github.com/repos/robfletcher/orca/subscribers","subscription_url":"https://api.github.com/repos/robfletcher/orca/subscription","commits_url":"https://api.github.com/repos/robfletcher/orca/commits{/sha}","git_commits_url":"https://api.github.com/repos/robfletcher/orca/git/commits{/sha}","comments_url":"https://api.github.com/repos/robfletcher/orca/comments{/number}","issue_comment_url":"https://api.github.com/repos/robfletcher/orca/issues/comments{/number}","contents_url":"https://api.github.com/repos/robfletcher/orca/contents/{+path}","compare_url":"https://api.github.com/repos/robfletcher/orca/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robfletcher/orca/merges","archive_url":"https://api.github.com/repos/robfletcher/orca/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robfletcher/orca/downloads","issues_url":"https://api.github.com/repos/robfletcher/orca/issues{/number}","pulls_url":"https://api.github.com/repos/robfletcher/orca/pulls{/number}","milestones_url":"https://api.github.com/repos/robfletcher/orca/milestones{/number}","notifications_url":"https://api.github.com/repos/robfletcher/orca/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robfletcher/orca/labels{/name}","releases_url":"https://api.github.com/repos/robfletcher/orca/releases{/id}","deployments_url":"https://api.github.com/repos/robfletcher/orca/deployments","created_at":"2015-11-23T18:15:19Z","updated_at":"2016-01-19T18:54:40Z","pushed_at":"2016-05-31T22:52:04Z","git_url":"git://github.com/robfletcher/orca.git","ssh_url":"git@github.com:robfletcher/orca.git","clone_url":"https://github.com/robfletcher/orca.git","svn_url":"https://github.com/robfletcher/orca","homepage":"","size":6492,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spinnaker:batch-separation","ref":"batch-separation","sha":"8b585f162b8f3795160ca0f9f511390d42cecd81","user":{"login":"spinnaker","id":7634182,"avatar_url":"https://avatars.githubusercontent.com/u/7634182?v=3","gravatar_id":"","url":"https://api.github.com/users/spinnaker","html_url":"https://github.com/spinnaker","followers_url":"https://api.github.com/users/spinnaker/followers","following_url":"https://api.github.com/users/spinnaker/following{/other_user}","gists_url":"https://api.github.com/users/spinnaker/gists{/gist_id}","starred_url":"https://api.github.com/users/spinnaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinnaker/subscriptions","organizations_url":"https://api.github.com/users/spinnaker/orgs","repos_url":"https://api.github.com/users/spinnaker/repos","events_url":"https://api.github.com/users/spinnaker/events{/privacy}","received_events_url":"https://api.github.com/users/spinnaker/received_events","type":"Organization","site_admin":false},"repo":{"id":19834314,"name":"orca","full_name":"spinnaker/orca","owner":{"login":"spinnaker","id":7634182,"avatar_url":"https://avatars.githubusercontent.com/u/7634182?v=3","gravatar_id":"","url":"https://api.github.com/users/spinnaker","html_url":"https://github.com/spinnaker","followers_url":"https://api.github.com/users/spinnaker/followers","following_url":"https://api.github.com/users/spinnaker/following{/other_user}","gists_url":"https://api.github.com/users/spinnaker/gists{/gist_id}","starred_url":"https://api.github.com/users/spinnaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinnaker/subscriptions","organizations_url":"https://api.github.com/users/spinnaker/orgs","repos_url":"https://api.github.com/users/spinnaker/repos","events_url":"https://api.github.com/users/spinnaker/events{/privacy}","received_events_url":"https://api.github.com/users/spinnaker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spinnaker/orca","description":"orchestration engine","fork":false,"url":"https://api.github.com/repos/spinnaker/orca","forks_url":"https://api.github.com/repos/spinnaker/orca/forks","keys_url":"https://api.github.com/repos/spinnaker/orca/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spinnaker/orca/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spinnaker/orca/teams","hooks_url":"https://api.github.com/repos/spinnaker/orca/hooks","issue_events_url":"https://api.github.com/repos/spinnaker/orca/issues/events{/number}","events_url":"https://api.github.com/repos/spinnaker/orca/events","assignees_url":"https://api.github.com/repos/spinnaker/orca/assignees{/user}","branches_url":"https://api.github.com/repos/spinnaker/orca/branches{/branch}","tags_url":"https://api.github.com/repos/spinnaker/orca/tags","blobs_url":"https://api.github.com/repos/spinnaker/orca/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spinnaker/orca/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spinnaker/orca/git/refs{/sha}","trees_url":"https://api.github.com/repos/spinnaker/orca/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spinnaker/orca/statuses/{sha}","languages_url":"https://api.github.com/repos/spinnaker/orca/languages","stargazers_url":"https://api.github.com/repos/spinnaker/orca/stargazers","contributors_url":"https://api.github.com/repos/spinnaker/orca/contributors","subscribers_url":"https://api.github.com/repos/spinnaker/orca/subscribers","subscription_url":"https://api.github.com/repos/spinnaker/orca/subscription","commits_url":"https://api.github.com/repos/spinnaker/orca/commits{/sha}","git_commits_url":"https://api.github.com/repos/spinnaker/orca/git/commits{/sha}","comments_url":"https://api.github.com/repos/spinnaker/orca/comments{/number}","issue_comment_url":"https://api.github.com/repos/spinnaker/orca/issues/comments{/number}","contents_url":"https://api.github.com/repos/spinnaker/orca/contents/{+path}","compare_url":"https://api.github.com/repos/spinnaker/orca/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spinnaker/orca/merges","archive_url":"https://api.github.com/repos/spinnaker/orca/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spinnaker/orca/downloads","issues_url":"https://api.github.com/repos/spinnaker/orca/issues{/number}","pulls_url":"https://api.github.com/repos/spinnaker/orca/pulls{/number}","milestones_url":"https://api.github.com/repos/spinnaker/orca/milestones{/number}","notifications_url":"https://api.github.com/repos/spinnaker/orca/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spinnaker/orca/labels{/name}","releases_url":"https://api.github.com/repos/spinnaker/orca/releases{/id}","deployments_url":"https://api.github.com/repos/spinnaker/orca/deployments","created_at":"2014-05-15T20:33:00Z","updated_at":"2016-05-28T16:07:23Z","pushed_at":"2016-05-31T22:52:05Z","git_url":"git://github.com/spinnaker/orca.git","ssh_url":"git@github.com:spinnaker/orca.git","clone_url":"https://github.com/spinnaker/orca.git","svn_url":"https://github.com/spinnaker/orca","homepage":"","size":9240,"stargazers_count":29,"watchers_count":29,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":48,"forks":49,"open_issues":48,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spinnaker/orca/pulls/845"},"html":{"href":"https://github.com/spinnaker/orca/pull/845"},"issue":{"href":"https://api.github.com/repos/spinnaker/orca/issues/845"},"comments":{"href":"https://api.github.com/repos/spinnaker/orca/issues/845/comments"},"review_comments":{"href":"https://api.github.com/repos/spinnaker/orca/pulls/845/comments"},"review_comment":{"href":"https://api.github.com/repos/spinnaker/orca/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spinnaker/orca/pulls/845/commits"},"statuses":{"href":"https://api.github.com/repos/spinnaker/orca/statuses/f434eeb0304e6a89ff26d0b564c4cedeab05f6eb"}}}}
{"actor":{"display_login":"robfletcher"}}