Skip to content

[Infra] feat: add support for parallel scenarios in skill evaluation#84

Merged
ViktorHofer merged 1 commit intodotnet:mainfrom
ViktorHofer:ParallelScenarios
Feb 23, 2026
Merged

[Infra] feat: add support for parallel scenarios in skill evaluation#84
ViktorHofer merged 1 commit intodotnet:mainfrom
ViktorHofer:ParallelScenarios

Conversation

@ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Feb 23, 2026

Mimics the parallel skills option.

Due to #75 which is the first test to start using multiple scenarios in one eval.yml.

Copilot AI review requested due to automatic review settings February 23, 2026 10:42
@ViktorHofer ViktorHofer changed the title feat: add support for parallel scenarios in skill evaluation [infra] feat: add support for parallel scenarios in skill evaluation Feb 23, 2026
@ViktorHofer ViktorHofer changed the title [infra] feat: add support for parallel scenarios in skill evaluation [Infra] feat: add support for parallel scenarios in skill evaluation Feb 23, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for parallel execution of scenarios within a skill evaluation, mirroring the existing --parallel-skills option. The feature allows multiple scenarios within a single skill to be evaluated concurrently, controlled by the new --parallel-scenarios parameter.

Changes:

  • Added parallelScenarios configuration option with default value of 1 (sequential) and 3 for workflow evaluations
  • Refactored scenario execution from sequential for-loop to parallel Promise.all pattern using p-limit
  • Updated documentation and GitHub workflow to expose the new parameter

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
eng/skill-validator/src/types.ts Added parallelScenarios field to ValidatorConfig interface
eng/skill-validator/src/cli.ts Added CLI option, config parsing, and refactored scenario execution to use Promise.all with pLimit
eng/skill-validator/README.md Documented new --parallel-scenarios CLI option
.github/workflows/evaluation.yml Added workflow input and environment variable for parallel-scenarios with default value of 3

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ViktorHofer ViktorHofer merged commit 6c1f75f into dotnet:main Feb 23, 2026
4 of 5 checks passed
@ViktorHofer ViktorHofer deleted the ParallelScenarios branch February 23, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants