Job timeout risk: spec/features/projects/blobs/edit_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/blobs/edit_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/edit_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 2753260 created at 2024-05-09T07:41:15Z
| Field | Value | 
|---|---|
| Job URL | rspec-system-pg14-24-32 | 
| Job total RSpec suite run time | expected: 20 minutes 31.29 seconds, actual:70 minutes 14.73 seconds | 
| Spec file run time | expected: 1 minute 28.15 seconds, actual:10 minutes 45.44 seconds | 
| Spec file weight | 15.31%of total suite run time | 
- Reported from pipeline 2753425 created at 2024-05-09T08:50:31Z
| Field | Value | 
|---|---|
| Job URL | rspec-system-pg14-24-32 | 
| Job total RSpec suite run time | expected: 20 minutes 31.29 seconds, actual:71 minutes 40.15 seconds | 
| Spec file run time | expected: 1 minute 28.15 seconds, actual:10 minutes 54.54 seconds | 
| Spec file weight | 15.22%of total suite run time | 
- Reported from pipeline 4159232 created at 2025-05-15T08:51:40Z
| Field | Value | 
|---|---|
| Job URL | rspec-system-pg16-20-32 | 
| Job total RSpec suite run time | expected: 24 minutes 22.34 seconds, actual:78 minutes 24.4 seconds | 
| Spec file run time | expected: 2 minutes 3.17 seconds, actual:20 minutes 8.58 seconds | 
| Spec file weight | 25.69%of total suite run time | 
- Reported from pipeline 4325486 created at 2025-07-01T19:23:55Z
| Field | Value | 
|---|---|
| Job URL | rspec-system-pg16-8-32 | 
| Job total RSpec suite run time | expected: 25 minutes 30.4 seconds, actual:80 minutes 10.36 seconds | 
| Spec file run time | expected: 1 minute 47.19 seconds, actual:21 minutes 25.33 seconds | 
| Spec file weight | 26.72%of total suite run time | 
- Reported from pipeline 4441136 created at 2025-08-03T01:13:24Z
| Field | Value | 
|---|---|
| Job URL | rspec-system-pg16-no-gitaly-transactions-24-32 | 
| Job total RSpec suite run time | expected: 25 minutes 45.11 seconds, actual:79 minutes 58.17 seconds | 
| Spec file run time | expected: 1 minute 48.16 seconds, actual:23 minutes 24.57 seconds | 
| Spec file weight | 29.27%of total suite run time | 
- Reported from pipeline 4487933 created at 2025-08-14T13:14:01Z
| Field | Value | 
|---|---|
| Job URL | rspec-system-pg16-30-32 | 
| Job total RSpec suite run time | expected: 25 minutes 51.76 seconds, actual:79 minutes 8.96 seconds | 
| Spec file run time | expected: 1 minute 54.65 seconds, actual:18 minutes 18.48 seconds | 
| Spec file weight | 23.13%of total suite run time | 
- Reported from pipeline 4554310 created at 2025-09-01T10:42:43Z
| Field | Value | 
|---|---|
| Job URL | rspec-system-pg16-6-32 | 
| Job total RSpec suite run time | expected: 25 minutes 39.05 seconds, actual:79 minutes 43.61 seconds | 
| Spec file run time | expected: 1 minute 54.66 seconds, actual:21 minutes 15.07 seconds | 
| Spec file weight | 26.66%of total suite run time | 
- Reported from pipeline 4714580 created at 2025-10-10T03:14:15Z
| Field | Value | 
|---|---|
| Job URL | rspec-system-pg16-5-32 | 
| Job total RSpec suite run time | expected: 27 minutes 15.08 seconds, actual:77 minutes 15.78 seconds | 
| Spec file run time | expected: 1 minute 49.72 seconds, actual:21 minutes 23.44 seconds | 
| Spec file weight | 27.69%of total suite run time | 
Edited  by KNAPSACK_REPORT_ISSUES_PROJECT_TOKEN