{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/spotify/styx/pulls/10","id":95935639,"html_url":"https://github.com/spotify/styx/pull/10","diff_url":"https://github.com/spotify/styx/pull/10.diff","patch_url":"https://github.com/spotify/styx/pull/10.patch","issue_url":"https://api.github.com/repos/spotify/styx/issues/10","number":10,"state":"closed","locked":false,"title":"Introduce Queued State","user":{"login":"rouzwawi","id":655452,"avatar_url":"https://avatars.githubusercontent.com/u/655452?v=3","gravatar_id":"","url":"https://api.github.com/users/rouzwawi","html_url":"https://github.com/rouzwawi","followers_url":"https://api.github.com/users/rouzwawi/followers","following_url":"https://api.github.com/users/rouzwawi/following{/other_user}","gists_url":"https://api.github.com/users/rouzwawi/gists{/gist_id}","starred_url":"https://api.github.com/users/rouzwawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rouzwawi/subscriptions","organizations_url":"https://api.github.com/users/rouzwawi/orgs","repos_url":"https://api.github.com/users/rouzwawi/repos","events_url":"https://api.github.com/users/rouzwawi/events{/privacy}","received_events_url":"https://api.github.com/users/rouzwawi/received_events","type":"User","site_admin":false},"body":"This is mainly a refactor of existing behaviour into a setup that makes it easier to implement further scheduling behaviour.\r\n\r\nThe change also renames the `AWAITING_RETRY` state to a more generic `QUEUED` state.\r\n\r\n```\r\n> STYX_CLI_HOST=localhost:8080 styx ls -c example-component\r\n  WORKFLOW INSTANCE    STATE            LAST EXECUTION ID                               PREVIOUS EXECUTION INFO\r\n\r\nexample-component bihourly-job\r\n  2016-12-01           QUEUED           styx-run-bc83472a-f4e8-4bab-a86a-070bf6649054   Exit code: 20\r\n  2016-12-02           QUEUED           styx-run-212ef3f0-8ae3-4f56-b969-75319ef93cda   Exit code: 20\r\n  2016-12-03           QUEUED           styx-run-6a03f8de-8b69-42e0-8615-d00371ae5afe   Exit code: 20\r\n```","created_at":"2016-11-30T17:20:48Z","updated_at":"2016-12-07T10:20:58Z","closed_at":"2016-12-07T10:20:58Z","merged_at":"2016-12-07T10:20:58Z","merge_commit_sha":"77cc992bc7ede5a2b0df7caf467688a73f3feaff","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/spotify/styx/pulls/10/commits","review_comments_url":"https://api.github.com/repos/spotify/styx/pulls/10/comments","review_comment_url":"https://api.github.com/repos/spotify/styx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spotify/styx/issues/10/comments","statuses_url":"https://api.github.com/repos/spotify/styx/statuses/43c17ce1087c0ee8245116143b2600ecd4f5fa6c","head":{"label":"spotify:queued","ref":"queued","sha":"43c17ce1087c0ee8245116143b2600ecd4f5fa6c","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":74431644,"name":"styx","full_name":"spotify/styx","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/styx","description":"The path to execution","fork":false,"url":"https://api.github.com/repos/spotify/styx","forks_url":"https://api.github.com/repos/spotify/styx/forks","keys_url":"https://api.github.com/repos/spotify/styx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/styx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/styx/teams","hooks_url":"https://api.github.com/repos/spotify/styx/hooks","issue_events_url":"https://api.github.com/repos/spotify/styx/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/styx/events","assignees_url":"https://api.github.com/repos/spotify/styx/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/styx/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/styx/tags","blobs_url":"https://api.github.com/repos/spotify/styx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/styx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/styx/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/styx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/styx/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/styx/languages","stargazers_url":"https://api.github.com/repos/spotify/styx/stargazers","contributors_url":"https://api.github.com/repos/spotify/styx/contributors","subscribers_url":"https://api.github.com/repos/spotify/styx/subscribers","subscription_url":"https://api.github.com/repos/spotify/styx/subscription","commits_url":"https://api.github.com/repos/spotify/styx/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/styx/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/styx/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/styx/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotify/styx/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/styx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/styx/merges","archive_url":"https://api.github.com/repos/spotify/styx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/styx/downloads","issues_url":"https://api.github.com/repos/spotify/styx/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/styx/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/styx/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/styx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/styx/labels{/name}","releases_url":"https://api.github.com/repos/spotify/styx/releases{/id}","deployments_url":"https://api.github.com/repos/spotify/styx/deployments","created_at":"2016-11-22T03:44:55Z","updated_at":"2016-11-30T12:00:44Z","pushed_at":"2016-12-07T10:20:58Z","git_url":"git://github.com/spotify/styx.git","ssh_url":"git@github.com:spotify/styx.git","clone_url":"https://github.com/spotify/styx.git","svn_url":"https://github.com/spotify/styx","homepage":"","size":725,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":5,"default_branch":"master"}},"base":{"label":"spotify:master","ref":"master","sha":"c789b18db6f1034273b72f67f8a461b592fcd380","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":74431644,"name":"styx","full_name":"spotify/styx","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/styx","description":"The path to execution","fork":false,"url":"https://api.github.com/repos/spotify/styx","forks_url":"https://api.github.com/repos/spotify/styx/forks","keys_url":"https://api.github.com/repos/spotify/styx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/styx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/styx/teams","hooks_url":"https://api.github.com/repos/spotify/styx/hooks","issue_events_url":"https://api.github.com/repos/spotify/styx/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/styx/events","assignees_url":"https://api.github.com/repos/spotify/styx/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/styx/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/styx/tags","blobs_url":"https://api.github.com/repos/spotify/styx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/styx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/styx/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/styx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/styx/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/styx/languages","stargazers_url":"https://api.github.com/repos/spotify/styx/stargazers","contributors_url":"https://api.github.com/repos/spotify/styx/contributors","subscribers_url":"https://api.github.com/repos/spotify/styx/subscribers","subscription_url":"https://api.github.com/repos/spotify/styx/subscription","commits_url":"https://api.github.com/repos/spotify/styx/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/styx/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/styx/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/styx/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotify/styx/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/styx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/styx/merges","archive_url":"https://api.github.com/repos/spotify/styx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/styx/downloads","issues_url":"https://api.github.com/repos/spotify/styx/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/styx/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/styx/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/styx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/styx/labels{/name}","releases_url":"https://api.github.com/repos/spotify/styx/releases{/id}","deployments_url":"https://api.github.com/repos/spotify/styx/deployments","created_at":"2016-11-22T03:44:55Z","updated_at":"2016-11-30T12:00:44Z","pushed_at":"2016-12-07T10:20:58Z","git_url":"git://github.com/spotify/styx.git","ssh_url":"git@github.com:spotify/styx.git","clone_url":"https://github.com/spotify/styx.git","svn_url":"https://github.com/spotify/styx","homepage":"","size":725,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spotify/styx/pulls/10"},"html":{"href":"https://github.com/spotify/styx/pull/10"},"issue":{"href":"https://api.github.com/repos/spotify/styx/issues/10"},"comments":{"href":"https://api.github.com/repos/spotify/styx/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/spotify/styx/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/spotify/styx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spotify/styx/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/spotify/styx/statuses/43c17ce1087c0ee8245116143b2600ecd4f5fa6c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rouzwawi","id":655452,"avatar_url":"https://avatars.githubusercontent.com/u/655452?v=3","gravatar_id":"","url":"https://api.github.com/users/rouzwawi","html_url":"https://github.com/rouzwawi","followers_url":"https://api.github.com/users/rouzwawi/followers","following_url":"https://api.github.com/users/rouzwawi/following{/other_user}","gists_url":"https://api.github.com/users/rouzwawi/gists{/gist_id}","starred_url":"https://api.github.com/users/rouzwawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rouzwawi/subscriptions","organizations_url":"https://api.github.com/users/rouzwawi/orgs","repos_url":"https://api.github.com/users/rouzwawi/repos","events_url":"https://api.github.com/users/rouzwawi/events{/privacy}","received_events_url":"https://api.github.com/users/rouzwawi/received_events","type":"User","site_admin":false},"comments":3,"review_comments":11,"commits":7,"additions":700,"deletions":563,"changed_files":35}}
{"actor":{"display_login":"rouzwawi"}}