Add new utils for Web IDE store

- getDiffInfo determines if any diff exists in staged and unstaged
changes for this path
- isFileDeletedAndReadded does what the name suggests - tells
if a file is deleted in staged and readded in unstaged
184 jobs for !21673 with 39498-part-1 in 85 minutes and 31 seconds (queued for 7 seconds)
detached
Status Job ID Name Coverage
  Prepare
passed #382216757
docker gitlab-org
build-qa-image

00:05:41

passed #382216746
gitlab-org
compile-assets pull-cache

00:11:48

passed #382216749
gitlab-org
compile-assets pull-cache foss

00:10:34

manual #382216758
gitlab-org allowed to fail manual
manual:review-cleanup
passed #382216762
retrieve-tests-metadata

00:02:24

passed #382216760
gitlab-org
review-stop-failed-deployment

00:00:27

passed #382216753
gitlab-org
setup-test-env

00:11:42

 
  Test
passed #382216779
allowed to fail
code_quality

00:15:36

passed #382217032
gitlab-org
danger-review

00:03:54

passed #382217024
gitlab-org
db:check-schema

00:05:32

passed #382217025
gitlab-org
db:migrate-from-v11.11.0

00:14:44

passed #382217022
gitlab-org
db:migrate:reset

00:05:45

passed #382217026
gitlab-org
db:rollback

00:06:43

passed #382217029
gitlab-org
db:rollback geo

00:06:03

passed #382216782
allowed to fail
dependency_scanning

00:10:18

passed #382217020
gitlab-org
downtime_check

00:04:55

passed #382216764
docker gitlab-org
gitlab:assets:compile pull-cache

00:24:13

passed #382217028
gitlab-org
gitlab:setup

00:06:15

passed #382217035
gitlab-org
gitlab_git_test

00:01:07

passed #382216763
gitlab-org
graphql-reference-verify

00:06:18

passed #382216768
gitlab-org
jest

00:26:24

passed #382216769
gitlab-org
jest-foss

00:18:53

passed #382216765
gitlab-org
karma

00:17:55

78.11%
passed #382216767
gitlab-org
karma-foss

00:12:34

passed #382217037
gitlab-org
lint-ci-gitlab

00:01:11

passed #382216775
gitlab-org
memory-on-boot

00:08:17

passed #382216774
gitlab-org
memory-static

00:07:01

passed #382216771
gitlab-org
qa-frontend-node:10

00:16:45

passed #382216770
gitlab-org
qa-frontend-node:8

00:18:15

passed #382216772
gitlab-org allowed to fail
qa-frontend-node:latest

00:18:18

passed #382216776
gitlab-org
qa:internal

00:02:39

passed #382216777
gitlab-org
qa:selectors

00:02:33

passed #382216778
gitlab-org
qa:selectors-foss

00:02:46

passed #382217015
gitlab-org
rspec fast_spec_helper

00:06:33

passed #382216848
gitlab-org
rspec integration pg9 1/6

00:18:15

passed #382216852
gitlab-org
rspec integration pg9 2/6

00:19:42

passed #382216855
gitlab-org
rspec integration pg9 3/6

00:18:42

passed #382216858
gitlab-org
rspec integration pg9 4/6

00:21:23

passed #382216860
gitlab-org
rspec integration pg9 5/6

00:20:25

passed #382216863
gitlab-org
rspec integration pg9 6/6

00:22:40

passed #382216866
gitlab-org
rspec integration pg9-foss 1/6

00:19:13

passed #382216868
gitlab-org
rspec integration pg9-foss 2/6

00:21:20

passed #382216871
gitlab-org
rspec integration pg9-foss 3/6

00:20:01

passed #382216873
gitlab-org
rspec integration pg9-foss 4/6

00:17:10

passed #382216876
gitlab-org
rspec integration pg9-foss 5/6

00:21:14

passed #382216878
gitlab-org
rspec integration pg9-foss 6/6

00:17:51

passed #382216784
gitlab-org
rspec migration pg9 1/4

00:10:22

passed #382216786
gitlab-org
rspec migration pg9 2/4

00:19:03

passed #382216787
gitlab-org
rspec migration pg9 3/4

00:18:43

passed #382216788
gitlab-org
rspec migration pg9 4/4

00:21:59

passed #382216789
gitlab-org
rspec migration pg9-foss 1/4

00:09:41

passed #382216790
gitlab-org
rspec migration pg9-foss 2/4

00:19:23

passed #382216792
gitlab-org
rspec migration pg9-foss 3/4

00:18:26

passed #382216793
gitlab-org
rspec migration pg9-foss 4/4

00:19:10

passed #382216881
gitlab-org
rspec system pg9 1/24

00:17:26

passed #382216899
gitlab-org
rspec system pg9 10/24

00:16:38

passed #382216902
gitlab-org
rspec system pg9 11/24

00:19:02

passed #382216912
gitlab-org
rspec system pg9 12/24

00:18:12

passed #382216913
gitlab-org
rspec system pg9 13/24

00:18:37

passed #382216914
gitlab-org
rspec system pg9 14/24

00:19:46

passed #382216915
gitlab-org
rspec system pg9 15/24

00:19:09

passed #382216916
gitlab-org
rspec system pg9 16/24

00:15:48

passed #382216917
gitlab-org
rspec system pg9 17/24

00:17:04

passed #382216918
gitlab-org
rspec system pg9 18/24

00:17:06

passed #382216920
gitlab-org
rspec system pg9 19/24

00:17:29

passed #382216883
gitlab-org
rspec system pg9 2/24

00:16:16

passed #382216921
gitlab-org
rspec system pg9 20/24

00:19:48

passed #382216922
gitlab-org
rspec system pg9 21/24

00:17:07

passed #382216925
gitlab-org
rspec system pg9 22/24

00:20:29

passed #382216929
gitlab-org
rspec system pg9 23/24

00:15:54

passed #382216933
gitlab-org
rspec system pg9 24/24

00:19:00

passed #382216885
gitlab-org
rspec system pg9 3/24

00:15:22

passed #382216886
gitlab-org
rspec system pg9 4/24

00:17:28

passed #382216888
gitlab-org
rspec system pg9 5/24

00:19:03

passed #382216889
gitlab-org
rspec system pg9 6/24

00:18:19

passed #382216891
gitlab-org
rspec system pg9 7/24

00:16:20

passed #382216893
gitlab-org
rspec system pg9 8/24

00:15:35

passed #382216896
gitlab-org
rspec system pg9 9/24

00:15:53

passed #382216936
gitlab-org
rspec system pg9-foss 1/24

00:18:23

passed #382216956
gitlab-org
rspec system pg9-foss 10/24

00:15:05

passed #382216957
gitlab-org
rspec system pg9-foss 11/24

00:16:55

passed #382216960
gitlab-org
rspec system pg9-foss 12/24

00:16:35

passed #382216964
gitlab-org
rspec system pg9-foss 13/24

00:16:39

passed #382216967
gitlab-org
rspec system pg9-foss 14/24

00:16:18

passed #382216969
gitlab-org
rspec system pg9-foss 15/24

00:18:18

passed #382216971
gitlab-org
rspec system pg9-foss 16/24

00:15:04

passed #382216973
gitlab-org
rspec system pg9-foss 17/24

00:15:15

passed #382216974
gitlab-org
rspec system pg9-foss 18/24

00:17:23

passed #382216976
gitlab-org
rspec system pg9-foss 19/24

00:17:41

passed #382216938
gitlab-org
rspec system pg9-foss 2/24

00:17:13

passed #382216978
gitlab-org
rspec system pg9-foss 20/24

00:15:50

passed #382216980
gitlab-org
rspec system pg9-foss 21/24

00:17:25

passed #382216982
gitlab-org
rspec system pg9-foss 22/24

00:16:51

passed #382216983
gitlab-org
rspec system pg9-foss 23/24

00:15:06

passed #382216984
gitlab-org
rspec system pg9-foss 24/24

00:16:38

passed #382216941
gitlab-org
rspec system pg9-foss 3/24

00:15:03

passed #382216942
gitlab-org
rspec system pg9-foss 4/24

00:14:04

passed #382216944
gitlab-org
rspec system pg9-foss 5/24

00:15:25

passed #382216947
gitlab-org
rspec system pg9-foss 6/24

00:16:34

passed #382216949
gitlab-org
rspec system pg9-foss 7/24

00:15:23

passed #382216951
gitlab-org
rspec system pg9-foss 8/24

00:18:21

passed #382216952
gitlab-org
rspec system pg9-foss 9/24

00:13:40

passed #382216794
gitlab-org
rspec unit pg9 1/20

00:24:39

passed #382216811
gitlab-org
rspec unit pg9 10/20

00:18:54

passed #382216812
gitlab-org
rspec unit pg9 11/20

00:21:05

passed #382216813
gitlab-org
rspec unit pg9 12/20

00:20:31

passed #382216814
gitlab-org
rspec unit pg9 13/20

00:22:04

passed #382216816
gitlab-org
rspec unit pg9 14/20

00:22:52

passed #382216818
gitlab-org
rspec unit pg9 15/20

00:20:49

passed #382216820
gitlab-org
rspec unit pg9 16/20

00:17:08

passed #382216821
gitlab-org
rspec unit pg9 17/20

00:26:01

passed #382216822
gitlab-org
rspec unit pg9 18/20

00:19:04

passed #382216823
gitlab-org
rspec unit pg9 19/20

00:21:18

passed #382216796
gitlab-org
rspec unit pg9 2/20

00:19:41

passed #382216824
gitlab-org
rspec unit pg9 20/20

00:17:48

passed #382216799
gitlab-org
rspec unit pg9 3/20

00:17:16

passed #382216802
gitlab-org
rspec unit pg9 4/20

00:18:05

passed #382216805
gitlab-org
rspec unit pg9 5/20

00:21:17

passed #382216807
gitlab-org
rspec unit pg9 6/20

00:20:30

passed #382216808
gitlab-org
rspec unit pg9 7/20

00:20:38

passed #382216809
gitlab-org
rspec unit pg9 8/20

00:20:24

passed #382216810
gitlab-org
rspec unit pg9 9/20

00:21:11

passed #382216825
gitlab-org
rspec unit pg9-foss 1/20

00:22:03

passed #382216835
gitlab-org
rspec unit pg9-foss 10/20

00:18:47

passed #382216836
gitlab-org
rspec unit pg9-foss 11/20

00:17:48

passed #382216837
gitlab-org
rspec unit pg9-foss 12/20

00:18:31

passed #382216838
gitlab-org
rspec unit pg9-foss 13/20

00:17:45

passed #382216839
gitlab-org
rspec unit pg9-foss 14/20

00:21:40

passed #382216840
gitlab-org
rspec unit pg9-foss 15/20

00:19:57

passed #382216841
gitlab-org
rspec unit pg9-foss 16/20

00:16:02

passed #382216842
gitlab-org
rspec unit pg9-foss 17/20

00:19:52

passed #382216843
gitlab-org
rspec unit pg9-foss 18/20

00:18:57

passed #382216844
gitlab-org
rspec unit pg9-foss 19/20

00:17:40

passed #382216826
gitlab-org
rspec unit pg9-foss 2/20

00:15:13

passed #382216845
gitlab-org
rspec unit pg9-foss 20/20

00:18:50

passed #382216827
gitlab-org
rspec unit pg9-foss 3/20

00:14:57

passed #382216828
gitlab-org
rspec unit pg9-foss 4/20

00:19:45

passed #382216829
gitlab-org
rspec unit pg9-foss 5/20

00:16:26

passed #382216831
gitlab-org
rspec unit pg9-foss 6/20

00:20:37

passed #382216832
gitlab-org
rspec unit pg9-foss 7/20

00:18:10

passed #382216833
gitlab-org
rspec unit pg9-foss 8/20

00:20:55

passed #382216834
gitlab-org
rspec unit pg9-foss 9/20

00:17:26

passed #382217013
gitlab-org
rspec-ee integration pg10 geo

00:10:08

passed #382216992
gitlab-org
rspec-ee integration pg9 1/3

00:20:08

passed #382216993
gitlab-org
rspec-ee integration pg9 2/3

00:17:31

passed #382216994
gitlab-org
rspec-ee integration pg9 3/3

00:20:11

passed #382217005
gitlab-org
rspec-ee integration pg9 geo

00:09:37

passed #382216985
gitlab-org
rspec-ee migration pg9 1/2

00:08:24

passed #382216986
gitlab-org
rspec-ee migration pg9 2/2

00:09:06

passed #382217014
gitlab-org
rspec-ee system pg10 geo

00:09:00

passed #382216995
gitlab-org
rspec-ee system pg9 1/5

00:17:43

passed #382216996
gitlab-org
rspec-ee system pg9 2/5

00:24:46

passed #382216997
gitlab-org
rspec-ee system pg9 3/5

00:23:20

passed #382216998
gitlab-org
rspec-ee system pg9 4/5

00:19:44

passed #382216999
gitlab-org
rspec-ee system pg9 5/5

00:20:19

passed #382217007
gitlab-org
rspec-ee system pg9 geo

00:09:10

passed #382217009
gitlab-org
rspec-ee unit pg10 geo 1/2

00:18:03

passed #382217011
gitlab-org
rspec-ee unit pg10 geo 2/2

00:17:44

passed #382216987
gitlab-org
rspec-ee unit pg9 1/5

00:27:14

passed #382216988
gitlab-org
rspec-ee unit pg9 2/5

00:22:19

passed #382216989
gitlab-org
rspec-ee unit pg9 3/5

00:28:07

passed #382216990
gitlab-org
rspec-ee unit pg9 4/5

00:28:03

passed #382216991
gitlab-org
rspec-ee unit pg9 5/5

00:25:49

passed #382217000
gitlab-org
rspec-ee unit pg9 geo 1/2

00:19:03

passed #382217002
gitlab-org
rspec-ee unit pg9 geo 2/2

00:17:12

passed #382216780
allowed to fail
sast

00:13:03

passed #382217017
gitlab-org
static-analysis 1/2

00:16:59

passed #382217019
gitlab-org
static-analysis 2/2

00:27:46

passed #382216773
gitlab-org
webpack-dev-server

00:06:18

 
  Post Test
passed #382217039
gitlab-org
coverage

00:11:25

97.46%
failed #382217041
gitlab-org allowed to fail
flaky-examples-check

00:04:49

 
  Review Prepare
passed #382217043
gitlab-org
review-build-cng

00:23:22

 
  Review
failed #382217045
gitlab-org allowed to fail
review-deploy

00:18:09

manual #382217047
gitlab-org allowed to fail manual
review-stop
 
  Qa
passed #382217051
allowed to fail
dast

00:06:18

manual #382217049
allowed to fail manual
package-and-qa-manual
passed #382217060
docker gitlab-org allowed to fail
review-performance

00:04:27

manual #382217053
docker gitlab-org allowed to fail manual
review-qa-all 1/5
manual #382217054
docker gitlab-org allowed to fail manual
review-qa-all 2/5
manual #382217055
docker gitlab-org allowed to fail manual
review-qa-all 3/5
manual #382217057
docker gitlab-org allowed to fail manual
review-qa-all 4/5
manual #382217059
docker gitlab-org allowed to fail manual
review-qa-all 5/5
passed #382217052
docker gitlab-org allowed to fail
review-qa-smoke

00:07:58

 
  Post Qa
manual #382217061
gitlab-org allowed to fail manual
parallel-spec-reports
 
Name Stage Failure
failed
review-deploy Review
Unsuccessful Jobs for release review-39498-part-1yujqj
No resources found.
Running after script...
$ date
Tue Dec 17 17:22:01 UTC 2019
Uploading artifacts...
review_app_url.txt: found 1 matching files
Uploading artifacts to coordinator... ok
id=382217045 responseStatus=201 Created token=hxNX1qza
ERROR: Job failed: exit code 1
failed
flaky-examples-check Post Test
    "first_flaky_at": "2019-12-17 16:26:04 +0000",
"last_flaky_at": "2019-12-17 16:26:04 +0000",
"last_flaky_job": "https://gitlab.com/gitlab-org/gitlab/-/jobs/382216984"
}
}
Running after script...
$ date
Tue Dec 17 16:49:26 UTC 2019
ERROR: Job failed: exit code 1