Update msbench script and pipeline#1070
Merged
fanyang-mono merged 11 commits intomainfrom Mar 3, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Azure DevOps benchmark pipeline and its PowerShell runner script to install MSBench CLI at runtime and invoke a Copilot benchmark run.
Changes:
- Replaced the benchmark runner script with a stricter, parameterized implementation that installs MSBench CLI from an Azure Artifacts feed and pulls a GitHub PAT from Key Vault.
- Updated the pipeline to run on
mainpushes and to provision Python 3.11 before executing the script. - Removed the prior
-BuildIdargument wiring from the pipeline.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
pipelines/scripts/Invoke-CopilotBenchmarks.ps1 |
Adds parameter validation, Key Vault secret retrieval, Python/pip setup, MSBench CLI install, and constructs the msbench-cli run invocation. |
pipelines/azure-benchmarks.yml |
Enables CI trigger on main, adds UsePythonVersion@0 for Python 3.11, and updates script invocation. |
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
pipelines/scripts/Invoke-CopilotBenchmarks.ps1:39
- The example uses
-NoWait "false", butNoWaitis a[switch]parameter, so providing a positional string argument will fail parsing (or won’t do what the example claims). Update the example to use PowerShell switch syntax (e.g.,-NoWait:$false) or changeNoWaitto a boolean/string parameter if you want to accept explicit true/false values.
PS> ./Invoke-CopilotBenchmarks.ps1 -Benchmark azure.120 -Model "claude-sonnet-4.5-autodev-test" -NoWait "false"
Runs benchmark azure.120 with explicit model and waits for completion.
9f8ab84 to
66b358e
Compare
66b358e to
fab14ee
Compare
fab14ee to
5cfef1c
Compare
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
fanyang-mono
approved these changes
Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.