Commit Graph

2 Commits

Author SHA1 Message Date
HAL9000 ebb543a9c3 fix(plans): resolve CI failures in parallel subplan scheduler BDD tests
- Remove duplicate @then decorator on step_verify_peak_concurrency_limit
  (caused AmbiguousStep error crashing all 8 unit test feature files)
- Rename "the subplans should have been executed in order" to
  "the subplans should have been executed in sequential order" to
  avoid conflict with pre-existing step in subplan_execution_steps.py
- Remove 13 additional @then step definitions that duplicated steps in
  subplan_execution_steps.py; alias context.exec_result and
  context.validation_error in @when steps so pre-existing steps work
- Replace two # type: ignore comments (lines 438, 453) with typed
  Any variables per zero-tolerance policy
- Apply ruff format to fix formatting (long import wrapping, list comps)
- Add CHANGELOG entry and CONTRIBUTORS entry for #9555

ISSUES CLOSED: #9609
2026-06-06 20:26:27 -04:00
CleverAgents Automation 705eb5a969 feat(plans): implement parallel subplan execution scheduler with max_parallel concurrency control
- Add ParallelSubplanScheduler class for managing parallel subplan execution
- Implement SubplanQueue for tracking pending, active, and completed subplans
- Implement SchedulerState for immutable scheduler state tracking
- Support configurable max_parallel concurrency limit (1-50)
- Support sequential, parallel, and dependency-ordered execution modes
- Automatic queuing of subplans when max_parallel limit is reached
- Parent plan blocks until all subplans complete
- Comprehensive failure handling and retry logic
- Merge strategy selection for combining subplan outputs
- Add comprehensive BDD test suite with 50+ scenarios
- Test coverage for concurrency control, queue management, and state tracking
2026-06-06 20:26:27 -04:00