Skip to content

[build] Add build-summary stage to Xamarin.Android-PR pipeline#10982

Open
jonathanpeppers wants to merge 2 commits intomainfrom
dev/peppers/build-summary
Open

[build] Add build-summary stage to Xamarin.Android-PR pipeline#10982
jonathanpeppers wants to merge 2 commits intomainfrom
dev/peppers/build-summary

Conversation

@jonathanpeppers
Copy link
Member

Context: https://devdiv.visualstudio.com/DevDiv/_git/Xamarin.yaml-templates/pullrequest/720277

Points yaml-templates at dev/peppers/build-summary to test the new build-summary template. Only runs on Xamarin.Android-PR pipeline for non-fork PRs.

For testing:

  • Add invalid XML to NativeAOT.targets to trigger test failures

Context: https://devdiv.visualstudio.com/DevDiv/_git/Xamarin.yaml-templates/pullrequest/720277

Points yaml-templates at `dev/peppers/build-summary` to test the
new `build-summary` template. Only runs on `Xamarin.Android-PR` pipeline
for non-fork PRs.

For testing:

* Add invalid XML to NativeAOT.targets to trigger test failures

Co-Authored-By: Copilot <223556219+Copilot@users.noreply.github.com>
@jonathanpeppers
Copy link
Member Author

jonathanpeppers commented Mar 24, 2026

If you go to any Xamarin.Android-PR pipeline run, the Extensions tab will have a markdown file like:

image image

The build-summary template has been merged to main in
Xamarin.yaml-templates. Remove the deliberate invalid XML from
NativeAOT.targets that was used for testing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jonathanpeppers jonathanpeppers marked this pull request as ready for review March 24, 2026 21:55
Copilot AI review requested due to automatic review settings March 24, 2026 21:55
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

Adds a failure-only BuildSummary stage to the Xamarin.Android-PR Azure Pipelines definition so failed PR runs can publish a consolidated build summary using the shared yaml-templates build-summary template.

Changes:

  • Adds a new BuildSummary stage gated on Build.DefinitionName == Xamarin.Android-PR.
  • Configures the stage to depend on the main build/test stages and run only when the pipeline is failing (condition: failed()).
  • Uses build-summary/v1.yml@yaml-templates as the job template for the stage.

@jonathanpeppers
Copy link
Member Author

Great explanation of a flaky test:

image

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.

2 participants