Fix dogfood PR artifact retrieval for failed aggregate builds - #35939
Merged
Conversation
Allow get-maui-pr scripts to continue when the aggregate maui-pr build is red but PackageArtifacts are available for the current PR commit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 35939Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 35939" |
This was referenced Jun 16, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description
Updates
eng/scripts/get-maui-pr.shandeng/scripts/get-maui-pr.ps1so users can still apply PR package artifacts when the aggregatemaui-prbuild is red because of unrelated CI legs, as long as the package-producing artifacts exist for the current PR commit.Changes
maui-prbuild as a warning instead of an immediate abort.PackageArtifactsas the hard gate before downloading/applying packages.triggerInfo.pr.sourceSha,sourceVersion, and the PR merge SHA.Pack macOSorPack Windowstimeline records do not report success.maui-prbuilds withPackageArtifactsrather than green checks.Validation
bash -n eng/scripts/get-maui-pr.sheng/scripts/get-maui-pr.ps1git diff --check/Volumes/NieuwVolume/maui-pr-artifact-verification-20260616101523:#35805: red aggregate build1461390,PackageArtifactspresent, pack jobs succeeded; Bash and PowerShell scripts applied package10.0.80-ci.pr35805.26312.37;dotnet restoresucceeded.#35923: green aggregate build path applied package10.0.80-ci.pr35923.26315.57;dotnet restoresucceeded.#35626: missingPackageArtifactsfailed before mutating the project.#999999: nonexistent PR failed cleanly during PR lookup.#35805: refused to use older completed builds when none matched the requested head/merge commit.