{"action":"created","comment":{"url":"https://api.github.com/repos/SAP/InfraBox/pulls/comments/226355202","pull_request_review_id":166158752,"id":226355202,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjM1NTIwMg==","diff_hunk":"@@ -817,28 +817,26 @@ def handle_timeouts(self):\n \n     def upload_console(self, job_id):\n         cursor = self.conn.cursor()\n+        cursor.execute(\"begin\")","path":"src/scheduler/kubernetes/scheduler.py","position":4,"original_position":4,"commit_id":"7b90d1f6aadfe196a2654cc4a11117756c966c2c","original_commit_id":"7b90d1f6aadfe196a2654cc4a11117756c966c2c","user":{"login":"ib-steffen","id":29356784,"node_id":"MDQ6VXNlcjI5MzU2Nzg0","avatar_url":"https://avatars2.githubusercontent.com/u/29356784?v=4","gravatar_id":"","url":"https://api.github.com/users/ib-steffen","html_url":"https://github.com/ib-steffen","followers_url":"https://api.github.com/users/ib-steffen/followers","following_url":"https://api.github.com/users/ib-steffen/following{/other_user}","gists_url":"https://api.github.com/users/ib-steffen/gists{/gist_id}","starred_url":"https://api.github.com/users/ib-steffen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ib-steffen/subscriptions","organizations_url":"https://api.github.com/users/ib-steffen/orgs","repos_url":"https://api.github.com/users/ib-steffen/repos","events_url":"https://api.github.com/users/ib-steffen/events{/privacy}","received_events_url":"https://api.github.com/users/ib-steffen/received_events","type":"User","site_admin":false},"body":"if we throw an exception after the tx has been started then next iteration of the handle loop will re-use the connection and also the transaction and probably end up in some weird state. In case of an exception the transaction has to be aborted. \r\n","created_at":"2018-10-18T15:32:51Z","updated_at":"2018-10-18T15:33:31Z","html_url":"https://github.com/SAP/InfraBox/pull/173#discussion_r226355202","pull_request_url":"https://api.github.com/repos/SAP/InfraBox/pulls/173","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SAP/InfraBox/pulls/comments/226355202"},"html":{"href":"https://github.com/SAP/InfraBox/pull/173#discussion_r226355202"},"pull_request":{"href":"https://api.github.com/repos/SAP/InfraBox/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/SAP/InfraBox/pulls/173","id":223883033,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzODgzMDMz","html_url":"https://github.com/SAP/InfraBox/pull/173","diff_url":"https://github.com/SAP/InfraBox/pull/173.diff","patch_url":"https://github.com/SAP/InfraBox/pull/173.patch","issue_url":"https://api.github.com/repos/SAP/InfraBox/issues/173","number":173,"state":"open","locked":false,"title":"fix job console missing","user":{"login":"iberryful","id":13000077,"node_id":"MDQ6VXNlcjEzMDAwMDc3","avatar_url":"https://avatars2.githubusercontent.com/u/13000077?v=4","gravatar_id":"","url":"https://api.github.com/users/iberryful","html_url":"https://github.com/iberryful","followers_url":"https://api.github.com/users/iberryful/followers","following_url":"https://api.github.com/users/iberryful/following{/other_user}","gists_url":"https://api.github.com/users/iberryful/gists{/gist_id}","starred_url":"https://api.github.com/users/iberryful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iberryful/subscriptions","organizations_url":"https://api.github.com/users/iberryful/orgs","repos_url":"https://api.github.com/users/iberryful/repos","events_url":"https://api.github.com/users/iberryful/events{/privacy}","received_events_url":"https://api.github.com/users/iberryful/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-18T09:22:51Z","updated_at":"2018-10-18T15:33:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25687adcb8883d251d288600cdb6d6c6a4e4e476","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SAP/InfraBox/pulls/173/commits","review_comments_url":"https://api.github.com/repos/SAP/InfraBox/pulls/173/comments","review_comment_url":"https://api.github.com/repos/SAP/InfraBox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SAP/InfraBox/issues/173/comments","statuses_url":"https://api.github.com/repos/SAP/InfraBox/statuses/7b90d1f6aadfe196a2654cc4a11117756c966c2c","head":{"label":"iberryful:master","ref":"master","sha":"7b90d1f6aadfe196a2654cc4a11117756c966c2c","user":{"login":"iberryful","id":13000077,"node_id":"MDQ6VXNlcjEzMDAwMDc3","avatar_url":"https://avatars2.githubusercontent.com/u/13000077?v=4","gravatar_id":"","url":"https://api.github.com/users/iberryful","html_url":"https://github.com/iberryful","followers_url":"https://api.github.com/users/iberryful/followers","following_url":"https://api.github.com/users/iberryful/following{/other_user}","gists_url":"https://api.github.com/users/iberryful/gists{/gist_id}","starred_url":"https://api.github.com/users/iberryful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iberryful/subscriptions","organizations_url":"https://api.github.com/users/iberryful/orgs","repos_url":"https://api.github.com/users/iberryful/repos","events_url":"https://api.github.com/users/iberryful/events{/privacy}","received_events_url":"https://api.github.com/users/iberryful/received_events","type":"User","site_admin":false},"repo":{"id":133630337,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM2MzAzMzc=","name":"InfraBox","full_name":"iberryful/InfraBox","private":false,"owner":{"login":"iberryful","id":13000077,"node_id":"MDQ6VXNlcjEzMDAwMDc3","avatar_url":"https://avatars2.githubusercontent.com/u/13000077?v=4","gravatar_id":"","url":"https://api.github.com/users/iberryful","html_url":"https://github.com/iberryful","followers_url":"https://api.github.com/users/iberryful/followers","following_url":"https://api.github.com/users/iberryful/following{/other_user}","gists_url":"https://api.github.com/users/iberryful/gists{/gist_id}","starred_url":"https://api.github.com/users/iberryful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iberryful/subscriptions","organizations_url":"https://api.github.com/users/iberryful/orgs","repos_url":"https://api.github.com/users/iberryful/repos","events_url":"https://api.github.com/users/iberryful/events{/privacy}","received_events_url":"https://api.github.com/users/iberryful/received_events","type":"User","site_admin":false},"html_url":"https://github.com/iberryful/InfraBox","description":"InfraBox is a cloud native continuous integration system","fork":true,"url":"https://api.github.com/repos/iberryful/InfraBox","forks_url":"https://api.github.com/repos/iberryful/InfraBox/forks","keys_url":"https://api.github.com/repos/iberryful/InfraBox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iberryful/InfraBox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iberryful/InfraBox/teams","hooks_url":"https://api.github.com/repos/iberryful/InfraBox/hooks","issue_events_url":"https://api.github.com/repos/iberryful/InfraBox/issues/events{/number}","events_url":"https://api.github.com/repos/iberryful/InfraBox/events","assignees_url":"https://api.github.com/repos/iberryful/InfraBox/assignees{/user}","branches_url":"https://api.github.com/repos/iberryful/InfraBox/branches{/branch}","tags_url":"https://api.github.com/repos/iberryful/InfraBox/tags","blobs_url":"https://api.github.com/repos/iberryful/InfraBox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iberryful/InfraBox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iberryful/InfraBox/git/refs{/sha}","trees_url":"https://api.github.com/repos/iberryful/InfraBox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iberryful/InfraBox/statuses/{sha}","languages_url":"https://api.github.com/repos/iberryful/InfraBox/languages","stargazers_url":"https://api.github.com/repos/iberryful/InfraBox/stargazers","contributors_url":"https://api.github.com/repos/iberryful/InfraBox/contributors","subscribers_url":"https://api.github.com/repos/iberryful/InfraBox/subscribers","subscription_url":"https://api.github.com/repos/iberryful/InfraBox/subscription","commits_url":"https://api.github.com/repos/iberryful/InfraBox/commits{/sha}","git_commits_url":"https://api.github.com/repos/iberryful/InfraBox/git/commits{/sha}","comments_url":"https://api.github.com/repos/iberryful/InfraBox/comments{/number}","issue_comment_url":"https://api.github.com/repos/iberryful/InfraBox/issues/comments{/number}","contents_url":"https://api.github.com/repos/iberryful/InfraBox/contents/{+path}","compare_url":"https://api.github.com/repos/iberryful/InfraBox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iberryful/InfraBox/merges","archive_url":"https://api.github.com/repos/iberryful/InfraBox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iberryful/InfraBox/downloads","issues_url":"https://api.github.com/repos/iberryful/InfraBox/issues{/number}","pulls_url":"https://api.github.com/repos/iberryful/InfraBox/pulls{/number}","milestones_url":"https://api.github.com/repos/iberryful/InfraBox/milestones{/number}","notifications_url":"https://api.github.com/repos/iberryful/InfraBox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iberryful/InfraBox/labels{/name}","releases_url":"https://api.github.com/repos/iberryful/InfraBox/releases{/id}","deployments_url":"https://api.github.com/repos/iberryful/InfraBox/deployments","created_at":"2018-05-16T07:52:45Z","updated_at":"2018-10-18T09:20:47Z","pushed_at":"2018-10-18T09:20:43Z","git_url":"git://github.com/iberryful/InfraBox.git","ssh_url":"git@github.com:iberryful/InfraBox.git","clone_url":"https://github.com/iberryful/InfraBox.git","svn_url":"https://github.com/iberryful/InfraBox","homepage":"https://www.infrabox.net","size":18179,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SAP:master","ref":"master","sha":"5e4ed1e0661680c60cc792b81d498fae9ef2f164","user":{"login":"SAP","id":2531208,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MzEyMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2531208?v=4","gravatar_id":"","url":"https://api.github.com/users/SAP","html_url":"https://github.com/SAP","followers_url":"https://api.github.com/users/SAP/followers","following_url":"https://api.github.com/users/SAP/following{/other_user}","gists_url":"https://api.github.com/users/SAP/gists{/gist_id}","starred_url":"https://api.github.com/users/SAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SAP/subscriptions","organizations_url":"https://api.github.com/users/SAP/orgs","repos_url":"https://api.github.com/users/SAP/repos","events_url":"https://api.github.com/users/SAP/events{/privacy}","received_events_url":"https://api.github.com/users/SAP/received_events","type":"Organization","site_admin":false},"repo":{"id":126344645,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYzNDQ2NDU=","name":"InfraBox","full_name":"SAP/InfraBox","private":false,"owner":{"login":"SAP","id":2531208,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MzEyMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2531208?v=4","gravatar_id":"","url":"https://api.github.com/users/SAP","html_url":"https://github.com/SAP","followers_url":"https://api.github.com/users/SAP/followers","following_url":"https://api.github.com/users/SAP/following{/other_user}","gists_url":"https://api.github.com/users/SAP/gists{/gist_id}","starred_url":"https://api.github.com/users/SAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SAP/subscriptions","organizations_url":"https://api.github.com/users/SAP/orgs","repos_url":"https://api.github.com/users/SAP/repos","events_url":"https://api.github.com/users/SAP/events{/privacy}","received_events_url":"https://api.github.com/users/SAP/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SAP/InfraBox","description":"InfraBox is a cloud native continuous integration system","fork":false,"url":"https://api.github.com/repos/SAP/InfraBox","forks_url":"https://api.github.com/repos/SAP/InfraBox/forks","keys_url":"https://api.github.com/repos/SAP/InfraBox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SAP/InfraBox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SAP/InfraBox/teams","hooks_url":"https://api.github.com/repos/SAP/InfraBox/hooks","issue_events_url":"https://api.github.com/repos/SAP/InfraBox/issues/events{/number}","events_url":"https://api.github.com/repos/SAP/InfraBox/events","assignees_url":"https://api.github.com/repos/SAP/InfraBox/assignees{/user}","branches_url":"https://api.github.com/repos/SAP/InfraBox/branches{/branch}","tags_url":"https://api.github.com/repos/SAP/InfraBox/tags","blobs_url":"https://api.github.com/repos/SAP/InfraBox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SAP/InfraBox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SAP/InfraBox/git/refs{/sha}","trees_url":"https://api.github.com/repos/SAP/InfraBox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SAP/InfraBox/statuses/{sha}","languages_url":"https://api.github.com/repos/SAP/InfraBox/languages","stargazers_url":"https://api.github.com/repos/SAP/InfraBox/stargazers","contributors_url":"https://api.github.com/repos/SAP/InfraBox/contributors","subscribers_url":"https://api.github.com/repos/SAP/InfraBox/subscribers","subscription_url":"https://api.github.com/repos/SAP/InfraBox/subscription","commits_url":"https://api.github.com/repos/SAP/InfraBox/commits{/sha}","git_commits_url":"https://api.github.com/repos/SAP/InfraBox/git/commits{/sha}","comments_url":"https://api.github.com/repos/SAP/InfraBox/comments{/number}","issue_comment_url":"https://api.github.com/repos/SAP/InfraBox/issues/comments{/number}","contents_url":"https://api.github.com/repos/SAP/InfraBox/contents/{+path}","compare_url":"https://api.github.com/repos/SAP/InfraBox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SAP/InfraBox/merges","archive_url":"https://api.github.com/repos/SAP/InfraBox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SAP/InfraBox/downloads","issues_url":"https://api.github.com/repos/SAP/InfraBox/issues{/number}","pulls_url":"https://api.github.com/repos/SAP/InfraBox/pulls{/number}","milestones_url":"https://api.github.com/repos/SAP/InfraBox/milestones{/number}","notifications_url":"https://api.github.com/repos/SAP/InfraBox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SAP/InfraBox/labels{/name}","releases_url":"https://api.github.com/repos/SAP/InfraBox/releases{/id}","deployments_url":"https://api.github.com/repos/SAP/InfraBox/deployments","created_at":"2018-03-22T14:06:46Z","updated_at":"2018-10-18T08:31:02Z","pushed_at":"2018-10-18T09:22:52Z","git_url":"git://github.com/SAP/InfraBox.git","ssh_url":"git@github.com:SAP/InfraBox.git","clone_url":"https://github.com/SAP/InfraBox.git","svn_url":"https://github.com/SAP/InfraBox","homepage":"https://www.infrabox.net","size":18307,"stargazers_count":139,"watchers_count":139,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":17,"open_issues":27,"watchers":139,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SAP/InfraBox/pulls/173"},"html":{"href":"https://github.com/SAP/InfraBox/pull/173"},"issue":{"href":"https://api.github.com/repos/SAP/InfraBox/issues/173"},"comments":{"href":"https://api.github.com/repos/SAP/InfraBox/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/SAP/InfraBox/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/SAP/InfraBox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SAP/InfraBox/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/SAP/InfraBox/statuses/7b90d1f6aadfe196a2654cc4a11117756c966c2c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ib-steffen"}}