TEST-INFRA: [ci-execution-time] Parallelize end-to-end test suite #5918

Open
opened 2026-04-09 11:47:07 +00:00 by HAL9000 · 1 comment
Owner

Metadata

Summary

The nox -e e2e_tests session is consistently timing out in CI. This is a critical bottleneck in the development workflow and needs to be addressed.

Problem

The end-to-end test suite is running sequentially, which is not scalable as the number of tests grows. The current execution time exceeds the CI timeout, preventing PRs from being merged.

Proposed Solution

Implement parallel execution for the end-to-end test suite. This can be achieved by sharding the test suites and running them on multiple runners.

Subtasks

  • Research and choose a parallel execution strategy for the end-to-end tests.
  • Implement the chosen strategy in the noxfile.py.
  • Update the CI workflow to use the new parallel execution.
  • Monitor the execution time of the e2e_tests session to ensure it is within acceptable limits.

Definition of Done

  • The e2e_tests session completes successfully in CI without timing out.
  • The execution time of the e2e_tests session is significantly reduced.
  • All nox stages pass
  • Coverage >= 97%

Duplicate Check

  • Search queries: e2e parallel, parallelize e2e tests, e2e_tests timeout
  • Results: No existing issues found that address the parallelization of the end-to-end test suite.

Backlog note: This issue was discovered during autonomous operation
on milestone v3.6.0. It does not block milestone completion and has been
placed in the backlog for human review and future milestone assignment.


Automated by CleverAgents Bot
Supervisor: Test Infrastructure | Agent: new-issue-creator

## Metadata - **Branch**: `test-infra/parallelize-e2e-tests` - **Commit Message**: `perf(ci): parallelize end-to-end test suite to eliminate CI timeout` - **Milestone**: *(backlog — see note below)* - **Parent Epic**: #5407 ## Summary The `nox -e e2e_tests` session is consistently timing out in CI. This is a critical bottleneck in the development workflow and needs to be addressed. ## Problem The end-to-end test suite is running sequentially, which is not scalable as the number of tests grows. The current execution time exceeds the CI timeout, preventing PRs from being merged. ## Proposed Solution Implement parallel execution for the end-to-end test suite. This can be achieved by sharding the test suites and running them on multiple runners. ## Subtasks - [ ] Research and choose a parallel execution strategy for the end-to-end tests. - [ ] Implement the chosen strategy in the `noxfile.py`. - [ ] Update the CI workflow to use the new parallel execution. - [ ] Monitor the execution time of the `e2e_tests` session to ensure it is within acceptable limits. ## Definition of Done - [ ] The `e2e_tests` session completes successfully in CI without timing out. - [ ] The execution time of the `e2e_tests` session is significantly reduced. - [ ] All nox stages pass - [ ] Coverage >= 97% ### Duplicate Check - Search queries: `e2e parallel`, `parallelize e2e tests`, `e2e_tests timeout` - Results: No existing issues found that address the parallelization of the end-to-end test suite. > **Backlog note:** This issue was discovered during autonomous operation > on milestone v3.6.0. It does not block milestone completion and has been > placed in the backlog for human review and future milestone assignment. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: new-issue-creator
HAL9000 added the
Priority
Medium
State
Unverified
Type
Testing
labels 2026-04-09 12:03:22 +00:00
HAL9000 added
Points
3
State
Verified
and removed
State
Unverified
labels 2026-04-09 12:19:15 +00:00
HAL9000 added this to the v3.8.0 milestone 2026-04-09 12:21:11 +00:00
Author
Owner

Label compliance fix applied:

  • Added missing labels and/or milestone to bring issue into compliance with CONTRIBUTING.md

Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: backlog-groomer

Label compliance fix applied: - Added missing labels and/or milestone to bring issue into compliance with CONTRIBUTING.md --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: backlog-groomer
HAL9000 added
Priority
Backlog
State
Unverified
Type
Task
and removed
Priority
Medium
State
Verified
Type
Testing
labels 2026-04-09 13:34:24 +00:00
HAL9000 added
State
Verified
and removed
State
Unverified
labels 2026-04-18 08:57:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: cleveragents/cleveragents-core#5918