Job timeout risk: ee/spec/features/merge_request/user_edits_merge_request_blocking_mrs_spec.rb ran much longer than expected
Why was this issue created?
ee/spec/features/merge_request/user_edits_merge_request_blocking_mrs_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 ee/spec/features/merge_request/user_edits_merge_request_blocking_mrs_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 5019841 created at
2025-12-22T14:43:36Z
| Field | Value |
|---|---|
| Job URL | rspec-ee-system-pg16-classic-ui-4-16 |
| Job total RSpec suite run time | expected: 36 minutes 35.48 seconds, actual: 81 minutes 58.44 seconds
|
| Spec file run time | expected: 1 minute 18.46 seconds, actual: 24 minutes 46.7 seconds
|
| Spec file weight |
30.23% of total suite run time |