forked from thoughtworks/HeartBeat
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADM-1005 [frontend][backend]: re-calculate lead time for changes when…
… exist pipeline configuration and source control configuration (#1613) * ADM-1005 [frontend]: fix the bug when pipeline settings exist in the redux but user select Other in the pipeline configuration * ADM-1005 [frontend]: fix test coverage * ADM-1005 [frontend][backend]: update the pipeline csv file * ADM-1005 [frontend][backend]: fix test * ADM-1005 [frontend]: fix e2e test * ADM-1005 [frontend]: add a test for with pipeline and source control configuration * ADM-1005 [frontend]: format * ADM-1005 [frontend]: format
- Loading branch information
1 parent
1f65550
commit 48fb4b3
Showing
21 changed files
with
520 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
frontend/e2e/fixtures/create-new/pipeline-20240812-20240818.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
"Organization","Pipeline Name","Repo Name","Pipeline Step","Valid","Build Number","Pull Number","Code Committer","Build Creator","First Code Committed Time In PR","PR Created Time","PR Merged Time","No PR Committed Time","Job Start Time","Pipeline Start Time","Pipeline Finish Time","Non-Workdays (Hours)","Total Lead Time (HH:mm:ss)","PR Lead Time (HH:mm:ss)","Pipeline Lead Time (HH:mm:ss)","Status","Branch","Revert" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4185","1579","zhou-yinyuan",,"2024-08-16T09:34:03Z","2024-08-16T09:34:35Z","2024-08-16T09:42:39Z",,"2024-08-16T10:05:48Z","2024-08-16T09:42:39Z","2024-08-16T10:06:16.456Z","0","0:32:13","0:8:36","0:23:37","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4183","1578","zhou-yinyuan",,"2024-08-16T09:11:02Z","2024-08-16T09:11:32Z","2024-08-16T09:16:37Z",,"2024-08-16T09:40:33Z","2024-08-16T09:16:37Z","2024-08-16T09:41:01.451Z","0","0:29:59","0:5:35","0:24:24","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4181","1577","zhou-yinyuan","heartbeat-user","2024-08-15T07:40:45Z","2024-08-15T07:41:18Z","2024-08-16T03:27:54Z",,"2024-08-16T03:50:27Z","2024-08-16T03:27:54Z","2024-08-16T03:50:58.880Z","0","20:10:13","19:47:9","0:23:4","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Run e2e","false","4175",,"guzhongren",,,,,,,,"2024-08-15T00:54:47.563Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4173","1576","zhou-yinyuan",,"2024-08-14T07:07:54Z","2024-08-14T09:21:18Z","2024-08-14T09:29:12Z",,"2024-08-14T09:52:23Z","2024-08-14T09:29:12Z","2024-08-14T09:52:49.797Z","0","2:44:55","2:21:18","0:23:37","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4170","1575","zhou-yinyuan",,"2024-08-14T07:07:54Z","2024-08-14T07:08:40Z","2024-08-14T07:13:45Z",,"2024-08-14T07:37:14Z","2024-08-14T07:13:45Z","2024-08-14T07:37:42.686Z","0","0:29:48","0:5:51","0:23:57","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4168","1574","zhou-yinyuan",,"2024-08-14T02:18:08Z","2024-08-14T02:18:46Z","2024-08-14T02:25:41Z",,"2024-08-14T02:51:00Z","2024-08-14T02:25:41Z","2024-08-14T02:51:29.410Z","0","0:33:21","0:7:33","0:25:48","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4165","1573","zhou-yinyuan",,"2024-08-12T02:58:15Z","2024-08-13T06:09:53Z","2024-08-13T07:00:49Z",,"2024-08-13T07:28:33Z","2024-08-13T07:00:49Z","2024-08-13T07:29:05.011Z","0","28:30:50","28:2:34","0:28:16","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4162","1572","zhou-yinyuan",,"2024-08-12T02:58:15Z","2024-08-12T02:59:01Z","2024-08-13T05:56:53Z",,"2024-08-13T06:24:55Z","2024-08-13T05:56:53Z","2024-08-13T06:25:32.138Z","0","27:27:17","26:58:38","0:28:39","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4153","1571","zhou-yinyuan",,"2024-08-09T03:54:06Z","2024-08-09T07:16:19Z","2024-08-12T01:08:39Z",,"2024-08-12T01:36:41Z","2024-08-12T01:08:39Z","2024-08-12T01:37:13.163Z","48","21:43:7","21:14:33","0:28:34","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4185","1579","zhou-yinyuan",,"2024-08-16T09:34:03Z","2024-08-16T09:34:35Z","2024-08-16T09:42:39Z",,"2024-08-16T10:05:48Z","2024-08-16T09:42:39Z","2024-08-16T10:06:16.456Z","0","0:32:13","0:8:36","0:23:37","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4183","1578","zhou-yinyuan",,"2024-08-16T09:11:02Z","2024-08-16T09:11:32Z","2024-08-16T09:16:37Z",,"2024-08-16T09:40:33Z","2024-08-16T09:16:37Z","2024-08-16T09:41:01.451Z","0","0:29:59","0:5:35","0:24:24","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4181","1577","zhou-yinyuan","heartbeat-user","2024-08-15T07:40:45Z","2024-08-15T07:41:18Z","2024-08-16T03:27:54Z",,"2024-08-16T03:50:27Z","2024-08-16T03:27:54Z","2024-08-16T03:50:58.880Z","0","20:10:13","19:47:9","0:23:4","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Run e2e","false","4175",,"guzhongren",,,,,,,,"2024-08-15T00:54:47.563Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4173","1576","zhou-yinyuan",,"2024-08-14T07:07:54Z","2024-08-14T09:21:18Z","2024-08-14T09:29:12Z",,"2024-08-14T09:52:23Z","2024-08-14T09:29:12Z","2024-08-14T09:52:49.797Z","0","2:44:55","2:21:18","0:23:37","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4170","1575","zhou-yinyuan",,"2024-08-14T07:07:54Z","2024-08-14T07:08:40Z","2024-08-14T07:13:45Z",,"2024-08-14T07:37:14Z","2024-08-14T07:13:45Z","2024-08-14T07:37:42.686Z","0","0:29:48","0:5:51","0:23:57","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4168","1574","zhou-yinyuan",,"2024-08-14T02:18:08Z","2024-08-14T02:18:46Z","2024-08-14T02:25:41Z",,"2024-08-14T02:51:00Z","2024-08-14T02:25:41Z","2024-08-14T02:51:29.410Z","0","0:33:21","0:7:33","0:25:48","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4165","1573","zhou-yinyuan",,"2024-08-12T02:58:15Z","2024-08-13T06:09:53Z","2024-08-13T07:00:49Z",,"2024-08-13T07:28:33Z","2024-08-13T07:00:49Z","2024-08-13T07:29:05.011Z","0","28:30:50","28:2:34","0:28:16","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4162","1572","zhou-yinyuan",,"2024-08-12T02:58:15Z","2024-08-12T02:59:01Z","2024-08-13T05:56:53Z",,"2024-08-13T06:24:55Z","2024-08-13T05:56:53Z","2024-08-13T06:25:32.138Z","0","27:27:17","26:58:38","0:28:39","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4153","1571","zhou-yinyuan",,"2024-08-09T03:54:06Z","2024-08-09T07:16:19Z","2024-08-12T01:08:39Z",,"2024-08-12T01:36:41Z","2024-08-12T01:08:39Z","2024-08-12T01:37:13.163Z","48","21:43:7","21:14:33","0:28:34","passed","main","false" |
12 changes: 6 additions & 6 deletions
12
frontend/e2e/fixtures/create-new/pipeline-20240819-20240825.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
"Organization","Pipeline Name","Repo Name","Pipeline Step","Valid","Build Number","Pull Number","Code Committer","Build Creator","First Code Committed Time In PR","PR Created Time","PR Merged Time","No PR Committed Time","Job Start Time","Pipeline Start Time","Pipeline Finish Time","Non-Workdays (Hours)","Total Lead Time (HH:mm:ss)","PR Lead Time (HH:mm:ss)","Pipeline Lead Time (HH:mm:ss)","Status","Branch","Revert" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy e2e","false","4224",,"zhou-yinyuan","heartbeat-user",,,,,,,"2024-08-25T00:50:29.642Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Run e2e","false","4221",,"Unknown","heartbeat-user",,,,,,,"2024-08-25T00:49:05.117Z","0",,,,"failed","main","" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Run e2e","false","4207",,"zhou-yinyuan",,,,,,,,"2024-08-21T09:48:48.575Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4201","1583","zhou-yinyuan",,"2024-08-21T03:04:10Z","2024-08-21T03:04:36Z","2024-08-21T03:16:16Z",,"2024-08-21T03:39:02Z","2024-08-21T03:16:16Z","2024-08-21T03:39:31.606Z","0","0:35:21","0:12:6","0:23:15","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4197","1582","zhou-yinyuan",,"2024-08-20T01:58:55Z","2024-08-20T01:59:41Z","2024-08-20T09:34:31Z",,"2024-08-20T10:02:47Z","2024-08-20T09:34:31Z","2024-08-20T10:03:29.671Z","0","8:4:34","7:35:36","0:28:58","passed","main","false" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Run e2e","false","4188",,"renovate[bot]",,,,,,,,"2024-08-20T00:53:29.705Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy e2e","false","4224",,"zhou-yinyuan","heartbeat-user",,,,,,,"2024-08-25T00:50:29.642Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Run e2e","false","4221",,"Unknown","heartbeat-user",,,,,,,"2024-08-25T00:49:05.117Z","0",,,,"failed","main","" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Run e2e","false","4207",,"zhou-yinyuan",,,,,,,,"2024-08-21T09:48:48.575Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4201","1583","zhou-yinyuan",,"2024-08-21T03:04:10Z","2024-08-21T03:04:36Z","2024-08-21T03:16:16Z",,"2024-08-21T03:39:02Z","2024-08-21T03:16:16Z","2024-08-21T03:39:31.606Z","0","0:35:21","0:12:6","0:23:15","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4197","1582","zhou-yinyuan",,"2024-08-20T01:58:55Z","2024-08-20T01:59:41Z","2024-08-20T09:34:31Z",,"2024-08-20T10:02:47Z","2024-08-20T09:34:31Z","2024-08-20T10:03:29.671Z","0","8:4:34","7:35:36","0:28:58","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Run e2e","false","4188",,"renovate[bot]",,,,,,,,"2024-08-20T00:53:29.705Z","0",,,,"passed","main","" |
10 changes: 5 additions & 5 deletions
10
frontend/e2e/fixtures/create-new/pipeline-20240826-20240902.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
"Organization","Pipeline Name","Repo Name","Pipeline Step","Valid","Build Number","Pull Number","Code Committer","Build Creator","First Code Committed Time In PR","PR Created Time","PR Merged Time","No PR Committed Time","Job Start Time","Pipeline Start Time","Pipeline Finish Time","Non-Workdays (Hours)","Total Lead Time (HH:mm:ss)","PR Lead Time (HH:mm:ss)","Pipeline Lead Time (HH:mm:ss)","Status","Branch","Revert" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Run e2e","false","4259",,"renovate[bot]",,,,,,,,"2024-08-30T10:17:49.663Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Run e2e","false","4255",,"renovate[bot]",,,,,,,,"2024-08-30T09:10:56.484Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Run e2e","false","4249",,"guzhongren",,,,,,,,"2024-08-29T11:34:06.071Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Run e2e","false","4240",,"Zhongren GU","heartbeat-user",,,,,,,"2024-08-27T15:40:47.556Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat",,":rocket: Deploy prod","true","4230","1589","zhou-yinyuan",,"2024-08-26T01:56:02Z","2024-08-26T01:56:46Z","2024-08-26T02:02:59Z",,"2024-08-26T02:26:28Z","2024-08-26T02:02:59Z","2024-08-26T02:26:56.722Z","0","0:30:54","0:6:57","0:23:57","passed","main","false" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Run e2e","false","4259",,"renovate[bot]",,,,,,,,"2024-08-30T10:17:49.663Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Run e2e","false","4255",,"renovate[bot]",,,,,,,,"2024-08-30T09:10:56.484Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Run e2e","false","4249",,"guzhongren",,,,,,,,"2024-08-29T11:34:06.071Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Run e2e","false","4240",,"Zhongren GU","heartbeat-user",,,,,,,"2024-08-27T15:40:47.556Z","0",,,,"passed","main","" | ||
"Heartbeat-backup","Heartbeat","au-heartbeat/Heartbeat",":rocket: Deploy prod","true","4230","1589","zhou-yinyuan",,"2024-08-26T01:56:02Z","2024-08-26T01:56:46Z","2024-08-26T02:02:59Z",,"2024-08-26T02:26:28Z","2024-08-26T02:02:59Z","2024-08-26T02:26:56.722Z","0","0:30:54","0:6:57","0:23:57","passed","main","false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...es/create-new/with-pipeline-and-source-control-configuration-metric-20240801-20240814.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"Group","Metrics","Value" | ||
"Deployment frequency","Heartbeat / Deploy prod / Deployment frequency(Deployments/Day)","2.00" | ||
"Deployment frequency","Heartbeat / Deploy prod / Deployment frequency(Deployment times)","20" | ||
"Lead time for changes","Heartbeat / Deploy prod / PR Lead Time","12.96" | ||
"Lead time for changes","Heartbeat / Deploy prod / Pipeline Lead Time","0.45" | ||
"Lead time for changes","Heartbeat / Deploy prod / Total Lead Time","13.41" | ||
"Lead time for changes","MYOB-Technology / AD-Framework / PR Lead Time","45.14" | ||
"Lead time for changes","MYOB-Technology / AD-Framework / Pipeline Lead Time","0" | ||
"Lead time for changes","MYOB-Technology / AD-Framework / Total Lead Time","45.14" | ||
"Lead time for changes","Average / PR Lead Time","29.05" | ||
"Lead time for changes","Average / Pipeline Lead Time","0.22" | ||
"Lead time for changes","Average / Total Lead Time","29.28" | ||
"Pipeline change failure rate","Heartbeat / Deploy prod / Pipeline change failure rate(%)","9.09" | ||
"Pipeline mean time to recovery","Heartbeat / Deploy prod / Pipeline mean time to recovery","1.10" |
14 changes: 14 additions & 0 deletions
14
...es/create-new/with-pipeline-and-source-control-configuration-metric-20240815-20240828.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"Group","Metrics","Value" | ||
"Deployment frequency","Heartbeat / Deploy prod / Deployment frequency(Deployments/Day)","0.60" | ||
"Deployment frequency","Heartbeat / Deploy prod / Deployment frequency(Deployment times)","6" | ||
"Lead time for changes","Heartbeat / Deploy prod / PR Lead Time","4.66" | ||
"Lead time for changes","Heartbeat / Deploy prod / Pipeline Lead Time","0.41" | ||
"Lead time for changes","Heartbeat / Deploy prod / Total Lead Time","5.06" | ||
"Lead time for changes","MYOB-Technology / AD-Framework / PR Lead Time","0" | ||
"Lead time for changes","MYOB-Technology / AD-Framework / Pipeline Lead Time","0" | ||
"Lead time for changes","MYOB-Technology / AD-Framework / Total Lead Time","0" | ||
"Lead time for changes","Average / PR Lead Time","2.33" | ||
"Lead time for changes","Average / Pipeline Lead Time","0.20" | ||
"Lead time for changes","Average / Total Lead Time","2.53" | ||
"Pipeline change failure rate","Heartbeat / Deploy prod / Pipeline change failure rate(%)","14.29" | ||
"Pipeline mean time to recovery","Heartbeat / Deploy prod / Pipeline mean time to recovery","25.63" |
Oops, something went wrong.