Skip to content

Job timeout risk: spec/features/projects/commits/multi_view_diff_spec.rb ran much longer than expected

Why was this issue created?

spec/features/projects/commits/multi_view_diff_spec.rb was reported to have:

  1. exceeded Knapsack's expected runtime by at least 50%, and
  2. been identified as a notable pipeline bottleneck and a job timeout risk

Suggested steps for investigation

  1. To reproduce in CI by running test files in the same order, you can follow the steps listed here.
  2. Identify if a specific test case is stalling the run time. Hint: You can search the job's log for Starting example group spec/features/projects/commits/multi_view_diff_spec.rb and view the elapsed time after each test case in the proceeding lines starting with [RSpecRunTime].
  3. If the test file is large, consider refactoring it into multiple files to allow better test parallelization across runners.
  4. If the run time cannot be fixed in time, consider quarantine the spec(s) to restore performance.

Run time details

  • Reported from pipeline 2598382 created at 2024-04-02T03:25:36Z
Field Value
Job URL rspec-system-pg14-single-db-30-32
Job total RSpec suite run time expected: 23 minutes 55.73 seconds, actual: 70 minutes 8.33 seconds
Spec file run time expected: 57.94 seconds, actual: 11 minutes 45.03 seconds
Spec file weight 16.75% of total suite run time
  • Reported from pipeline 2598432 created at 2024-04-02T03:49:28Z
Field Value
Job URL rspec-system-pg14-30-32
Job total RSpec suite run time expected: 23 minutes 55.73 seconds, actual: 74 minutes 46.0 seconds
Spec file run time expected: 57.94 seconds, actual: 11 minutes 49.05 seconds
Spec file weight 15.81% of total suite run time
  • Reported from pipeline 2598468 created at 2024-04-02T03:57:57Z
Field Value
Job URL rspec-system-pg14-single-redis-30-32
Job total RSpec suite run time expected: 23 minutes 55.73 seconds, actual: 70 minutes 56.65 seconds
Spec file run time expected: 57.94 seconds, actual: 11 minutes 46.95 seconds
Spec file weight 16.61% of total suite run time
  • Reported from pipeline 2598474 created at 2024-04-02T04:02:57Z
Field Value
Job URL rspec-system-pg14-30-32
Job total RSpec suite run time expected: 23 minutes 55.73 seconds, actual: 70 minutes 31.85 seconds
Spec file run time expected: 57.94 seconds, actual: 11 minutes 47.37 seconds
Spec file weight 16.72% of total suite run time
  • Reported from pipeline 2598582 created at 2024-04-02T05:16:34Z
Field Value
Job URL rspec-system-pg14-30-32
Job total RSpec suite run time expected: 23 minutes 55.73 seconds, actual: 71 minutes 11.24 seconds
Spec file run time expected: 57.94 seconds, actual: 11 minutes 46.14 seconds
Spec file weight 16.53% of total suite run time
  • Reported from pipeline 2730918 created at 2024-05-03T15:36:52Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 70 minutes 49.16 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 46.05 seconds
Spec file weight 16.62% of total suite run time
  • Reported from pipeline 2730921 created at 2024-05-03T15:38:28Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 70 minutes 27.97 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 45.0 seconds
Spec file weight 16.67% of total suite run time
  • Reported from pipeline 2730966 created at 2024-05-03T15:54:39Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 72 minutes 2.78 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 47.2 seconds
Spec file weight 16.36% of total suite run time
  • Reported from pipeline 2730979 created at 2024-05-03T16:02:35Z
Field Value
Job URL rspec-system-pg14-single-redis-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 70 minutes 20.47 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 47.47 seconds
Spec file weight 16.76% of total suite run time
  • Reported from pipeline 2731087 created at 2024-05-03T16:37:01Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 72 minutes 41.31 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 49.23 seconds
Spec file weight 16.26% of total suite run time
  • Reported from pipeline 2731101 created at 2024-05-03T16:45:31Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 70 minutes 43.85 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 48.85 seconds
Spec file weight 16.7% of total suite run time
  • Reported from pipeline 2731103 created at 2024-05-03T16:46:14Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 74 minutes 44.68 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 47.51 seconds
Spec file weight 15.78% of total suite run time
  • Reported from pipeline 2731144 created at 2024-05-03T16:53:04Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 75 minutes 51.65 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 47.29 seconds
Spec file weight 15.54% of total suite run time
  • Reported from pipeline 2731148 created at 2024-05-03T16:58:25Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 70 minutes 57.72 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 49.32 seconds
Spec file weight 16.66% of total suite run time
  • Reported from pipeline 2731181 created at 2024-05-03T17:04:06Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 73 minutes 28.08 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 47.99 seconds
Spec file weight 16.06% of total suite run time
  • Reported from pipeline 2731246 created at 2024-05-03T17:11:37Z
Field Value
Job URL rspec-system-pg14-5-32
Job total RSpec suite run time expected: 21 minutes 23.06 seconds, actual: 70 minutes 1.66 seconds
Spec file run time expected: 48.75 seconds, actual: 11 minutes 47.08 seconds
Spec file weight 16.83% of total suite run time
  • Reported from pipeline 4614634 created at 2025-09-16T14:35:28Z
Field Value
Job URL rspec-system-pg16-29-32
Job total RSpec suite run time expected: 27 minutes 37.34 seconds, actual: 82 minutes 15.0 seconds
Spec file run time expected: 35.33 seconds, actual: 27 minutes 57.19 seconds
Spec file weight 33.99% of total suite run time