TEST-INFRA: [ci-execution-time] Investigate and optimize the 'Merge branch 'master' into test/m3-e2e-verification' workflow #1846

Open
opened 2026-04-02 23:57:16 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: test-infra/ci-execution-time/optimize-merge-master-e2e-verification-workflow
  • Commit Message: perf(ci): reduce execution time of merge-master-into-e2e-verification workflow by 50%
  • Milestone: v3.8.0
  • Parent Epic: #1678

Description

The Merge branch 'master' into test/m3-e2e-verification workflow has been identified as one of the longest running workflows in the CI pipeline. It has an average execution time of over 2 hours and 45 minutes.

Subtasks

  • Profile the workflow to identify the slowest steps and bottlenecks
  • Investigate whether parallelization of test stages is feasible
  • Evaluate caching opportunities (dependency caches, Docker layer caches, build artifacts)
  • Investigate test splitting strategies to distribute load across parallel runners
  • Implement the highest-impact optimizations
  • Monitor and measure the impact on execution time post-implementation
  • Document findings and optimizations applied

Definition of Done

  • Root cause(s) of the long execution time are documented
  • At least one optimization is implemented and merged
  • The execution time of the Merge branch 'master' into test/m3-e2e-verification workflow is reduced by at least 50% (target: ≤ 1h 22m)
  • Optimization approach is documented in a comment or wiki entry
  • All nox stages pass
  • Coverage >= 97%

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

## Metadata - **Branch**: `test-infra/ci-execution-time/optimize-merge-master-e2e-verification-workflow` - **Commit Message**: `perf(ci): reduce execution time of merge-master-into-e2e-verification workflow by 50%` - **Milestone**: v3.8.0 - **Parent Epic**: #1678 ## Description The `Merge branch 'master' into test/m3-e2e-verification` workflow has been identified as one of the longest running workflows in the CI pipeline. It has an average execution time of over 2 hours and 45 minutes. ## Subtasks - [ ] Profile the workflow to identify the slowest steps and bottlenecks - [ ] Investigate whether parallelization of test stages is feasible - [ ] Evaluate caching opportunities (dependency caches, Docker layer caches, build artifacts) - [ ] Investigate test splitting strategies to distribute load across parallel runners - [ ] Implement the highest-impact optimizations - [ ] Monitor and measure the impact on execution time post-implementation - [ ] Document findings and optimizations applied ## Definition of Done - [ ] Root cause(s) of the long execution time are documented - [ ] At least one optimization is implemented and merged - [ ] The execution time of the `Merge branch 'master' into test/m3-e2e-verification` workflow is reduced by at least 50% (target: ≤ 1h 22m) - [ ] Optimization approach is documented in a comment or wiki entry - [ ] 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-02 23:58:19 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • MoSCoW: MoSCoW/Could Have — CI/test infrastructure improvement.

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

Issue triaged by project owner: - **State**: Verified - **MoSCoW**: MoSCoW/Could Have — CI/test infrastructure improvement. --- **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#1846
No description provided.