Skip to content

[0.74] Fix publish pipeline#15811

Merged
vmoroz merged 2 commits intomicrosoft:0.74-stablefrom
vmoroz:PR/0.74-fix-publish-pipeline
Mar 19, 2026
Merged

[0.74] Fix publish pipeline#15811
vmoroz merged 2 commits intomicrosoft:0.74-stablefrom
vmoroz:PR/0.74-fix-publish-pipeline

Conversation

@vmoroz
Copy link
Member

@vmoroz vmoroz commented Mar 19, 2026

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

The publish pipeline on 0.74-stable was broken after backporting the 1ES Pipeline Template migration from main (PR #15802). The backport introduced several regressions because the main branch has a different build matrix (no Fabric/non-Fabric split, no Managed packages, no Desktop Test DLL) and different artifact naming conventions. These differences caused the pipeline to fail at multiple stages: code signing, artifact download, and NuGet packing.

What

Fixed the following issues in .ado/publish.yml introduced by the backport:

  1. Code signing paths missing Fabric prefix — The esrp-codesign-binaries.yml step used hardcoded Desktop/ and ReactWindows/ paths regardless of Fabric builds. Fixed to use DesktopFabric/ and ReactWindowsFabric/ when UseFabric: true, matching the artifact publish paths.

  2. Desktop build solution and content filters narrowed — The backport switched from ReactWindows-Desktop.sln to ReactWindows-Desktop.Publish.slnf (which excludes React.Windows.Desktop.Test.DLL) and narrowed content filters to only specific files. Restored the full .sln and broad \** content filters (React.Windows.Desktop\**, React.Windows.Desktop.DLL\**, React.Windows.Desktop.Test.DLL\**) needed by OfficeReact.Win32.nuspec.

  3. Universal build content filters too narrow — The backport changed Microsoft.ReactNative\** to Microsoft.ReactNative\Microsoft.ReactNative.*, which missed subdirectory files (e.g., *.xbf files required by the nuspec). Restored the broad Microsoft.ReactNative\** filter. Also restored Microsoft.ReactNative.Managed\** which was dropped entirely.

  4. Missing Debug Fabric entries in universalBuildMatrix — The backport removed X64DebugFabric, X86DebugFabric, and Arm64DebugFabric entries, but the ReactWindowsFabric NuGet pack still referenced Debug slices, causing artifact download failures. Restored the missing entries.

  5. Missing DesktopFabric NuGet pack section — The backport removed the fourth prep-and-pack-nuget call for DesktopFabric (OfficeReact.Win32 with -Fabric version suffix). Restored it.

  6. Broken web links in documentation — Fixed 5 broken URLs caught by the unbroken link checker:

    • packages/README.md — Removed hyperlink to npmjs.com/org/rnw-scripts (npmjs returns HTTP 403 to automated checkers); replaced with inline code.
    • docs/monorepo.md — Replaced dead legacy.yarnpkg.com URL with classic.yarnpkg.com.
    • docs/managedCodeGen.md — Changed GitHub link from blob/main/ to blob/0.74-stable/ for SampleLibraryCS.csproj (file no longer on main).
    • packages/@react-native-windows/codegen/Document.md — Changed GitHub link from blob/main/ to blob/0.74-stable/ for NativeDialogManagerWindowsSpec.g.h.
    • docs/react-native-windows-init.md — Replaced npmjs.com/package/mustache (HTTP 403) with the mustache.js GitHub repo URL.

Screenshots

N/A — pipeline infrastructure changes only.

Testing

Verified by running the full Publish pipeline. All 33 build jobs (12 Desktop + 12 Desktop Fabric + 9 Universal) completed successfully, and the Pack NuGet job produced all expected packages including ReactWindows, ReactWindowsFabric, Desktop, and DesktopFabric variants.

Changelog

Should this change be included in the release notes: no

Internal pipeline fix only — no user-facing changes.

Microsoft Reviewers: Open in CodeFlow

@vmoroz vmoroz requested review from a team as code owners March 19, 2026 02:13
@vmoroz vmoroz enabled auto-merge (squash) March 19, 2026 04:19
@vmoroz vmoroz merged commit 76076ae into microsoft:0.74-stable Mar 19, 2026
60 checks passed
@vmoroz vmoroz deleted the PR/0.74-fix-publish-pipeline branch March 19, 2026 04:50
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.

3 participants