Add a script to only retry failed AzDo jobs - #38761
Open
AndriySvyryd wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds an Azure DevOps “grouped job validation” mechanism that can queue a child build on validation retries, running only the jobs needed for failed logical groups.
Changes:
- Introduces
eng/aggregate-azdo-tests.ps1to compute failed groups, queue a retry build for only required jobs, and merge retried results. - Adds a
jobspipeline parameter and per-jobconditiongates so a child build can run a targeted subset of jobs. - Updates the “Validate_Job_Results” job to call the new aggregator script and sets
SYSTEM_ACCESSTOKENfor REST API calls.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| eng/aggregate-azdo-tests.ps1 | New script to evaluate grouped outcomes and drive targeted retry builds via AzDO REST API. |
| azure-pipelines-public.yml | Adds jobs parameter + job-level gating and invokes the new aggregation script with OAuth token. |
| azure-pipelines-internal-tests.yml | Same gating/aggregation pattern for internal pipeline; adjusts isAssetlessBuild based on job selection. |
AndriySvyryd
force-pushed
the
RetryValidation
branch
from
August 6, 2026 22:54
c73af3b to
34b6195
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Suppressed comments (1)
eng/aggregate-azdo-tests.ps1:6
- Add strict error handling at the top of this script. Most eng PowerShell scripts set
$ErrorActionPreference = 'Stop'andSet-StrictMode -Version 2.0(e.g.eng/common/internal-feed-operations.ps1:9-10) to avoid non-terminating errors silently continuing, which is especially important around REST calls and hashtable lookups.
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.