Skip to content

Support parallel scenario execution #30

@aviralgarg05

Description

@aviralgarg05

Summary

Implement parallel scenario execution to speed up evaluation suites with many independent scenarios.

Tasks

  • Add --parallel / -j flag to CLI (default: 1).
  • Use concurrent.futures.ThreadPoolExecutor or ProcessPoolExecutor.
  • Ensure thread-safe trace logging and result aggregation.
  • Add tests for parallel execution correctness.

Acceptance criteria

  • agentunit eval scenarios/ -j 4 runs 4 scenarios concurrently.
  • Results are identical to sequential execution.
  • No race conditions in trace or metrics collection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions