Skip to content

[release/10.0.1xx] Restrict CI package publishing to Windows Release - #10499

Open
mmitche wants to merge 1 commit into
release/10.0.1xxfrom
mmitche-publishing-backport-10-0-1xx
Open

mmitche wants to merge 1 commit into
release/10.0.1xxfrom
mmitche-publishing-backport-10-0-1xx

Conversation

@mmitche

@mmitche mmitche commented Sep 21, 2026

Copy link
Copy Markdown
Member

Problem

Backport #10496 to release/10.0.1xx. Concurrent product legs can upload packages to the shared PackageArtifacts/BlobArtifacts containers.

Solution

Reuse commit 04b73e5, semantically adapted from the main change rather than blindly cherry-picked. This release branch lacks main's existing Debug publishing suppression and retains the older official product build layout.

In both azure-pipelines-pr.yml and azure-pipelines.yml, pass /p:Publish=false for macOS/Linux builds and suppress publishing for Windows non-Release builds. Keep Windows Release as the only product package publisher. Add the missing Windows Debug matrix arguments and apply the official pipeline's non-Release guard to both PR and non-PR Windows command paths.

Preserve existing official product builds, signing, source-build configuration, test coverage and /p:Test=false behavior, diagnostic artifact/log publishing, and localization. No shared templates are changed.

Checks:

  • Added unit tests

Pipeline-only change; no unit tests added. Refreshed origin/release/10.0.1xx and confirmed the existing commit is exactly one commit ahead, with only 15 added lines across the two pipeline YAMLs. git diff --check passed. Both YAML files parse successfully. Reused the existing local release validator, restricted to this branch: 96 scenarios and 388 product legs passed, including Release/Debug/Checked and Debug-only configurations. It reproduced 68 previously multi-writer scenarios and verified unchanged job coverage and all non-publishing YAML structure. Checked build-script forwarding of trailing publishing overrides.

Validation limitations: local YAML expression-subset evaluation only; no external-template or Azure server expansion, dependency installs, full builds, or live CI run/retry 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:15
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