TEST-INFRA: [ci-execution-time] Parallelize Unit and Integration Test Suites #2346

Closed
opened 2026-04-03 15:12:39 +00:00 by freemo · 2 comments
Owner

Metadata

  • Branch: test/ci-execution-time-parallelize-unit-integration-tests
  • Commit Message: perf(ci): parallelize unit and integration test suites to reduce CI execution time
  • Milestone: v3.8.0
  • Parent Epic: #1678

Summary

The unit_tests and integration_tests jobs in the CI pipeline currently run as single, monolithic steps (nox -s unit_tests and nox -s integration_tests). This can be inefficient if the test suites are large. Parallelizing these test suites would significantly reduce the CI execution time.

Subtasks

  • Analyze the unit and integration test suites to determine the best way to split them into parallelizable chunks.
  • Update the .forgejo/workflows/ci.yml file to run the unit and integration test chunks in parallel. This could be done using a matrix strategy or by running multiple nox sessions in parallel within each job.

Definition of Done

  • The unit and integration test suites are parallelized.
  • The execution time of the unit_tests and integration_tests jobs is significantly reduced.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional details.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly.
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.
  • All nox stages pass.
  • Coverage >= 97%.

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

## Metadata - **Branch**: `test/ci-execution-time-parallelize-unit-integration-tests` - **Commit Message**: `perf(ci): parallelize unit and integration test suites to reduce CI execution time` - **Milestone**: v3.8.0 - **Parent Epic**: #1678 ## Summary The `unit_tests` and `integration_tests` jobs in the CI pipeline currently run as single, monolithic steps (`nox -s unit_tests` and `nox -s integration_tests`). This can be inefficient if the test suites are large. Parallelizing these test suites would significantly reduce the CI execution time. ## Subtasks - [ ] Analyze the unit and integration test suites to determine the best way to split them into parallelizable chunks. - [ ] Update the `.forgejo/workflows/ci.yml` file to run the unit and integration test chunks in parallel. This could be done using a matrix strategy or by running multiple `nox` sessions in parallel within each job. ## Definition of Done - [ ] The unit and integration test suites are parallelized. - [ ] The execution time of the `unit_tests` and `integration_tests` jobs is significantly reduced. - [ ] A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional details. - [ ] The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly. - [ ] The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. - [ ] All nox stages pass. - [ ] Coverage >= 97%. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-new-issue-creator
freemo added this to the v3.8.0 milestone 2026-04-03 15:12:46 +00:00
Author
Owner

Potential duplicate of #1987.

This issue overlaps with #1987 ("increase parallelism across all test suites", v3.8.0) which covers parallelizing pytest, Behave, and Robot Framework test suites. Both request splitting and parallelizing unit and integration tests.

Triaging as verified but flagging the overlap. The backlog groomer should consolidate.

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium (confirmed)
  • Milestone: v3.8.0 (confirmed — CI infrastructure)
  • MoSCoW: Could Have — Test suite parallelization is a CI optimization. Overlaps with #1987.
  • Parent Epic: #1678 (confirmed correct)

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

**Potential duplicate of #1987.** This issue overlaps with #1987 ("increase parallelism across all test suites", v3.8.0) which covers parallelizing pytest, Behave, and Robot Framework test suites. Both request splitting and parallelizing unit and integration tests. Triaging as verified but flagging the overlap. The backlog groomer should consolidate. Issue triaged by project owner: - **State**: Verified - **Priority**: Medium (confirmed) - **Milestone**: v3.8.0 (confirmed — CI infrastructure) - **MoSCoW**: Could Have — Test suite parallelization is a CI optimization. Overlaps with #1987. - **Parent Epic**: #1678 (confirmed correct) --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
Author
Owner

Closing as duplicate of #2293.

This issue ("Parallelize Unit and Integration Test Suites") covers the same scope as #2293 ("Parallelize Nox Sessions in CI"), which addresses running independent test suites in parallel CI jobs. Consolidating to avoid duplicate work.


Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

Closing as duplicate of #2293. This issue ("Parallelize Unit and Integration Test Suites") covers the same scope as #2293 ("Parallelize Nox Sessions in CI"), which addresses running independent test suites in parallel CI jobs. Consolidating to avoid duplicate work. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#2346
No description provided.