Fix "Discard all" for new and renamed files

"Discard all changes" button failed on newly-created or renamed files in
Web IDE. This change fixes it.
184 jobs for !21854 with 27244-discard-all-changes in 75 minutes and 25 seconds (queued for 13 seconds)
detached
Status Job ID Name Coverage
  Prepare
passed #381371544
docker gitlab-org
build-qa-image

00:05:24

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

00:09:03

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

00:08:30

manual #381371545
gitlab-org allowed to fail manual
manual:review-cleanup
passed #381371547
retrieve-tests-metadata

00:02:15

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

00:00:20

passed #381371543
gitlab-org
setup-test-env

00:09:36

 
  Test
passed #381371563
allowed to fail
code_quality

00:11:44

passed #381371739
gitlab-org
danger-review

00:03:53

passed #381371734
gitlab-org
db:check-schema

00:04:13

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

00:11:28

passed #381371733
gitlab-org
db:migrate:reset

00:04:53

passed #381371736
gitlab-org
db:rollback

00:05:43

passed #381371738
gitlab-org
db:rollback geo

00:04:32

passed #381371566
allowed to fail
dependency_scanning

00:12:47

passed #381371732
gitlab-org
downtime_check

00:03:54

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

00:23:06

passed #381371737
gitlab-org
gitlab:setup

00:05:06

passed #381371740
gitlab-org
gitlab_git_test

00:01:00

passed #381371548
gitlab-org
graphql-reference-verify

00:04:37

passed #381371552
gitlab-org
jest

00:27:10

passed #381371553
gitlab-org
jest-foss

00:18:34

passed #381371550
gitlab-org
karma

00:16:51

77.69%
passed #381371551
gitlab-org
karma-foss

00:11:08

passed #381371741
gitlab-org
lint-ci-gitlab

00:01:08

passed #381371559
gitlab-org
memory-on-boot

00:08:50

passed #381371558
gitlab-org
memory-static

00:05:58

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

00:17:18

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

00:20:34

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

00:17:56

passed #381371560
gitlab-org
qa:internal

00:02:34

passed #381371561
gitlab-org
qa:selectors

00:04:25

passed #381371562
gitlab-org
qa:selectors-foss

00:02:15

passed #381371729
gitlab-org
rspec fast_spec_helper

00:05:17

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

00:19:49

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

00:18:39

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

00:24:18

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

00:20:47

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

00:22:29

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

00:23:24

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

00:17:55

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

00:17:35

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

00:17:59

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

00:18:39

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

00:21:30

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

00:19:47

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

00:12:01

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

00:19:05

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

00:19:08

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

00:17:45

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

00:09:49

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

00:18:26

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

00:18:54

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

00:16:28

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

00:16:25

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

00:18:30

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

00:16:14

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

00:15:37

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

00:14:45

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

00:16:33

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

00:17:55

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

00:17:46

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

00:16:12

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

00:17:56

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

00:15:42

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

00:15:05

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

00:17:09

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

00:18:00

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

00:18:24

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

00:14:30

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

00:14:32

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

00:17:01

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

00:14:48

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

00:14:33

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

00:15:25

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

00:18:28

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

00:16:41

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

00:16:18

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

00:16:21

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

00:15:16

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

00:12:58

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

00:15:28

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

00:14:53

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

00:15:15

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

00:17:00

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

00:13:59

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

00:16:07

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

00:15:49

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

00:14:29

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

00:14:30

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

00:16:27

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

00:14:42

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

00:16:38

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

00:14:25

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

00:13:50

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

00:15:00

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

00:14:11

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

00:17:37

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

00:16:45

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

00:14:52

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

00:16:14

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

00:16:50

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

00:19:38

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

00:20:55

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

00:17:50

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

00:21:03

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

00:20:28

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

00:23:12

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

00:20:59

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

00:20:04

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

00:22:50

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

00:19:02

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

00:24:12

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

00:15:28

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

00:19:14

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

00:19:13

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

00:16:26

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

00:18:43

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

00:17:15

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

00:21:22

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

00:23:23

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

00:19:40

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

00:17:42

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

00:16:42

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

00:19:11

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

00:18:38

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

00:14:35

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

00:20:13

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

00:21:38

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

00:19:08

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

00:17:52

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

00:20:46

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

00:19:01

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

00:16:49

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

00:17:56

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

00:15:39

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

00:16:39

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

00:15:03

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

00:16:53

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

00:20:58

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

00:15:37

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

00:17:55

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

00:09:56

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

00:17:00

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

00:16:59

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

00:18:37

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

00:08:38

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

00:07:28

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

00:08:15

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

00:09:34

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

00:16:33

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

00:17:55

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

00:17:45

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

00:19:58

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

00:19:12

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

00:07:43

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

00:19:13

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

00:16:35

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

00:21:50

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

00:23:03

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

00:26:57

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

00:24:32

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

00:28:48

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

00:16:32

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

00:14:51

passed #381371565
allowed to fail
sast

00:12:18

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

00:13:27

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

00:10:02

passed #381371557
gitlab-org
webpack-dev-server

00:06:33

 
  Post Test
passed #381371742
gitlab-org
coverage

00:10:00

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

00:04:33

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

00:24:10

 
  Review
passed #381371745
gitlab-org allowed to fail
review-deploy

00:10:28

passed #381371746
gitlab-org allowed to fail manual
review-stop

00:00:22

 
  Qa
passed #381371748
allowed to fail
dast

00:06:44

manual #381371747
allowed to fail manual
package-and-qa-manual
passed #381371755
docker gitlab-org allowed to fail
review-performance

00:04:48

manual #381371750
docker gitlab-org allowed to fail manual
review-qa-all 1/5
manual #381371751
docker gitlab-org allowed to fail manual
review-qa-all 2/5
manual #381371752
docker gitlab-org allowed to fail manual
review-qa-all 3/5
manual #381371753
docker gitlab-org allowed to fail manual
review-qa-all 4/5
manual #381371754
docker gitlab-org allowed to fail manual
review-qa-all 5/5
passed #381371749
docker gitlab-org allowed to fail
review-qa-smoke

00:07:38

 
  Post Qa
manual #381371756
gitlab-org allowed to fail manual
parallel-spec-reports
 
Name Stage Failure
failed
flaky-examples-check Post Test
    "first_flaky_at": "2019-12-17 04:31:25 +0000",
"last_flaky_at": "2019-12-17 04:31:25 +0000",
"last_flaky_job": "https://gitlab.com/gitlab-org/gitlab/-/jobs/381371625"
}
}
Running after script...
$ date
Tue Dec 17 04:46:56 UTC 2019
ERROR: Job failed: exit code 1