[release/8.0.1xx] Restrict CI package publishing to Windows Release - #10498
Merged
Merged
Conversation
Adapt main commit 44cea09, including Debug suppression missing from this release branch. Preserve build and test coverage, signing, and per-leg diagnostic artifacts. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
nagilson
approved these changes
Sep 22, 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 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.
Problem
Backport #10496 to release/8.0.1xx. Multiple build legs can publish packages concurrently to the shared PackageArtifacts/BlobArtifacts containers.
Solution
Reuse commit 8c6657d, semantically adapting the original change rather than blindly cherry-picking main:
/p:Publish=false._ExtraBuildArgsper configuration; the official pipeline applies a non-Release configuration guard and forwards the argument in both Windows command paths. Windows Release keeps its existing publishing behavior.Checks:
Validation: refreshed origin/release/8.0.1xx and confirmed the existing backport is one commit ahead with no base-only commits. Parsed both YAMLs, checked every Windows and Unix build command and the Release/Debug argument assignments, and structurally compared against the refreshed base after removing only the intended publishing additions; all remaining pipeline semantics match.
git diff --checkpasses, and the committed diff contains only the two pipeline YAMLs (+15 lines).Limitations: static validation only; no Azure DevOps template expansion, full builds, dependency installs, or live CI retry. No unit tests added for this YAML-only backport. Unrelated local long-path checkout deletions were not touched or committed.