You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
{Benchmark} Github actions to ADO pipeline migration - #1523
1ES Github runner hosted pools do not support public repos. Migrate to using ADO pipelines instead.
The goal is to have run the benchmarks on consistent hardware between runs
Testing Guide
History Notes
The PR title starts with [Component Name] for customer-facing changes or {Component Name} for non-customer-facing changes, and does not end with trailing punctuation or spaces.
Customer-facing changes include a useful release note in the PR title or the History Notes section.
I added or updated tests for behavior changes.
I updated documentation when behavior, setup, support, or security guidance changed.
Also folds the refinements found while verifying the plan into the design: a retry wrapper (retryCountOnTaskFailure does not retry timeouts), the collector script, the runner's report layout in Benchmark_Results, ordered and idempotent dashboard publishing, and a validation plan that does not depend on workflow_dispatch before merge.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Moves Azclips benchmark execution from GitHub Actions into the Azure DevOps alpha and beta pipelines, while retaining GitHub-based PR comments and dashboard publishing.
Changes:
Adds selective CLI, PowerShell, and startup benchmark jobs with fixed-hardware execution, retries, and result collection.
Reworks GitHub workflows to consume verified Azure DevOps artifacts and report advisory regressions above 15%.
Adds script tests, updates CI documentation, and introduces a manual PowerShell service-principal sign-in workflow.
File
Description
wiki/02-deep-dive/testing-benchmarking.md
Documents benchmark selection and advisory regression reporting.
wiki/02-deep-dive/build-cicd.md
Updates the division between GitHub and Azure DevOps.
tests/Benchmark/README.md
Updates artifact names, summary locations, and script paths.
Serialize PR comment writes and recheck the head SHA
.github/workflows/benchmark-comment.yml:33
The concurrency key is per commit, but every run updates the same comment on its PR. An older run can pass the head-SHA check, pause during the gh-pages checkout, and then overwrite a newer run's comment after the PR advances; the SHA check at lines 118–120 does not protect the later write. Serialize the comment-writing job by verified PR number and recheck the PR head inside that serialized job before updating the comment.
Changes confined to src/PS/Config/** or src/Extensions/Config/** select no work because Config has no extension benchmark class. The startup probes nevertheless run az config list and Get-AzConfig (tests/Benchmark/Startup/CliWarmStartupBenchmarks.cs:24 and PsWarmStartupBenchmarks.cs:33). Include both directories in startup selection and cover Config-only changes in the path-rule tests.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
An older main build can overwrite newer trace baselines even when its benchmark entries are rejected, causing subsequent PR span comparisons to use a baseline inconsistent with the dashboards.
Benchmark commenting triggers off of main branches detection of completed ADO runs. This will be tested after merging and any issues will be arising from then will be addressed accordingly.
This branch has not been deployed
No deployments
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
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.
Related command
Description
1ES Github runner hosted pools do not support public repos. Migrate to using ADO pipelines instead.
The goal is to have run the benchmarks on consistent hardware between runs
Testing Guide
History Notes
[Component Name]for customer-facing changes or{Component Name}for non-customer-facing changes, and does not end with trailing punctuation or spaces.