Merge branch 'dm-discussions-n-plus-1' into 'master'

Resolve N+1 query issue with discussions

Closes #33013

See merge request !11775
80 jobs for master in 76 minutes and 6 seconds (queued for 1 minute and 38 seconds)
Status Job ID Name Coverage
  Build
manual #17651479
allowed to fail manual
build-package
 
  Prepare
passed #17651483
gitlab-org
knapsack

00:03:35

passed #17651489
gitlab-org
setup-test-env

00:21:47

 
  Test
passed #17651640
gitlab-org
cache gems

00:06:39

passed #17651625
gitlab-org
db:migrate:reset-mysql

00:11:48

passed #17651622
gitlab-org
db:migrate:reset-pg

00:13:05

passed #17651632
gitlab-org
db:rollback-mysql

00:07:27

passed #17651629
gitlab-org
db:rollback-pg

00:08:20

passed #17651634
gitlab-org
db:seed_fu-mysql

00:11:48

passed #17651633
gitlab-org
db:seed_fu-pg

00:07:20

passed #17651620
gitlab-org
docs lint

00:01:00

passed #17651635
gitlab-org
gitlab:assets:compile

00:25:26

failed #17651636
gitlab-org
karma

00:37:10

passed #17651628
gitlab-org
migration:path-mysql

00:15:58

passed #17651626
gitlab-org
migration:path-pg

00:18:22

passed #17651538
gitlab-org
rspec-mysql 0 20

00:18:55

passed #17651540
gitlab-org
rspec-mysql 1 20

00:30:02

passed #17651562
gitlab-org
rspec-mysql 10 20

00:35:56

passed #17651563
gitlab-org
rspec-mysql 11 20

00:26:54

passed #17651564
gitlab-org
rspec-mysql 12 20

00:34:26

passed #17651565
gitlab-org
rspec-mysql 13 20

00:30:43

passed #17651566
gitlab-org
rspec-mysql 14 20

00:28:35

passed #17651574
gitlab-org
rspec-mysql 15 20

00:30:35

passed #17651577
gitlab-org
rspec-mysql 16 20

00:24:43

passed #17651579
gitlab-org
rspec-mysql 17 20

00:30:17

passed #17651580
gitlab-org
rspec-mysql 18 20

00:22:07

passed #17651581
gitlab-org
rspec-mysql 19 20

00:44:36

passed #17651541
gitlab-org
rspec-mysql 2 20

00:32:52

passed #17651543
gitlab-org
rspec-mysql 3 20

00:46:59

passed #17651551
gitlab-org
rspec-mysql 4 20

00:25:56

passed #17651553
gitlab-org
rspec-mysql 5 20

00:40:07

passed #17651554
gitlab-org
rspec-mysql 6 20

00:20:28

passed #17651555
gitlab-org
rspec-mysql 7 20

00:38:00

passed #17651556
gitlab-org
rspec-mysql 8 20

00:22:41

passed #17651559
gitlab-org
rspec-mysql 9 20

00:21:54

passed #17651496
gitlab-org
rspec-pg 0 20

00:29:43

passed #17651498
gitlab-org
rspec-pg 1 20

00:52:14

passed #17651515
gitlab-org
rspec-pg 10 20

00:50:19

passed #17651516
gitlab-org
rspec-pg 11 20

00:44:51

passed #17651517
gitlab-org
rspec-pg 12 20

00:34:25

passed #17651520
gitlab-org
rspec-pg 13 20

00:26:15

passed #17651521
gitlab-org
rspec-pg 14 20

00:40:59

passed #17651522
gitlab-org
rspec-pg 15 20

00:38:10

passed #17651523
gitlab-org
rspec-pg 16 20

00:54:07

passed #17651524
gitlab-org
rspec-pg 17 20

00:52:31

passed #17651526
gitlab-org
rspec-pg 18 20

00:25:02

passed #17651531
gitlab-org
rspec-pg 19 20

00:37:30

passed #17651500
gitlab-org
rspec-pg 2 20

00:33:01

passed #17651501
gitlab-org
rspec-pg 3 20

00:24:11

passed #17651503
gitlab-org
rspec-pg 4 20

00:25:54

passed #17651504
gitlab-org
rspec-pg 5 20

00:41:03

passed #17651511
gitlab-org
rspec-pg 6 20

00:28:18

passed #17651512
gitlab-org
rspec-pg 7 20

00:23:42

passed #17651513
gitlab-org
rspec-pg 8 20

00:44:57

passed #17651514
gitlab-org
rspec-pg 9 20

00:39:16

passed #17651600
gitlab-org
spinach-mysql 0 10

00:21:02

passed #17651601
gitlab-org
spinach-mysql 1 10

00:13:28

passed #17651604
gitlab-org
spinach-mysql 2 10

00:11:36

passed #17651605
gitlab-org
spinach-mysql 3 10

00:18:48

passed #17651606
gitlab-org
spinach-mysql 4 10

00:22:02

passed #17651608
gitlab-org
spinach-mysql 5 10

00:11:16

passed #17651610
gitlab-org
spinach-mysql 6 10

00:12:56

passed #17651612
gitlab-org
spinach-mysql 7 10

00:39:45

passed #17651614
gitlab-org
spinach-mysql 8 10

00:22:08

passed #17651618
gitlab-org
spinach-mysql 9 10

00:11:12

passed #17651582
gitlab-org
spinach-pg 0 10

00:18:32

passed #17651584
gitlab-org
spinach-pg 1 10

00:14:40

passed #17651585
gitlab-org
spinach-pg 2 10

00:16:28

passed #17651586
gitlab-org
spinach-pg 3 10

00:13:23

passed #17651588
gitlab-org
spinach-pg 4 10

00:15:14

passed #17651591
gitlab-org
spinach-pg 5 10

00:18:10

passed #17651592
gitlab-org
spinach-pg 6 10

00:12:41

passed #17651593
gitlab-org
spinach-pg 7 10

00:11:51

passed #17651594
gitlab-org
spinach-pg 8 10

00:22:43

passed #17651595
gitlab-org
spinach-pg 9 10

00:10:40

passed #17651619
gitlab-org
static-analysis

00:12:29

 
  Post Test
skipped #17651643
gitlab-org
coverage
skipped #17651644
gitlab-org
lint:javascript:report
skipped #17651641
gitlab-org
update-knapsack
 
  Pages
skipped #17651645
gitlab-org
pages
 
Name Stage Failure
failed
karma Test There is an unknown failure, please try again
PhantomJS 2.1.1 (Linux 0.0.0) ERROR
Disconnected, because no message in 10000 ms.

Finished in 1 min 14.427 secs / 1 min 2.022 secs @ 10:03:03 GMT+0000 (UTC)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
rake karma:tests failed
ERROR: Job failed: exit code 1