[release/11.0.1xx-preview7] Harden MTP artifact post-processing and add an opt-out - #55493
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
Artifact post-processing runs after a test run has already completed and reported its results, so it must never be able to change that outcome. Two ways it could are fixed: - Any exception outside a small hand-picked set escaped ExecuteAsync, was not caught by the caller, and reached the top-level CLI handler, turning a finished run into a crash with a different exit code. Every failure is now logged to trace and downgraded to the existing warning. - Cancelling mid-job kills the post-processing process, and the resulting non-zero exit code was then reported as a post-processing failure. Both warning sites now route through ReportFailureUnlessCancelled. Also adds '--no-artifact-post-processing', which skips post-processing so each test application keeps its own artifacts instead of test applications being relaunched to merge them. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e002463b-c925-4c2f-90c3-b56d480faa7d
|
Azure Pipelines: Successfully started running 1 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
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.
Backport of #55480 to release/11.0.1xx-preview7
/cc @Evangelink