Job timeout risk: spec/features/snippets/show_spec.rb ran much longer than expected
Why was this issue created?
spec/features/snippets/show_spec.rb was reported to have:
- exceeded Knapsack's expected runtime by at least 50%, and
- been identified as a notable pipeline bottleneck and a job timeout risk
Suggested steps for investigation
- To reproduce in CI by running test files in the same order, you can follow the steps listed here.
- 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/snippets/show_spec.rb
and view the elapsed time after each test case in the proceeding lines starting with[RSpecRunTime]
. - If the test file is large, consider refactoring it into multiple files to allow better test parallelization across runners.
- If the run time cannot be fixed in time, consider quarantine the spec(s) to restore performance.
Run time details
- Reported from pipeline 2699437 created at
2024-04-26T05:33:46Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-single-redis-3-32 |
Job total RSpec suite run time | expected: 21 minutes 48.08 seconds , actual: 72 minutes 54.76 seconds
|
Spec file run time | expected: 1 minute 42.89 seconds , actual: 19 minutes 13.54 seconds
|
Spec file weight |
26.37% of total suite run time |
- Reported from pipeline 2699603 created at
2024-04-26T06:01:00Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-3-32 |
Job total RSpec suite run time | expected: 21 minutes 48.08 seconds , actual: 82 minutes 44.28 seconds
|
Spec file run time | expected: 1 minute 42.89 seconds , actual: 19 minutes 22.1 seconds
|
Spec file weight |
23.41% of total suite run time |
- Reported from pipeline 2699795 created at
2024-04-26T06:27:58Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-3-32 |
Job total RSpec suite run time | expected: 21 minutes 48.08 seconds , actual: 73 minutes 50.32 seconds
|
Spec file run time | expected: 1 minute 42.89 seconds , actual: 19 minutes 25.05 seconds
|
Spec file weight |
26.3% of total suite run time |
- Reported from pipeline 2699900 created at
2024-04-26T06:47:10Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-3-32 |
Job total RSpec suite run time | expected: 21 minutes 48.08 seconds , actual: 79 minutes 49.8 seconds
|
Spec file run time | expected: 1 minute 42.89 seconds , actual: 19 minutes 26.15 seconds
|
Spec file weight |
24.35% of total suite run time |
- Reported from pipeline 2699940 created at
2024-04-26T07:06:48Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-3-32 |
Job total RSpec suite run time | expected: 21 minutes 48.08 seconds , actual: 71 minutes 15.34 seconds
|
Spec file run time | expected: 1 minute 42.89 seconds , actual: 19 minutes 30.4 seconds
|
Spec file weight |
27.38% of total suite run time |
- Reported from pipeline 2700176 created at
2024-04-26T08:04:21Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-3-32 |
Job total RSpec suite run time | expected: 21 minutes 48.08 seconds , actual: 75 minutes 8.18 seconds
|
Spec file run time | expected: 1 minute 42.89 seconds , actual: 19 minutes 24.06 seconds
|
Spec file weight |
25.82% of total suite run time |
- Reported from pipeline 2700417 created at
2024-04-26T08:45:18Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-3-32 |
Job total RSpec suite run time | expected: 21 minutes 48.08 seconds , actual: 78 minutes 47.38 seconds
|
Spec file run time | expected: 1 minute 42.89 seconds , actual: 19 minutes 37.0 seconds
|
Spec file weight |
24.9% of total suite run time |
- Reported from pipeline 2700527 created at
2024-04-26T08:59:57Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-3-32 |
Job total RSpec suite run time | expected: 21 minutes 48.08 seconds , actual: 71 minutes 39.72 seconds
|
Spec file run time | expected: 1 minute 42.89 seconds , actual: 19 minutes 16.19 seconds
|
Spec file weight |
26.89% of total suite run time |
- Reported from pipeline 3080276 created at
2024-08-06T03:56:36Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-12-32 |
Job total RSpec suite run time | expected: 24 minutes 44.74 seconds , actual: 74 minutes 6.73 seconds
|
Spec file run time | expected: 1 minute 58.73 seconds , actual: 62 minutes 31.26 seconds
|
Spec file weight |
84.36% of total suite run time |
- Reported from pipeline 4525418 created at
2025-08-25T06:48:04Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-24-32 |
Job total RSpec suite run time | expected: 26 minutes 32.83 seconds , actual: 71 minutes 57.01 seconds
|
Spec file run time | expected: 1 minute 48.77 seconds , actual: 51 minutes 39.76 seconds
|
Spec file weight |
71.8% of total suite run time |
Edited by KNAPSACK_REPORT_ISSUES_PROJECT_TOKEN