Skip to content

Update Configuration Schema for Parallel Execution #123

@hawkeyexl

Description

@hawkeyexl

Description

Add concurrentRunners property to the configuration schema to support parallel test execution.

Requirements

Schema Changes

Update the configuration schema (config_v3.schema.json) to include:

{
  "concurrentRunners": {
    "type": ["integer", "boolean"],
    "default": 1,
    "minimum": 1,
    "description": "Number of concurrent test runners. Set to true to use CPU core count (capped at 4)."
  }
}

Validation Rules

  • Accept integer values ≥ 1
  • Accept boolean true value
  • Reject boolean false (invalid configuration)
  • Default to 1 when not specified

Files to Modify

  • src/schemas/src_schemas/config_v3.schema.json
  • Update any related TypeScript definitions if they exist
  • Update schema validation tests

Acceptance Criteria

  • Schema accepts "concurrentRunners": 1
  • Schema accepts "concurrentRunners": true
  • Schema accepts "concurrentRunners": 8 (any integer ≥ 1)
  • Schema rejects "concurrentRunners": 0
  • Schema rejects "concurrentRunners": -1
  • Schema rejects "concurrentRunners": false
  • Schema rejects "concurrentRunners": "invalid"
  • Default value is 1 when property omitted
  • Validation tests pass

Implementation Notes

  • Follow existing schema patterns in the codebase
  • Ensure the description clearly explains the boolean true behavior
  • Add appropriate examples to the schema if the pattern supports it

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions