Job timeout risk: spec/features/projects/integrations/user_activates_issue_tracker_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/integrations/user_activates_issue_tracker_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/integrations/user_activates_issue_tracker_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 3625936 created at
2024-12-31T23:10:46Z
| Field | Value |
|---|---|
| Job URL | rspec-system-pg14-no-gitaly-transactions-29-32 |
| Job total RSpec suite run time | expected: 23 minutes 38.04 seconds, actual: 77 minutes 30.99 seconds
|
| Spec file run time | expected: 4 minutes 4.41 seconds, actual: 66 minutes 27.75 seconds
|
| Spec file weight |
85.74% of total suite run time |
- Reported from pipeline 4197292 created at
2025-05-26T13:15:57Z
| Field | Value |
|---|---|
| Job URL | rspec-system-pg16-26-32 |
| Job total RSpec suite run time | expected: 23 minutes 55.12 seconds, actual: 71 minutes 17.28 seconds
|
| Spec file run time | expected: 4 minutes 56.49 seconds, actual: 12 minutes 4.93 seconds
|
| Spec file weight |
16.95% of total suite run time |
- Reported from pipeline 4508936 created at
2025-08-20T12:29:21Z
| Field | Value |
|---|---|
| Job URL | rspec-system-pg16-32-32 |
| Job total RSpec suite run time | expected: 26 minutes 33.71 seconds, actual: 71 minutes 49.87 seconds
|
| Spec file run time | expected: 4 minutes 53.75 seconds, actual: 48 minutes 41.1 seconds
|
| Spec file weight |
67.78% of total suite run time |
Edited by Ghost User