TEST-INFRA: [ci-execution-time] Investigate and split 'Actor Context Management' suite #3484

Open
opened 2026-04-05 18:32:46 +00:00 by freemo · 0 comments
Owner

Metadata

  • Branch: test/ci-execution-time/split-actor-context-management-suite
  • Commit Message: test(ci): investigate and split Actor Context Management suite to reduce CI execution time
  • Milestone: N/A (Backlog)
  • Parent Epic: #1678

Background

The Actor Context Management suite takes over 100 seconds to run, making it one of the slowest suites in the CI pipeline. This significantly slows down the developer feedback loop and contributes to overall CI wall-clock time — a concern directly addressed by the parent Epic #1678 (CI Execution Time Optimization).

Proposal

  • Investigate the tests within the Actor Context Management suite to identify the slowest individual scenarios.
  • Determine logical groupings for splitting the suite into smaller, more focused suites.
  • Refactor the suite into multiple focused suites to improve parallelization and reduce overall CI execution time.

Subtasks

  • Profile the Actor Context Management suite to identify the slowest scenarios (e.g., using behave --dry-run timings or CI logs)
  • Identify logical groupings for splitting (e.g., by feature area, setup cost, or dependency)
  • Split the suite into two or more focused .feature files under features/
  • Update any suite-level tags, hooks, or fixtures in features/environment.py as needed
  • Verify the new suites run correctly in isolation via nox -e unit_tests
  • Confirm total execution time of the split suites is significantly lower than the original 100+ seconds
  • Update features/ci_workflow_validation.feature if suite naming is referenced there

Definition of Done

  • The Actor Context Management suite has been split into two or more focused suites
  • Each new suite is well-structured and focused on a specific functional area
  • The combined execution time of the new suites is measurably reduced compared to the original
  • No test scenarios have been removed — all original coverage is preserved
  • All nox stages pass
  • Coverage >= 97%

Backlog note: This issue was discovered during autonomous operation
on milestone v3.8.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: ca-new-issue-creator

## Metadata - **Branch**: `test/ci-execution-time/split-actor-context-management-suite` - **Commit Message**: `test(ci): investigate and split Actor Context Management suite to reduce CI execution time` - **Milestone**: N/A (Backlog) - **Parent Epic**: #1678 ## Background The `Actor Context Management` suite takes over 100 seconds to run, making it one of the slowest suites in the CI pipeline. This significantly slows down the developer feedback loop and contributes to overall CI wall-clock time — a concern directly addressed by the parent Epic #1678 (CI Execution Time Optimization). ## Proposal - Investigate the tests within the `Actor Context Management` suite to identify the slowest individual scenarios. - Determine logical groupings for splitting the suite into smaller, more focused suites. - Refactor the suite into multiple focused suites to improve parallelization and reduce overall CI execution time. ## Subtasks - [ ] Profile the `Actor Context Management` suite to identify the slowest scenarios (e.g., using `behave --dry-run` timings or CI logs) - [ ] Identify logical groupings for splitting (e.g., by feature area, setup cost, or dependency) - [ ] Split the suite into two or more focused `.feature` files under `features/` - [ ] Update any suite-level tags, hooks, or fixtures in `features/environment.py` as needed - [ ] Verify the new suites run correctly in isolation via `nox -e unit_tests` - [ ] Confirm total execution time of the split suites is significantly lower than the original 100+ seconds - [ ] Update `features/ci_workflow_validation.feature` if suite naming is referenced there ## Definition of Done - [ ] The `Actor Context Management` suite has been split into two or more focused suites - [ ] Each new suite is well-structured and focused on a specific functional area - [ ] The combined execution time of the new suites is measurably reduced compared to the original - [ ] No test scenarios have been removed — all original coverage is preserved - [ ] All nox stages pass - [ ] Coverage >= 97% > **Backlog note:** This issue was discovered during autonomous operation > on milestone v3.8.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: ca-new-issue-creator
freemo added this to the v3.7.0 milestone 2026-04-05 20:42:49 +00:00
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#3484
No description provided.