Job timeout risk: spec/features/projects/blobs/blob_show_spec.rb ran much longer than expected
Why was this issue created?
spec/features/projects/blobs/blob_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/projects/blobs/blob_show_spec.rband 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 4130283 created at
2025-05-08T01:16:00Z
| Field | Value |
|---|---|
| Job URL | rspec-system-pg16-28-32 |
| Job total RSpec suite run time | expected: 25 minutes 11.05 seconds, actual: 75 minutes 9.27 seconds
|
| Spec file run time | expected: 4 minutes 20.58 seconds, actual: 12 minutes 15.13 seconds
|
| Spec file weight |
16.3% of total suite run time |
- Reported from pipeline 4758471 created at
2025-10-21T12:11:13Z
| Field | Value |
|---|---|
| Job URL | rspec-system-pg16-30-32 |
| Job total RSpec suite run time | expected: 31 minutes 24.5 seconds, actual: 78 minutes 58.32 seconds
|
| Spec file run time | expected: 4 minutes 56.43 seconds, actual: 14 minutes 43.15 seconds
|
| Spec file weight |
18.64% of total suite run time |
Edited by KNAPSACK_REPORT_ISSUES_PROJECT_TOKEN