Skip to content

[release/8.0.4xx] Restrict CI package publishing to Windows Release - #10497

Open
mmitche wants to merge 1 commit into
release/8.0.4xxfrom
mmitche-publishing-backport-8-0-4xx
Open

mmitche wants to merge 1 commit into
release/8.0.4xxfrom
mmitche-publishing-backport-8-0-4xx

Conversation

@mmitche

@mmitche mmitche commented Sep 21, 2026

Copy link
Copy Markdown
Member

Problem

Backport #10496 to release/8.0.4xx. Multiple build legs can publish packages to the shared PackageArtifacts/BlobArtifacts containers, causing concurrent uploads.

Solution

Semantically adapt #10496 rather than blindly cherry-picking the main-branch patch: this release branch also lacks Windows Debug publishing suppression. Both pipeline YAMLs now pass /p:Publish=false for macOS and Linux and use _ExtraBuildArgs to suppress publishing for Windows Debug/non-Release configurations. Windows Release keeps its existing publishing behavior.

Preserve this branch's existing official product-build path (/p:Test=false), PR integration tests, signing, source-build configuration, diagnostic/test artifact settings, localization, and post-build processing. Reuse commit 2b49f7b; no unrelated checkout changes are included.

Checks:

  • Added unit tests

Validation: refreshed origin/release/8.0.4xx and confirmed the backport is one commit ahead with no base divergence. git diff --check passes. Both YAMLs parse with PyYAML; assertions check the Windows Release/Debug publishing arguments and both Unix build commands. Removing only the intended publishing additions yields parsed YAML identical to the refreshed release baseline. The diff is limited to 15 added lines across azure-pipelines.yml and azure-pipelines-pr.yml.

Limitations: static validation only; no live Azure Pipelines template expansion, full builds, unit/integration test execution, or CI retries were performed.

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>
@mmitche
mmitche requested a review from a team as a code owner September 21, 2026 21:14
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.

1 participant