{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/Shopify/sv-rollout/pulls/5","id":31868211,"html_url":"https://github.com/Shopify/sv-rollout/pull/5","diff_url":"https://github.com/Shopify/sv-rollout/pull/5.diff","patch_url":"https://github.com/Shopify/sv-rollout/pull/5.patch","issue_url":"https://api.github.com/repos/Shopify/sv-rollout/issues/5","number":5,"state":"open","locked":false,"title":"Randomize restart order","user":{"login":"burke","id":1284,"avatar_url":"https://avatars.githubusercontent.com/u/1284?v=3","gravatar_id":"","url":"https://api.github.com/users/burke","html_url":"https://github.com/burke","followers_url":"https://api.github.com/users/burke/followers","following_url":"https://api.github.com/users/burke/following{/other_user}","gists_url":"https://api.github.com/users/burke/gists{/gist_id}","starred_url":"https://api.github.com/users/burke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burke/subscriptions","organizations_url":"https://api.github.com/users/burke/orgs","repos_url":"https://api.github.com/users/burke/repos","events_url":"https://api.github.com/users/burke/events{/privacy}","received_events_url":"https://api.github.com/users/burke/received_events","type":"User","site_admin":false},"body":"@graemej @Sirupsen \r\n\r\nRight now it restarts them all in lexicographical order, which is fine, but I think the randomness will serve us better.\r\n\r\nThis is especially true as I'm about to change it to return early if the timeout acceptance threshold has been reached while there are still a final batch of processes restarting.","created_at":"2015-03-24T20:47:24Z","updated_at":"2015-03-24T20:47:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/sv-rollout/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Shopify/sv-rollout/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Shopify/sv-rollout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shopify/sv-rollout/issues/5/comments","statuses_url":"https://api.github.com/repos/Shopify/sv-rollout/statuses/2050995d07e5adc43a9ed095605dba641d2dee09","head":{"label":"Shopify:randomize-restart-order","ref":"randomize-restart-order","sha":"2050995d07e5adc43a9ed095605dba641d2dee09","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":25880913,"name":"sv-rollout","full_name":"Shopify/sv-rollout","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/sv-rollout","description":null,"fork":false,"url":"https://api.github.com/repos/Shopify/sv-rollout","forks_url":"https://api.github.com/repos/Shopify/sv-rollout/forks","keys_url":"https://api.github.com/repos/Shopify/sv-rollout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/sv-rollout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/sv-rollout/teams","hooks_url":"https://api.github.com/repos/Shopify/sv-rollout/hooks","issue_events_url":"https://api.github.com/repos/Shopify/sv-rollout/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/sv-rollout/events","assignees_url":"https://api.github.com/repos/Shopify/sv-rollout/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/sv-rollout/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/sv-rollout/tags","blobs_url":"https://api.github.com/repos/Shopify/sv-rollout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/sv-rollout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/sv-rollout/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/sv-rollout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/sv-rollout/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/sv-rollout/languages","stargazers_url":"https://api.github.com/repos/Shopify/sv-rollout/stargazers","contributors_url":"https://api.github.com/repos/Shopify/sv-rollout/contributors","subscribers_url":"https://api.github.com/repos/Shopify/sv-rollout/subscribers","subscription_url":"https://api.github.com/repos/Shopify/sv-rollout/subscription","commits_url":"https://api.github.com/repos/Shopify/sv-rollout/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/sv-rollout/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/sv-rollout/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/sv-rollout/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/sv-rollout/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/sv-rollout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/sv-rollout/merges","archive_url":"https://api.github.com/repos/Shopify/sv-rollout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/sv-rollout/downloads","issues_url":"https://api.github.com/repos/Shopify/sv-rollout/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/sv-rollout/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/sv-rollout/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/sv-rollout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/sv-rollout/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/sv-rollout/releases{/id}","created_at":"2014-10-28T17:18:20Z","updated_at":"2015-02-08T12:25:53Z","pushed_at":"2015-03-24T20:45:13Z","git_url":"git://github.com/Shopify/sv-rollout.git","ssh_url":"git@github.com:Shopify/sv-rollout.git","clone_url":"https://github.com/Shopify/sv-rollout.git","svn_url":"https://github.com/Shopify/sv-rollout","homepage":null,"size":2478,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"41fbca42fddee86b0f0c984ef53d0935f126aee5","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":25880913,"name":"sv-rollout","full_name":"Shopify/sv-rollout","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/sv-rollout","description":null,"fork":false,"url":"https://api.github.com/repos/Shopify/sv-rollout","forks_url":"https://api.github.com/repos/Shopify/sv-rollout/forks","keys_url":"https://api.github.com/repos/Shopify/sv-rollout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/sv-rollout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/sv-rollout/teams","hooks_url":"https://api.github.com/repos/Shopify/sv-rollout/hooks","issue_events_url":"https://api.github.com/repos/Shopify/sv-rollout/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/sv-rollout/events","assignees_url":"https://api.github.com/repos/Shopify/sv-rollout/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/sv-rollout/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/sv-rollout/tags","blobs_url":"https://api.github.com/repos/Shopify/sv-rollout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/sv-rollout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/sv-rollout/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/sv-rollout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/sv-rollout/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/sv-rollout/languages","stargazers_url":"https://api.github.com/repos/Shopify/sv-rollout/stargazers","contributors_url":"https://api.github.com/repos/Shopify/sv-rollout/contributors","subscribers_url":"https://api.github.com/repos/Shopify/sv-rollout/subscribers","subscription_url":"https://api.github.com/repos/Shopify/sv-rollout/subscription","commits_url":"https://api.github.com/repos/Shopify/sv-rollout/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/sv-rollout/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/sv-rollout/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/sv-rollout/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/sv-rollout/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/sv-rollout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/sv-rollout/merges","archive_url":"https://api.github.com/repos/Shopify/sv-rollout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/sv-rollout/downloads","issues_url":"https://api.github.com/repos/Shopify/sv-rollout/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/sv-rollout/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/sv-rollout/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/sv-rollout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/sv-rollout/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/sv-rollout/releases{/id}","created_at":"2014-10-28T17:18:20Z","updated_at":"2015-02-08T12:25:53Z","pushed_at":"2015-03-24T20:45:13Z","git_url":"git://github.com/Shopify/sv-rollout.git","ssh_url":"git@github.com:Shopify/sv-rollout.git","clone_url":"https://github.com/Shopify/sv-rollout.git","svn_url":"https://github.com/Shopify/sv-rollout","homepage":null,"size":2478,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/sv-rollout/pulls/5"},"html":{"href":"https://github.com/Shopify/sv-rollout/pull/5"},"issue":{"href":"https://api.github.com/repos/Shopify/sv-rollout/issues/5"},"comments":{"href":"https://api.github.com/repos/Shopify/sv-rollout/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/sv-rollout/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/sv-rollout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shopify/sv-rollout/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/sv-rollout/statuses/2050995d07e5adc43a9ed095605dba641d2dee09"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":56,"deletions":12,"changed_files":3}}