{"action":"opened","number":67,"pull_request":{"url":"https://api.github.com/repos/juttle/juttle-client-library/pulls/67","id":61493029,"html_url":"https://github.com/juttle/juttle-client-library/pull/67","diff_url":"https://github.com/juttle/juttle-client-library/pull/67.diff","patch_url":"https://github.com/juttle/juttle-client-library/pull/67.patch","issue_url":"https://api.github.com/repos/juttle/juttle-client-library/issues/67","number":67,"state":"open","locked":false,"title":"Close websocket on job_end event","user":{"login":"mnibecker","id":2147549,"avatar_url":"https://avatars.githubusercontent.com/u/2147549?v=3","gravatar_id":"","url":"https://api.github.com/users/mnibecker","html_url":"https://github.com/mnibecker","followers_url":"https://api.github.com/users/mnibecker/followers","following_url":"https://api.github.com/users/mnibecker/following{/other_user}","gists_url":"https://api.github.com/users/mnibecker/gists{/gist_id}","starred_url":"https://api.github.com/users/mnibecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnibecker/subscriptions","organizations_url":"https://api.github.com/users/mnibecker/orgs","repos_url":"https://api.github.com/users/mnibecker/repos","events_url":"https://api.github.com/users/mnibecker/events{/privacy}","received_events_url":"https://api.github.com/users/mnibecker/received_events","type":"User","site_admin":false},"body":"Was experiencing this issue when trying to implement a better run button\r\non juttle-viewer. Currently we await the server to issue a close event,\r\nand as a result was reporting the job as running (for several seconds), when it really had\r\nrecieved a `job_end` event.\r\n\r\nIt's better for the job-manager to close itself and immediately\r\nget set to `STOPPED` state.\r\n\r\n@go-oleg @VladVega @davidvgalbraith ","created_at":"2016-03-03T00:41:38Z","updated_at":"2016-03-03T00:41:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/juttle/juttle-client-library/pulls/67/commits","review_comments_url":"https://api.github.com/repos/juttle/juttle-client-library/pulls/67/comments","review_comment_url":"https://api.github.com/repos/juttle/juttle-client-library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juttle/juttle-client-library/issues/67/comments","statuses_url":"https://api.github.com/repos/juttle/juttle-client-library/statuses/b76a96ea8127ab5905799bf2e6dc7203c0c9da24","head":{"label":"juttle:close-socket-on-job-end","ref":"close-socket-on-job-end","sha":"b76a96ea8127ab5905799bf2e6dc7203c0c9da24","user":{"login":"juttle","id":8988633,"avatar_url":"https://avatars.githubusercontent.com/u/8988633?v=3","gravatar_id":"","url":"https://api.github.com/users/juttle","html_url":"https://github.com/juttle","followers_url":"https://api.github.com/users/juttle/followers","following_url":"https://api.github.com/users/juttle/following{/other_user}","gists_url":"https://api.github.com/users/juttle/gists{/gist_id}","starred_url":"https://api.github.com/users/juttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juttle/subscriptions","organizations_url":"https://api.github.com/users/juttle/orgs","repos_url":"https://api.github.com/users/juttle/repos","events_url":"https://api.github.com/users/juttle/events{/privacy}","received_events_url":"https://api.github.com/users/juttle/received_events","type":"Organization","site_admin":false},"repo":{"id":48385296,"name":"juttle-client-library","full_name":"juttle/juttle-client-library","owner":{"login":"juttle","id":8988633,"avatar_url":"https://avatars.githubusercontent.com/u/8988633?v=3","gravatar_id":"","url":"https://api.github.com/users/juttle","html_url":"https://github.com/juttle","followers_url":"https://api.github.com/users/juttle/followers","following_url":"https://api.github.com/users/juttle/following{/other_user}","gists_url":"https://api.github.com/users/juttle/gists{/gist_id}","starred_url":"https://api.github.com/users/juttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juttle/subscriptions","organizations_url":"https://api.github.com/users/juttle/orgs","repos_url":"https://api.github.com/users/juttle/repos","events_url":"https://api.github.com/users/juttle/events{/privacy}","received_events_url":"https://api.github.com/users/juttle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juttle/juttle-client-library","description":"","fork":false,"url":"https://api.github.com/repos/juttle/juttle-client-library","forks_url":"https://api.github.com/repos/juttle/juttle-client-library/forks","keys_url":"https://api.github.com/repos/juttle/juttle-client-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juttle/juttle-client-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juttle/juttle-client-library/teams","hooks_url":"https://api.github.com/repos/juttle/juttle-client-library/hooks","issue_events_url":"https://api.github.com/repos/juttle/juttle-client-library/issues/events{/number}","events_url":"https://api.github.com/repos/juttle/juttle-client-library/events","assignees_url":"https://api.github.com/repos/juttle/juttle-client-library/assignees{/user}","branches_url":"https://api.github.com/repos/juttle/juttle-client-library/branches{/branch}","tags_url":"https://api.github.com/repos/juttle/juttle-client-library/tags","blobs_url":"https://api.github.com/repos/juttle/juttle-client-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juttle/juttle-client-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juttle/juttle-client-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/juttle/juttle-client-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juttle/juttle-client-library/statuses/{sha}","languages_url":"https://api.github.com/repos/juttle/juttle-client-library/languages","stargazers_url":"https://api.github.com/repos/juttle/juttle-client-library/stargazers","contributors_url":"https://api.github.com/repos/juttle/juttle-client-library/contributors","subscribers_url":"https://api.github.com/repos/juttle/juttle-client-library/subscribers","subscription_url":"https://api.github.com/repos/juttle/juttle-client-library/subscription","commits_url":"https://api.github.com/repos/juttle/juttle-client-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/juttle/juttle-client-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/juttle/juttle-client-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/juttle/juttle-client-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/juttle/juttle-client-library/contents/{+path}","compare_url":"https://api.github.com/repos/juttle/juttle-client-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juttle/juttle-client-library/merges","archive_url":"https://api.github.com/repos/juttle/juttle-client-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juttle/juttle-client-library/downloads","issues_url":"https://api.github.com/repos/juttle/juttle-client-library/issues{/number}","pulls_url":"https://api.github.com/repos/juttle/juttle-client-library/pulls{/number}","milestones_url":"https://api.github.com/repos/juttle/juttle-client-library/milestones{/number}","notifications_url":"https://api.github.com/repos/juttle/juttle-client-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juttle/juttle-client-library/labels{/name}","releases_url":"https://api.github.com/repos/juttle/juttle-client-library/releases{/id}","deployments_url":"https://api.github.com/repos/juttle/juttle-client-library/deployments","created_at":"2015-12-21T17:35:25Z","updated_at":"2016-01-11T17:50:28Z","pushed_at":"2016-03-03T00:40:31Z","git_url":"git://github.com/juttle/juttle-client-library.git","ssh_url":"git@github.com:juttle/juttle-client-library.git","clone_url":"https://github.com/juttle/juttle-client-library.git","svn_url":"https://github.com/juttle/juttle-client-library","homepage":null,"size":162,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"juttle:master","ref":"master","sha":"a379d0d61fa1c9e2b16cac4e97a4e9812fefcb78","user":{"login":"juttle","id":8988633,"avatar_url":"https://avatars.githubusercontent.com/u/8988633?v=3","gravatar_id":"","url":"https://api.github.com/users/juttle","html_url":"https://github.com/juttle","followers_url":"https://api.github.com/users/juttle/followers","following_url":"https://api.github.com/users/juttle/following{/other_user}","gists_url":"https://api.github.com/users/juttle/gists{/gist_id}","starred_url":"https://api.github.com/users/juttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juttle/subscriptions","organizations_url":"https://api.github.com/users/juttle/orgs","repos_url":"https://api.github.com/users/juttle/repos","events_url":"https://api.github.com/users/juttle/events{/privacy}","received_events_url":"https://api.github.com/users/juttle/received_events","type":"Organization","site_admin":false},"repo":{"id":48385296,"name":"juttle-client-library","full_name":"juttle/juttle-client-library","owner":{"login":"juttle","id":8988633,"avatar_url":"https://avatars.githubusercontent.com/u/8988633?v=3","gravatar_id":"","url":"https://api.github.com/users/juttle","html_url":"https://github.com/juttle","followers_url":"https://api.github.com/users/juttle/followers","following_url":"https://api.github.com/users/juttle/following{/other_user}","gists_url":"https://api.github.com/users/juttle/gists{/gist_id}","starred_url":"https://api.github.com/users/juttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juttle/subscriptions","organizations_url":"https://api.github.com/users/juttle/orgs","repos_url":"https://api.github.com/users/juttle/repos","events_url":"https://api.github.com/users/juttle/events{/privacy}","received_events_url":"https://api.github.com/users/juttle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juttle/juttle-client-library","description":"","fork":false,"url":"https://api.github.com/repos/juttle/juttle-client-library","forks_url":"https://api.github.com/repos/juttle/juttle-client-library/forks","keys_url":"https://api.github.com/repos/juttle/juttle-client-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juttle/juttle-client-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juttle/juttle-client-library/teams","hooks_url":"https://api.github.com/repos/juttle/juttle-client-library/hooks","issue_events_url":"https://api.github.com/repos/juttle/juttle-client-library/issues/events{/number}","events_url":"https://api.github.com/repos/juttle/juttle-client-library/events","assignees_url":"https://api.github.com/repos/juttle/juttle-client-library/assignees{/user}","branches_url":"https://api.github.com/repos/juttle/juttle-client-library/branches{/branch}","tags_url":"https://api.github.com/repos/juttle/juttle-client-library/tags","blobs_url":"https://api.github.com/repos/juttle/juttle-client-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juttle/juttle-client-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juttle/juttle-client-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/juttle/juttle-client-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juttle/juttle-client-library/statuses/{sha}","languages_url":"https://api.github.com/repos/juttle/juttle-client-library/languages","stargazers_url":"https://api.github.com/repos/juttle/juttle-client-library/stargazers","contributors_url":"https://api.github.com/repos/juttle/juttle-client-library/contributors","subscribers_url":"https://api.github.com/repos/juttle/juttle-client-library/subscribers","subscription_url":"https://api.github.com/repos/juttle/juttle-client-library/subscription","commits_url":"https://api.github.com/repos/juttle/juttle-client-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/juttle/juttle-client-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/juttle/juttle-client-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/juttle/juttle-client-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/juttle/juttle-client-library/contents/{+path}","compare_url":"https://api.github.com/repos/juttle/juttle-client-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juttle/juttle-client-library/merges","archive_url":"https://api.github.com/repos/juttle/juttle-client-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juttle/juttle-client-library/downloads","issues_url":"https://api.github.com/repos/juttle/juttle-client-library/issues{/number}","pulls_url":"https://api.github.com/repos/juttle/juttle-client-library/pulls{/number}","milestones_url":"https://api.github.com/repos/juttle/juttle-client-library/milestones{/number}","notifications_url":"https://api.github.com/repos/juttle/juttle-client-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juttle/juttle-client-library/labels{/name}","releases_url":"https://api.github.com/repos/juttle/juttle-client-library/releases{/id}","deployments_url":"https://api.github.com/repos/juttle/juttle-client-library/deployments","created_at":"2015-12-21T17:35:25Z","updated_at":"2016-01-11T17:50:28Z","pushed_at":"2016-03-03T00:40:31Z","git_url":"git://github.com/juttle/juttle-client-library.git","ssh_url":"git@github.com:juttle/juttle-client-library.git","clone_url":"https://github.com/juttle/juttle-client-library.git","svn_url":"https://github.com/juttle/juttle-client-library","homepage":null,"size":162,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juttle/juttle-client-library/pulls/67"},"html":{"href":"https://github.com/juttle/juttle-client-library/pull/67"},"issue":{"href":"https://api.github.com/repos/juttle/juttle-client-library/issues/67"},"comments":{"href":"https://api.github.com/repos/juttle/juttle-client-library/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/juttle/juttle-client-library/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/juttle/juttle-client-library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juttle/juttle-client-library/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/juttle/juttle-client-library/statuses/b76a96ea8127ab5905799bf2e6dc7203c0c9da24"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":24,"deletions":1,"changed_files":2}}