[go: up one dir, main page]

Job timeout risk: spec/features/projects/snippets/show_spec.rb ran much longer than expected

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Why was this issue created?

spec/features/projects/snippets/show_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/snippets/show_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 4336554 created at 2025-07-04T08:32:24Z
Field Value
Job URL rspec-system-pg16-14-32
Job total RSpec suite run time expected: 25 minutes 30.81 seconds, actual: 75 minutes 16.65 seconds
Spec file run time expected: 1 minute 40.15 seconds, actual: 49 minutes 38.93 seconds
Spec file weight 65.95% of total suite run time
  • Reported from pipeline 4340924 created at 2025-07-07T01:29:06Z
Field Value
Job URL rspec-system-pg16-21-32
Job total RSpec suite run time expected: 25 minutes 54.26 seconds, actual: 72 minutes 38.46 seconds
Spec file run time expected: 1 minute 45.3 seconds, actual: 49 minutes 46.13 seconds
Spec file weight 68.51% of total suite run time
  • Reported from pipeline 4348378 created at 2025-07-08T15:21:46Z
Field Value
Job URL rspec-system-pg16-29-32
Job total RSpec suite run time expected: 25 minutes 41.32 seconds, actual: 74 minutes 6.72 seconds
Spec file run time expected: 1 minute 50.6 seconds, actual: 61 minutes 20.57 seconds
Spec file weight 82.77% of total suite run time
  • Reported from pipeline 4351817 created at 2025-07-09T08:35:30Z
Field Value
Job URL rspec-system-pg16-17-32
Job total RSpec suite run time expected: 25 minutes 3.62 seconds, actual: 76 minutes 50.03 seconds
Spec file run time expected: 1 minute 35.84 seconds, actual: 61 minutes 22.88 seconds
Spec file weight 79.89% of total suite run time
  • Reported from pipeline 4877340 created at 2025-11-19T12:31:45Z
Field Value
Job URL rspec-system-pg16-vue3-6-32
Job total RSpec suite run time expected: 30 minutes 27.89 seconds, actual: 72 minutes 10.0 seconds
Spec file run time expected: 1 minute 59.04 seconds, actual: 51 minutes 8.18 seconds
Spec file weight 70.86% of total suite run time