{"action":"opened","number":315,"pull_request":{"url":"https://api.github.com/repos/screwdriver-cd/ui/pulls/315","id":195854305,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1ODU0MzA1","html_url":"https://github.com/screwdriver-cd/ui/pull/315","diff_url":"https://github.com/screwdriver-cd/ui/pull/315.diff","patch_url":"https://github.com/screwdriver-cd/ui/pull/315.patch","issue_url":"https://api.github.com/repos/screwdriver-cd/ui/issues/315","number":315,"state":"open","locked":false,"title":"Fix duration for parallel workflow","user":{"login":"tanoda","id":16590459,"node_id":"MDQ6VXNlcjE2NTkwNDU5","avatar_url":"https://avatars2.githubusercontent.com/u/16590459?v=4","gravatar_id":"","url":"https://api.github.com/users/tanoda","html_url":"https://github.com/tanoda","followers_url":"https://api.github.com/users/tanoda/followers","following_url":"https://api.github.com/users/tanoda/following{/other_user}","gists_url":"https://api.github.com/users/tanoda/gists{/gist_id}","starred_url":"https://api.github.com/users/tanoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanoda/subscriptions","organizations_url":"https://api.github.com/users/tanoda/orgs","repos_url":"https://api.github.com/users/tanoda/repos","events_url":"https://api.github.com/users/tanoda/events{/privacy}","received_events_url":"https://api.github.com/users/tanoda/received_events","type":"User","site_admin":false},"body":"Pipeline page can show longer duration than real with parallel workflow.\r\nI fix this by compute duration using (latest end time) - (earliest create time).\r\n\r\nreferences: [current build.totalDurationMS implementation](https://github.com/screwdriver-cd/ui/blob/4b299ce233419170828edb62e2eb24eba721c262/app/build/model.js#L75-L79)","created_at":"2018-06-19T14:48:18Z","updated_at":"2018-06-19T14:48:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/screwdriver-cd/ui/pulls/315/commits","review_comments_url":"https://api.github.com/repos/screwdriver-cd/ui/pulls/315/comments","review_comment_url":"https://api.github.com/repos/screwdriver-cd/ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/screwdriver-cd/ui/issues/315/comments","statuses_url":"https://api.github.com/repos/screwdriver-cd/ui/statuses/836d815a565ae78bc5e0622c2118e615b9f1f140","head":{"label":"tanoda:fix-duration","ref":"fix-duration","sha":"836d815a565ae78bc5e0622c2118e615b9f1f140","user":{"login":"tanoda","id":16590459,"node_id":"MDQ6VXNlcjE2NTkwNDU5","avatar_url":"https://avatars2.githubusercontent.com/u/16590459?v=4","gravatar_id":"","url":"https://api.github.com/users/tanoda","html_url":"https://github.com/tanoda","followers_url":"https://api.github.com/users/tanoda/followers","following_url":"https://api.github.com/users/tanoda/following{/other_user}","gists_url":"https://api.github.com/users/tanoda/gists{/gist_id}","starred_url":"https://api.github.com/users/tanoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanoda/subscriptions","organizations_url":"https://api.github.com/users/tanoda/orgs","repos_url":"https://api.github.com/users/tanoda/repos","events_url":"https://api.github.com/users/tanoda/events{/privacy}","received_events_url":"https://api.github.com/users/tanoda/received_events","type":"User","site_admin":false},"repo":{"id":137901460,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc5MDE0NjA=","name":"ui","full_name":"tanoda/ui","owner":{"login":"tanoda","id":16590459,"node_id":"MDQ6VXNlcjE2NTkwNDU5","avatar_url":"https://avatars2.githubusercontent.com/u/16590459?v=4","gravatar_id":"","url":"https://api.github.com/users/tanoda","html_url":"https://github.com/tanoda","followers_url":"https://api.github.com/users/tanoda/followers","following_url":"https://api.github.com/users/tanoda/following{/other_user}","gists_url":"https://api.github.com/users/tanoda/gists{/gist_id}","starred_url":"https://api.github.com/users/tanoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanoda/subscriptions","organizations_url":"https://api.github.com/users/tanoda/orgs","repos_url":"https://api.github.com/users/tanoda/repos","events_url":"https://api.github.com/users/tanoda/events{/privacy}","received_events_url":"https://api.github.com/users/tanoda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tanoda/ui","description":"Screwdriver UI","fork":true,"url":"https://api.github.com/repos/tanoda/ui","forks_url":"https://api.github.com/repos/tanoda/ui/forks","keys_url":"https://api.github.com/repos/tanoda/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tanoda/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tanoda/ui/teams","hooks_url":"https://api.github.com/repos/tanoda/ui/hooks","issue_events_url":"https://api.github.com/repos/tanoda/ui/issues/events{/number}","events_url":"https://api.github.com/repos/tanoda/ui/events","assignees_url":"https://api.github.com/repos/tanoda/ui/assignees{/user}","branches_url":"https://api.github.com/repos/tanoda/ui/branches{/branch}","tags_url":"https://api.github.com/repos/tanoda/ui/tags","blobs_url":"https://api.github.com/repos/tanoda/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tanoda/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tanoda/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/tanoda/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tanoda/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/tanoda/ui/languages","stargazers_url":"https://api.github.com/repos/tanoda/ui/stargazers","contributors_url":"https://api.github.com/repos/tanoda/ui/contributors","subscribers_url":"https://api.github.com/repos/tanoda/ui/subscribers","subscription_url":"https://api.github.com/repos/tanoda/ui/subscription","commits_url":"https://api.github.com/repos/tanoda/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/tanoda/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/tanoda/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/tanoda/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/tanoda/ui/contents/{+path}","compare_url":"https://api.github.com/repos/tanoda/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tanoda/ui/merges","archive_url":"https://api.github.com/repos/tanoda/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tanoda/ui/downloads","issues_url":"https://api.github.com/repos/tanoda/ui/issues{/number}","pulls_url":"https://api.github.com/repos/tanoda/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/tanoda/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/tanoda/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tanoda/ui/labels{/name}","releases_url":"https://api.github.com/repos/tanoda/ui/releases{/id}","deployments_url":"https://api.github.com/repos/tanoda/ui/deployments","created_at":"2018-06-19T14:17:40Z","updated_at":"2018-06-19T14:17:43Z","pushed_at":"2018-06-19T14:31:44Z","git_url":"git://github.com/tanoda/ui.git","ssh_url":"git@github.com:tanoda/ui.git","clone_url":"https://github.com/tanoda/ui.git","svn_url":"https://github.com/tanoda/ui","homepage":"https://cd.screwdriver.cd/pipelines/7","size":3251,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"screwdriver-cd:master","ref":"master","sha":"4b299ce233419170828edb62e2eb24eba721c262","user":{"login":"screwdriver-cd","id":19417863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDE3ODYz","avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"repo":{"id":64884594,"node_id":"MDEwOlJlcG9zaXRvcnk2NDg4NDU5NA==","name":"ui","full_name":"screwdriver-cd/ui","owner":{"login":"screwdriver-cd","id":19417863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDE3ODYz","avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/screwdriver-cd/ui","description":"Screwdriver UI","fork":false,"url":"https://api.github.com/repos/screwdriver-cd/ui","forks_url":"https://api.github.com/repos/screwdriver-cd/ui/forks","keys_url":"https://api.github.com/repos/screwdriver-cd/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/screwdriver-cd/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/screwdriver-cd/ui/teams","hooks_url":"https://api.github.com/repos/screwdriver-cd/ui/hooks","issue_events_url":"https://api.github.com/repos/screwdriver-cd/ui/issues/events{/number}","events_url":"https://api.github.com/repos/screwdriver-cd/ui/events","assignees_url":"https://api.github.com/repos/screwdriver-cd/ui/assignees{/user}","branches_url":"https://api.github.com/repos/screwdriver-cd/ui/branches{/branch}","tags_url":"https://api.github.com/repos/screwdriver-cd/ui/tags","blobs_url":"https://api.github.com/repos/screwdriver-cd/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/screwdriver-cd/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/screwdriver-cd/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/screwdriver-cd/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/screwdriver-cd/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/screwdriver-cd/ui/languages","stargazers_url":"https://api.github.com/repos/screwdriver-cd/ui/stargazers","contributors_url":"https://api.github.com/repos/screwdriver-cd/ui/contributors","subscribers_url":"https://api.github.com/repos/screwdriver-cd/ui/subscribers","subscription_url":"https://api.github.com/repos/screwdriver-cd/ui/subscription","commits_url":"https://api.github.com/repos/screwdriver-cd/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/screwdriver-cd/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/screwdriver-cd/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/screwdriver-cd/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/screwdriver-cd/ui/contents/{+path}","compare_url":"https://api.github.com/repos/screwdriver-cd/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/screwdriver-cd/ui/merges","archive_url":"https://api.github.com/repos/screwdriver-cd/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/screwdriver-cd/ui/downloads","issues_url":"https://api.github.com/repos/screwdriver-cd/ui/issues{/number}","pulls_url":"https://api.github.com/repos/screwdriver-cd/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/screwdriver-cd/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/screwdriver-cd/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/screwdriver-cd/ui/labels{/name}","releases_url":"https://api.github.com/repos/screwdriver-cd/ui/releases{/id}","deployments_url":"https://api.github.com/repos/screwdriver-cd/ui/deployments","created_at":"2016-08-03T22:48:11Z","updated_at":"2018-06-18T22:03:20Z","pushed_at":"2018-06-19T01:27:18Z","git_url":"git://github.com/screwdriver-cd/ui.git","ssh_url":"git@github.com:screwdriver-cd/ui.git","clone_url":"https://github.com/screwdriver-cd/ui.git","svn_url":"https://github.com/screwdriver-cd/ui","homepage":"https://cd.screwdriver.cd/pipelines/7","size":3251,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":19,"open_issues":6,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/screwdriver-cd/ui/pulls/315"},"html":{"href":"https://github.com/screwdriver-cd/ui/pull/315"},"issue":{"href":"https://api.github.com/repos/screwdriver-cd/ui/issues/315"},"comments":{"href":"https://api.github.com/repos/screwdriver-cd/ui/issues/315/comments"},"review_comments":{"href":"https://api.github.com/repos/screwdriver-cd/ui/pulls/315/comments"},"review_comment":{"href":"https://api.github.com/repos/screwdriver-cd/ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/screwdriver-cd/ui/pulls/315/commits"},"statuses":{"href":"https://api.github.com/repos/screwdriver-cd/ui/statuses/836d815a565ae78bc5e0622c2118e615b9f1f140"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":33,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"tanoda"}}