Skip to content

Improve retry script - #38849

Merged
AndriySvyryd merged 1 commit into
mainfrom
TestFailure
Aug 24, 2026
Merged

AndriySvyryd merged 1 commit into
mainfrom
TestFailure

Conversation

@AndriySvyryd

Copy link
Copy Markdown
Member

Fix definition ID
Add a link to the retry build
Don't validate the retry build

Add a link to the retry build
Don't validate the retry build

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 improves the Azure DevOps retry mechanism used by eng/aggregate-azdo-tests.ps1 by ensuring the correct pipeline definition ID is used when queueing a retry build, emitting a convenient link to the queued retry build, and preventing the retry build from running the validation stage.

Changes:

  • Parse and validate SYSTEM_DEFINITIONID and use it when queueing the retry build.
  • Print a “Retry build” URL (from REST _links when available, with a fallback URL).
  • Skip the validate stage when the pipeline is run with a non-default jobs parameter (i.e., retry builds / targeted job runs).

Reviewed changes

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

File Description
eng/aggregate-azdo-tests.ps1 Uses SYSTEM_DEFINITIONID for retry queueing and outputs a retry build link.
azure-pipelines-public.yml Skips validate stage when parameters.jobs is not the default '[]'.
azure-pipelines-internal-tests.yml Same validate gating as public pipeline to avoid validating retry builds.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@AndriySvyryd
AndriySvyryd merged commit 8b919e0 into main Aug 24, 2026
17 checks passed
@AndriySvyryd
AndriySvyryd deleted the TestFailure branch August 24, 2026 17:39
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Aug 25, 2026
AndriySvyryd added a commit that referenced this pull request Sep 25, 2026
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