Skip to content

[4.150.x] Onboard Arcade infrastructure - #4872

Merged
mattleibow merged 4 commits into
release/4.150.xfrom
mattleibow-release-4-150-arcade-onboarding
Aug 26, 2026
Merged

mattleibow merged 4 commits into
release/4.150.xfrom
mattleibow-release-4-150-arcade-onboarding

Conversation

@mattleibow

Copy link
Copy Markdown
Contributor

Description of Change

Backports merged PR #4802's behavior-neutral Arcade/Darc onboarding layer to release/4.150.x.

This adds the complete generated eng/common snapshot, the isolated restore-only Arcade graph, pinned Arcade/Darc dependency metadata, repository-local tool/cache ignores, and eng/** cache invalidation. It preserves the release branch's supported .NET SDK identity (10.0.108) and does not change product, native, runtime, package, or existing pipeline-root behavior.

This PR intentionally excludes signing, API Scan, BAR publishing, package artifact assembly, transport, PDB work, dnceng pipeline activation, API-diff fixes, and all later operational content from #4865/#4803/#4859. It is the intended bottom layer for #4865, which will be restacked above this PR.

Validation:

  • The four commits range-diff exactly to PR build: onboard Arcade infrastructure #4802; the effective diff is the same 164 paths.
  • ./eng/common/build.sh --restore --verbosity minimal succeeds after branch-equivalent pre-seeding of the pinned Arcade package/toolset with .NET 10.0.108.
  • darc get-dependencies --ci resolves Microsoft.DotNet.Arcade.Sdk 11.0.0-beta.26414.2 at 09a0bcffb8286738e8679282171cd1ba548c8c52.
  • python3 scripts/infra/caching/repo-deps.py validate passes with zero uncovered files.
  • All changed JSON and XML/MSBuild metadata parses; generated executable modes match build: onboard Arcade infrastructure #4802 exactly.
  • git diff --check is clean for the working tree and non-generated range. The full range retains only the generated eng/common whitespace diagnostics already present in build: onboard Arcade infrastructure #4802, with identical output.

The generated Arcade 11 bootstrap wrapper uses the .NET 11-only dotnet package download command, while this onboarding deliberately retains .NET 10.0.108. No generated-file workaround is committed; the isolated graph was validated through the supported pre-seeded toolset path.

Tests are omitted because this is infrastructure-only and behavior-neutral; the isolated restore and metadata validations above cover the change.

Bugs Fixed

None.

API Changes

None.

Behavioral Changes

None.

Required skia PR

None.

PR Checklist

  • Has tests (infrastructure-only; isolated restore and metadata validation performed)
  • Rebased on top of main at time of PR (release backport based on release/4.150.x at 838c32fabff47a55ebb36d43beaccf5701f4c780)
  • Merged related skia PRs (not applicable)
  • Changes adhere to coding standard
  • Updated documentation (generated Arcade README included; no product documentation change required)

Copilot AI added 4 commits August 26, 2026 11:35
Add the pinned Arcade SDK metadata and exact generated eng/common snapshot behind an isolated restore-only graph. Preserve the existing SkiaSharp SDK, Cake build, pipelines, signing, and publishing behavior.

Copilot-Session: ebd516d2-00c0-49bf-9943-6b7ae61acbb7

Co-authored-by: Copilot App <[email protected]>
Treat eng/** as a global cache dependency so any Arcade or repository engineering change invalidates every product cache and forces a full rebuild.

Copilot-Session: ebd516d2-00c0-49bf-9943-6b7ae61acbb7

Co-authored-by: Copilot App <[email protected]>
Update the Arcade SDK and generated shared infrastructure from .NET Eng - Latest using Darc. Adopt Arcade 11.0.0-beta.26414.2 from build 20260814.2 and its required .NET SDK while preserving the isolated bootstrap graph.

Copilot-Session: ebd516d2-00c0-49bf-9943-6b7ae61acbb7

Co-authored-by: Copilot App <[email protected]>
Keep Arcade and Darc on their latest versions while preserving SkiaSharp's 10.0.108 SDK baseline. The .NET 11 preview selected by Darc is unavailable in existing CI agents, containers, and WASM workload feeds.

Copilot-Session: ebd516d2-00c0-49bf-9943-6b7ae61acbb7

Co-authored-by: Copilot App <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

📦 Try the packages from this PR

Warning

Do not run these scripts without first reviewing the code in this PR.

Step 1 — Download the packages

bash / macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.sh | bash -s -- 4872

PowerShell / Windows:

iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4872"

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-4872/packages --name skiasharp-pr-4872
More options
Option Description
--successful-only / -SuccessfulOnly Only use successful builds
--force / -Force Overwrite previously downloaded packages
--list / -List List available artifacts without downloading
--build-id ID / -BuildId ID Download from a specific build

Or download manually from Azure Pipelines — look for the nuget artifact on the build for this PR.

Remove the source when you're done:

dotnet nuget remove source skiasharp-pr-4872

@github-actions

Copy link
Copy Markdown
Contributor

📦 Artifact size report

Packages from this PR (build 1568254) vs the latest nightly baseline 4.152.0-nightly.47 (observed 2026-08-26).

Total .nupkg size: 569.6 MB → 504.5 MB (−65.2 MB, -11.4%)

Packages

⚠️ marks growth over 500.0 KB or 2%. Changes under 50.0 KB are treated as noise.

Package baseline this PR Δ Δ%
SkiaSharp.NativeAssets.WebAssembly 69.7 MB 42.4 MB 🟢 −27.2 MB -39.1%
SkiaSharp.NativeAssets.Win32 85.7 MB 77.3 MB 🟢 −8.4 MB -9.8%
HarfBuzzSharp.NativeAssets.WebAssembly 23.2 MB 15.6 MB 🟢 −7.6 MB -32.8%
SkiaSharp.NativeAssets.Linux 63.1 MB 57.5 MB 🟢 −5.7 MB -9.0%
SkiaSharp.NativeAssets.Linux.NoDependencies 63.0 MB 57.4 MB 🟢 −5.7 MB -9.0%
SkiaSharp.NativeAssets.NanoServer 24.5 MB 21.7 MB 🟢 −2.9 MB -11.7%
SkiaSharp.NativeAssets.WinUI 109.1 MB 107.1 MB 🟢 −1.9 MB -1.8%
SkiaSharp.NativeAssets.Android 17.9 MB 16.6 MB 🟢 −1.3 MB -7.0%
SkiaSharp.NativeAssets.tvOS 13.7 MB 12.5 MB 🟢 −1.2 MB -8.9%
SkiaSharp.NativeAssets.iOS 13.7 MB 12.5 MB 🟢 −1.2 MB -8.9%
SkiaSharp.NativeAssets.macOS 7.9 MB 7.3 MB 🟢 −679.1 KB -8.4%
SkiaSharp.NativeAssets.MacCatalyst 6.6 MB 6.1 MB 🟢 −599.1 KB -8.8%
SkiaSharp 9.1 MB 8.5 MB 🟢 −542.7 KB -5.8%
HarfBuzzSharp.NativeAssets.Win32 20.7 MB 20.5 MB 🟢 −250.2 KB -1.2%
SkiaSharp.Vulkan.Silk.NET 129.1 KB removed −129.1 KB -100.0%

+26 package(s) unchanged (< 50.0 KB).

Per-file changes

HarfBuzzSharp.NativeAssets.WebAssembly

File Size
🧬 wasm 5.0.6/mt,simd · libHarfBuzzSharp.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/mt,simd/libHarfBuzzSharp.a) 3.4 MB → removed
🧬 wasm 5.0.6/mt,simd · libHarfBuzzSharp.wasm.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/mt,simd/libHarfBuzzSharp.wasm.a) 3.4 MB → removed
🧬 wasm 5.0.6/st,simd · libHarfBuzzSharp.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/st,simd/libHarfBuzzSharp.a) 3.4 MB → removed
🧬 wasm 5.0.6/st,simd · libHarfBuzzSharp.wasm.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/st,simd/libHarfBuzzSharp.wasm.a) 3.4 MB → removed
🧬 wasm 5.0.6/mt · libHarfBuzzSharp.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/mt/libHarfBuzzSharp.a) 3.4 MB → removed
🧬 wasm 5.0.6/mt · libHarfBuzzSharp.wasm.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/mt/libHarfBuzzSharp.wasm.a) 3.4 MB → removed
🧬 wasm 5.0.6/st · libHarfBuzzSharp.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/st/libHarfBuzzSharp.a) 3.4 MB → removed
🧬 wasm 5.0.6/st · libHarfBuzzSharp.wasm.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/st/libHarfBuzzSharp.wasm.a) 3.4 MB → removed
README.md 1.9 KB → 84 B (🟢 −1.8 KB)

HarfBuzzSharp.NativeAssets.Win32

File Size
runtimes/win-x86/native/libHarfBuzzSharp.pdb 22.2 MB → 21.9 MB (🟢 −272.0 KB)
runtimes/win-x64/native/libHarfBuzzSharp.pdb 22.0 MB → 21.8 MB (🟢 −240.0 KB)
runtimes/win-arm64/native/libHarfBuzzSharp.pdb 22.3 MB → 22.3 MB (🟢 −8.0 KB)
README.md 1.8 KB → 84 B (🟢 −1.8 KB)

SkiaSharp

File Size
ref/net462/SkiaSharp.dll 470.0 KB → 380.5 KB (🟢 −89.5 KB)
ref/net48/SkiaSharp.dll 470.0 KB → 380.5 KB (🟢 −89.5 KB)
lib/net462/SkiaSharp.dll 862.0 KB → 808.0 KB (🟢 −54.0 KB)
lib/net48/SkiaSharp.dll 862.0 KB → 808.0 KB (🟢 −54.0 KB)
ref/netstandard2.0/SkiaSharp.dll 303.5 KB → 253.5 KB (🟢 −50.0 KB)
ref/netstandard2.1/SkiaSharp.dll 301.0 KB → 251.0 KB (🟢 −50.0 KB)
ref/net6.0/SkiaSharp.dll 296.0 KB → 246.5 KB (🟢 −49.5 KB)
lib/net10.0-macos26.0/SkiaSharp.dll 536.0 KB → 502.5 KB (🟢 −33.5 KB)
lib/net10.0-tizen10.0/SkiaSharp.dll 553.5 KB → 520.0 KB (🟢 −33.5 KB)
lib/net10.0/SkiaSharp.dll 537.5 KB → 504.0 KB (🟢 −33.5 KB)
lib/net6.0-tizen8.0/SkiaSharp.dll 527.0 KB → 493.5 KB (🟢 −33.5 KB)
lib/net6.0/SkiaSharp.dll 510.0 KB → 476.5 KB (🟢 −33.5 KB)
lib/net9.0-macos15.0/SkiaSharp.dll 536.0 KB → 502.5 KB (🟢 −33.5 KB)
lib/net9.0-tizen8.0/SkiaSharp.dll 553.5 KB → 520.0 KB (🟢 −33.5 KB)
lib/net9.0/SkiaSharp.dll 537.5 KB → 504.0 KB (🟢 −33.5 KB)
lib/netstandard2.0/SkiaSharp.dll 518.0 KB → 484.5 KB (🟢 −33.5 KB)
lib/netstandard2.1/SkiaSharp.dll 514.0 KB → 480.5 KB (🟢 −33.5 KB)
lib/net10.0-android36.0/SkiaSharp.dll 533.5 KB → 500.5 KB (🟢 −33.0 KB)
lib/net10.0-ios26.0/SkiaSharp.dll 536.0 KB → 503.0 KB (🟢 −33.0 KB)
lib/net10.0-maccatalyst26.0/SkiaSharp.dll 536.0 KB → 503.0 KB (🟢 −33.0 KB)
lib/net10.0-tvos26.0/SkiaSharp.dll 536.0 KB → 503.0 KB (🟢 −33.0 KB)
lib/net10.0-windows10.0.19041/SkiaSharp.dll 538.5 KB → 505.5 KB (🟢 −33.0 KB)
lib/net9.0-android35.0/SkiaSharp.dll 533.5 KB → 500.5 KB (🟢 −33.0 KB)
lib/net9.0-ios18.0/SkiaSharp.dll 536.0 KB → 503.0 KB (🟢 −33.0 KB)
lib/net9.0-maccatalyst18.0/SkiaSharp.dll 536.0 KB → 503.0 KB (🟢 −33.0 KB)
+44 more file(s)

SkiaSharp.NativeAssets.Android

File Size
🧬 android-x64 (runtimes/android-x64/native/libSkiaSharp.so) 10.6 MB → 9.7 MB (🟢 −862.5 KB)
🧬 android-arm64 (runtimes/android-arm64/native/libSkiaSharp.so) 9.8 MB → 9.0 MB (🟢 −842.2 KB)
🧬 android-arm (runtimes/android-arm/native/libSkiaSharp.so) 6.6 MB → 6.0 MB (🟢 −593.8 KB)
🧬 android-x86 (runtimes/android-x86/native/libSkiaSharp.so) 11.0 MB → 10.8 MB (🟢 −217.5 KB)
README.md 1.9 KB → 219 B (🟢 −1.7 KB)

SkiaSharp.NativeAssets.Linux

File Size
🧬 linux-x86 (runtimes/linux-x86/native/libSkiaSharp.so) 13.3 MB → 12.1 MB (🟢 −1.2 MB)
🧬 linux-arm64 (runtimes/linux-arm64/native/libSkiaSharp.so) 12.2 MB → 11.1 MB (🟢 −1.2 MB)
🧬 linux-bionic-arm64 (runtimes/linux-bionic-arm64/native/libSkiaSharp.so) 12.5 MB → 11.3 MB (🟢 −1.2 MB)
🧬 linux-musl-arm64 (runtimes/linux-musl-arm64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.2 MB)
🧬 linux-riscv64 (runtimes/linux-riscv64/native/libSkiaSharp.so) 11.2 MB → 10.1 MB (🟢 −1.1 MB)
🧬 linux-musl-riscv64 (runtimes/linux-musl-riscv64/native/libSkiaSharp.so) 11.3 MB → 10.2 MB (🟢 −1.1 MB)
🧬 linux-x64 (runtimes/linux-x64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 MB)
🧬 linux-musl-x64 (runtimes/linux-musl-x64/native/libSkiaSharp.so) 12.4 MB → 11.3 MB (🟢 −1.1 MB)
🧬 linux-bionic-x64 (runtimes/linux-bionic-x64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 MB)
🧬 linux-loongarch64 (runtimes/linux-loongarch64/native/libSkiaSharp.so) 11.7 MB → 10.6 MB (🟢 −1.1 MB)
🧬 linux-musl-loongarch64 (runtimes/linux-musl-loongarch64/native/libSkiaSharp.so) 12.0 MB → 10.9 MB (🟢 −1.1 MB)
🧬 linux-arm (runtimes/linux-arm/native/libSkiaSharp.so) 8.8 MB → 7.9 MB (🟢 −890.5 KB)
🧬 linux-musl-arm (runtimes/linux-musl-arm/native/libSkiaSharp.so) 8.8 MB → 7.9 MB (🟢 −888.7 KB)
README.md 1.9 KB → 219 B (🟢 −1.7 KB)

SkiaSharp.NativeAssets.Linux.NoDependencies

File Size
🧬 linux-x86 (runtimes/linux-x86/native/libSkiaSharp.so) 13.3 MB → 12.0 MB (🟢 −1.2 MB)
🧬 linux-arm64 (runtimes/linux-arm64/native/libSkiaSharp.so) 12.2 MB → 11.0 MB (🟢 −1.2 MB)
🧬 linux-bionic-arm64 (runtimes/linux-bionic-arm64/native/libSkiaSharp.so) 12.5 MB → 11.3 MB (🟢 −1.2 MB)
🧬 linux-musl-arm64 (runtimes/linux-musl-arm64/native/libSkiaSharp.so) 12.3 MB → 11.1 MB (🟢 −1.2 MB)
🧬 linux-riscv64 (runtimes/linux-riscv64/native/libSkiaSharp.so) 11.1 MB → 10.0 MB (🟢 −1.1 MB)
🧬 linux-musl-riscv64 (runtimes/linux-musl-riscv64/native/libSkiaSharp.so) 11.3 MB → 10.2 MB (🟢 −1.1 MB)
🧬 linux-x64 (runtimes/linux-x64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 MB)
🧬 linux-musl-x64 (runtimes/linux-musl-x64/native/libSkiaSharp.so) 12.4 MB → 11.3 MB (🟢 −1.1 MB)
🧬 linux-bionic-x64 (runtimes/linux-bionic-x64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 MB)
🧬 linux-loongarch64 (runtimes/linux-loongarch64/native/libSkiaSharp.so) 11.6 MB → 10.5 MB (🟢 −1.1 MB)
🧬 linux-musl-loongarch64 (runtimes/linux-musl-loongarch64/native/libSkiaSharp.so) 12.0 MB → 10.9 MB (🟢 −1.1 MB)
🧬 linux-arm (runtimes/linux-arm/native/libSkiaSharp.so) 8.7 MB → 7.9 MB (🟢 −890.5 KB)
🧬 linux-musl-arm (runtimes/linux-musl-arm/native/libSkiaSharp.so) 8.8 MB → 7.9 MB (🟢 −888.7 KB)
README.md 2.3 KB → 537 B (🟢 −1.8 KB)

SkiaSharp.NativeAssets.MacCatalyst

File Size
🧬 maccatalyst (framework) (runtimes/maccatalyst/native/libSkiaSharp.framework.zip) 6.6 MB → 6.0 MB (🟢 −598.7 KB)
README.md 1.9 KB → 219 B (🟢 −1.7 KB)

SkiaSharp.NativeAssets.NanoServer

File Size
runtimes/win-x64/native/libSkiaSharp.pdb 77.1 MB → 68.6 MB (🟢 −8.5 MB)
🧬 win-x64 (runtimes/win-x64/native/libSkiaSharp.dll) 10.8 MB → 9.6 MB (🟢 −1.3 MB)
README.md 2.1 KB → 421 B (🟢 −1.7 KB)

SkiaSharp.NativeAssets.WebAssembly

File Size
🧬 wasm 5.0.6/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/st,simd/libSkiaSharp.a) 18.2 MB → removed
🧬 wasm 5.0.6/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/mt,simd/libSkiaSharp.a) 18.2 MB → removed
🧬 wasm 5.0.6/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/st/libSkiaSharp.a) 18.0 MB → removed
🧬 wasm 5.0.6/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/mt/libSkiaSharp.a) 17.9 MB → removed
🧬 wasm 3.1.56/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/st/libSkiaSharp.a) 17.8 MB → 15.5 MB (🟢 −2.4 MB)
🧬 wasm 3.1.56/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/st,simd/libSkiaSharp.a) 18.1 MB → 15.7 MB (🟢 −2.4 MB)
🧬 wasm 3.1.56/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/mt/libSkiaSharp.a) 17.8 MB → 15.4 MB (🟢 −2.4 MB)
🧬 wasm 3.1.56/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/mt,simd/libSkiaSharp.a) 18.0 MB → 15.6 MB (🟢 −2.3 MB)
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu_cpp/include/webgpu/webgpu_cpp.h 274.7 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/include/webgpu/webgpu.h 148.3 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/library_webgpu.js 130.3 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/webgpu.cpp 75.5 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu_cpp/include/dawn/webgpu_cpp_print.h 70.1 KB → removed
🧬 wasm 3.1.34/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/mt/libSkiaSharp.a) 15.6 MB → 15.5 MB (🟢 −59.5 KB)
🧬 wasm 3.1.34/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/st/libSkiaSharp.a) 15.6 MB → 15.6 MB (🟢 −59.3 KB)
🧬 wasm 3.1.34/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/mt,simd/libSkiaSharp.a) 15.8 MB → 15.8 MB (🟢 −59.3 KB)
🧬 wasm 3.1.34/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/st,simd/libSkiaSharp.a) 15.9 MB → 15.8 MB (🟢 −59.1 KB)
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/library_webgpu_generated_struct_info.js 35.1 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/library_webgpu_enum_tables.js 28.5 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/webgpu-externs.js 20.2 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/library_webgpu_generated_sig_info.js 12.5 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/emdawnwebgpu.port.py 9.3 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu_cpp/include/webgpu/webgpu_enum_class_bitmasks.h 5.9 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/README.md 5.2 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/include/webgpu/webgpu_glfw.h 3.3 KB → removed
+6 more file(s)

SkiaSharp.NativeAssets.Win32

File Size
runtimes/win-x86/native/libSkiaSharp.pdb 97.1 MB → 87.4 MB (🟢 −9.7 MB)
runtimes/win-x64/native/libSkiaSharp.pdb 94.3 MB → 84.8 MB (🟢 −9.5 MB)
runtimes/win-arm64/native/libSkiaSharp.pdb 91.2 MB → 81.9 MB (🟢 −9.3 MB)
🧬 win-x64 (runtimes/win-x64/native/libSkiaSharp.dll) 12.8 MB → 11.7 MB (🟢 −1.1 MB)
🧬 win-arm64 (runtimes/win-arm64/native/libSkiaSharp.dll) 11.0 MB → 10.0 MB (🟢 −986.0 KB)
🧬 win-x86 (runtimes/win-x86/native/libSkiaSharp.dll) 11.1 MB → 10.2 MB (🟢 −932.5 KB)
README.md 1.9 KB → 219 B (🟢 −1.7 KB)

SkiaSharp.NativeAssets.WinUI

File Size
runtimes/win-x86/native/libGLESv2.pdb 67.3 MB → 67.0 MB (🟢 −272.0 KB)
runtimes/win-arm64/native/libGLESv2.pdb 64.5 MB → 64.3 MB (🟢 −224.0 KB)
runtimes/win-x64/native/libGLESv2.pdb 66.6 MB → 66.4 MB (🟢 −224.0 KB)
runtimes/win-x64/native/libEGL.pdb 6.4 MB → 6.3 MB (🟢 −32.0 KB)
runtimes/win-x86/native/libEGL.pdb 6.5 MB → 6.5 MB (🟢 −16.0 KB)
runtimes/win-arm64/native/SkiaSharp.Views.WinUI.Native.pdb 67.7 MB → 67.7 MB (🟢 −8.0 KB)
runtimes/win-x64/native/SkiaSharp.Views.WinUI.Native.pdb 68.0 MB → 68.0 MB (🟢 −8.0 KB)
🧬 win-x64 (runtimes/win-x64/native/libGLESv2.dll) 4.9 MB → 4.9 MB (🔴 +2.0 KB)
README.md 1.9 KB → 219 B (🟢 −1.7 KB)
🧬 win-arm64 (runtimes/win-arm64/native/libGLESv2.dll) 4.4 MB → 4.4 MB (🔴 +1.0 KB)

SkiaSharp.NativeAssets.iOS

File Size
🧬 ios (framework) (runtimes/ios/native/libSkiaSharp.framework/libSkiaSharp) 14.2 MB → 12.9 MB (🟢 −1.3 MB)
🧬 iossimulator (framework) (runtimes/iossimulator/native/libSkiaSharp.framework/libSkiaSharp) 14.1 MB → 12.9 MB (🟢 −1.3 MB)
README.md 1.9 KB → 219 B (🟢 −1.6 KB)

SkiaSharp.NativeAssets.macOS

File Size
🧬 osx (runtimes/osx/native/libSkiaSharp.dylib) 16.5 MB → 15.1 MB (🟢 −1.4 MB)
README.md 1.9 KB → 219 B (🟢 −1.7 KB)

SkiaSharp.NativeAssets.tvOS

File Size
🧬 tvos (framework) (runtimes/tvos/native/libSkiaSharp.framework/libSkiaSharp) 14.2 MB → 12.9 MB (🟢 −1.3 MB)
🧬 tvossimulator (framework) (runtimes/tvossimulator/native/libSkiaSharp.framework/libSkiaSharp) 14.1 MB → 12.9 MB (🟢 −1.3 MB)
README.md 1.9 KB → 219 B (🟢 −1.7 KB)

Informational only — this never blocks the PR. Native binaries are labelled by os/arch.

@mattleibow
mattleibow marked this pull request as ready for review August 26, 2026 22:08
@mattleibow
mattleibow merged commit 9c28ea4 into release/4.150.x Aug 26, 2026
57 of 60 checks passed
@mattleibow
mattleibow deleted the mattleibow-release-4-150-arcade-onboarding branch August 26, 2026 22:11
mattleibow added a commit that referenced this pull request Aug 28, 2026
[4.150.x] Backport Arcade release infrastructure (#4865)

Context: #4863
Context: 01db053
Context: #4872
Context: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1572924
Context: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1571474

`release/4.150.x` already carries the neutral Arcade onboarding from #4872,
but it does not connect that foundation to the build, signing, security, and
BAR flow needed for a release. Backport the operational layer proven by merged
#4863: repository-owned dnceng pipelines, an Arcade V3 package flow, explicit
signing policy, API Scan, and BAR registration. Keep public validation free of
protected side effects and reserve signing, scanning, and publication for
trusted internal builds.

Preserve the branch's exact 4.150.4 and HarfBuzzSharp 14.2.1.4 identities and
its WinUI, Xcode, package, and test topology. No product, runtime, managed API,
generated binding, Skia submodule, or native source input changes. Families
absent from this line stay absent: `SkiaSharp.Vulkan.Silk.NET`, Apple symbol
production, preview WASM, and the 4.151-only Emscripten 5.0.6 payloads. This
change does not register, promote, or publish the PR build.

~~ Connected dnceng release topology ~~

The internal package definition waited on a separately numbered Native
pipeline and exchanged artifacts across runs, obscuring source, package, and
test provenance. Give the package root `buildPipelineType: 'build'` so one
Build owns Prepare, Native, and Package, trigger it directly on `main` and
`release/*` path changes, and make the Tests definition consume the
folder-qualified `\dotnet\skiasharp\skiasharp-package` resource.

Public validation runs the same repository stage templates through the local
1ES output adapter because dnceng-public cannot reach the private 1ES template
repository. Signing, API Scan, and publishing stages expand only for internal
non-PR builds, so public and PR expansion cannot acquire protected side
effects. Retain the branch's native-only and complete pipeline roots while
moving their shared stages to this repository.

~~ dnceng execution policy ~~

The internal root extended the DevDiv MicroBuild 1ES template and loaded shared
stages from `DevDiv/Xamarin.yaml-templates`; neither is available to a
dnceng-owned pipeline. Move it to the released
`v1/1ES.Official.PipelineTemplate.yml` and remove that repository resource.

Configure Armory, BinSkim, CredScan, ESLint, PoliCheck, and PSScriptAnalyzer to
break the build, and run CodeQL on non-default branches. Keep network isolation
in Audit while permanent mirrors and allowlisting are completed. Build and
merge the MSVC Win32 artifacts without the old
`System.TeamProject == 'devdiv'` condition, which cannot match in dnceng and
would drop the `native_msvc` input required by API Scan.

~~ Historical SDK and container compatibility ~~

The repository's 10.0.108 SDK is too old to acquire Arcade packages. Move
`global.json` and the checkout-consuming native and docs containers to SDK
10.0.203 with `latestPatch` roll-forward. Pin workload set 10.0.202, the last
set supported by this branch's macOS 15 and Xcode 26.3 combination.

Visual Studio MSBuild 17.x cannot load a 10.0.2xx SDK, so the C++/WinRT
projection would fail. Install the retained 10.0.108 SDK side by side through
`additionalDotNetSdks` on the WinUI jobs. Update only Dockerfiles already
consumed on 4.150.x; do not import container or toolchain families absent from
the line.

~~ Servicing-pool runtime prerequisites ~~

The branch still defaulted to Microsoft-hosted and `Maui-1ESPT` agents, so it
did not inherit Arcade's release-aware routing. Import the pool-provider
variables and carry `$(DncEngPublicBuildPool)` or
`$(DncEngInternalBuildPool)` through the existing agent objects. This selects
servicing pools for `release/*` while retaining queue-time overrides and hosted
Apple jobs. Correct Linux host objects that were declared `os: windows`.

The lean servicing Linux images exposed two assumptions hidden by the general
pool. Enable Android SDK installation on Linux, including platform tools,
build-tools 35.0.0 and 36.0.0, and the configured API levels, then pass
`AndroidSdkDirectory` into Cake. Download the pinned Chrome package for Linux
WASM tests, verify its SHA-256, package name, version, and architecture, install
it, and export `CHROME_PATH`.

Public Build 1572924 completed this topology on merge SHA
e0b31a8, producing
`4.150.4-pr.4865.26428.4`.

~~ Exact 4.150.4 build identity ~~

Feature names and loosely parsed downstream counters could give producing and
consuming runs different identities. Derive the product build number from
Arcade's `yyyyMMdd.revision` OfficialBuildId, normalize GitHub and Azure Repos
pull request, branch, commit, and repository identity, and let Tests inherit
the producing run name.

PR builds use `pr.<number>`, schedules use `nightly`, and other builds retain
their configured preview label. The `stable` sentinel clears the suffix and
sets `DOTNET_FINAL_VERSION_KIND=release`; a run may select it only on an
internal `release/*` branch or by inheriting an exact release identity from an
upstream run name. Cake rejects any other final-version kind, and incomplete or
malformed identities fail instead of producing a plausible version.

Require exact Build run IDs when downloading pipeline artifacts and reject
mutable `latestFromBranch` selection, tying signing and registration to the run
that produced their inputs. Focused tests cover GitHub and Azure Repos PRs,
resource-triggered and Tests inheritance, ordinary branches, mixed-case
labels, exact releases, forbidden automatic releases, and malformed run names.

~~ One package and transport family ~~

The historical graph packed stable and preview products separately and then
produced stable, preview, symbol, branch, and commit transport variants. Pack
one coherent product family in the `package_windows` job and create one PR
transport family for PR validation or one branch family otherwise, preventing
BAR from receiving two versions of the same transport package ID. Shared
downloaders remove the commit-alias fallback and resolve transports from the
dnceng `skiasharp-transport` feed.

Publish raw `nuget` and `nuget_special` artifacts beside the prepared
`arcade_shipping`, `arcade_nonshipping`, and `PdbArtifacts` views. Drop
`package_normal_windows`, `package_special_windows`, `nuget_preview`, and
`nuget_symbols`; the renamed `package_windows` job publishes no artifact of
its own. Assembly fails on missing directories, empty package sets, or
duplicate package names.

Mark the transport project non-shipping and give `_NuGets`, `_NativeAssets`,
and `_Dependencies` the Microsoft copyright, MIT expression, and project URL
required by Arcade. Documentation, API diff, and generated sample jobs select
the build's single family instead of assuming stable and preview packages
coexist. Package jobs no longer restore from the shared build cache because
package versions and transport families depend on run identity rather than
repository inputs alone.

Build 1572924 published 46 Shipping packages (40 products plus six explicit
symbol packages) and 22 NonShipping transports. Their parents close exactly
over three managed chunks and 17 native children, with every product embedded
once and no symbol package embedded. Raw `nuget` and `nuget_special` resource
hashes match the prepared `arcade_shipping` and `arcade_nonshipping` views.

~~ Real loose PDB artifacts ~~

Arcade V3 requires a `PdbArtifacts` input, but cloning product packages into
manufactured symbol packages would create false package identities. Keep
explicit symbol packages in Shipping and, for product packages without one,
extract implementation and runtime PDBs under their original package, version,
TFM, and RID paths.

Exclude `ref/**`, reject archive entries that escape the package extraction
root, avoid duplicating symbols already owned by explicit packages, and emit
`.empty` only when no eligible PDB exists. The Package-stage gate exercises
both transport families, explicit-symbol ownership, reference-symbol
exclusion, empty output, and traversal rejection.

Build 1572924 published 202 loose PDBs across 19 package roots with no missing,
unexpected, content-mismatched, or `ref/**` entries. That structure matches
canonical 4.151 Build 1571474 apart from expected 4.150 identity, branch-native
package and test topology, and absent 4.151-only payloads.

~~ Explicit signing and BAR inputs ~~

Arcade's broad signing defaults do not describe SkiaSharp's mixed first-party,
Mac developer, JavaScript, WebGPU, and transport payloads. Replace them with an
explicit policy: sign Shipping NuGets, classify first-party binaries as
Microsoft400 and Apple dylibs as MacDeveloperVNext, mark source payloads that
must retain their bytes as `CertificateName=None`, and skip the third-party
copyright check for first-party files without Microsoft metadata. Leave
NonShipping transports unsigned and use `DO-NOT-SIGN` and `DO-NOT-UNPACK`
exclusions to enforce those boundaries.

Sign staged Shipping assets with Arcade and MicroBuild, using ESRP only for
real signing. Generate the publishing-v3 manifest from signed Shipping and
prepared NonShipping assets and register them through the standard Arcade
post-build flow. `main` and `release/*` select real signing and registration;
other trusted internal branches test-sign unless forced, and forced
registration additionally requires `registerInBar`.

Post-build validation keeps `publishAssetsImmediately: false` and requires
default channels, so nothing promotes automatically. Retain the
`scripts/infra/signing` cache-input category even though that directory does
not yet exist, keeping this branch's cache contract aligned with `main`.

~~ Fail-closed API Scan coverage ~~

The legacy scan came from `DevDiv/Xamarin.yaml-templates` and extracted
packages without proving its binaries, PDBs, surrogates, or configured targets
existed. Add a repository-owned stage that downloads the current `nuget` and
`native_msvc` artifacts, activates the dedicated WIF identity, runs API Scan in
release mode, publishes its report, uploads TSA bugs, and breaks at Note
severity.

Preparation extracts packages into `symbols-extracted`, replacing the removed
`nuget_symbols` artifact layout, and validates the Win32, HarfBuzzSharp,
NanoServer, and WinUI mappings. Clang targets map to matching or API-compatible
x64 MSVC binaries, and WinUI ARM64 targets map to x64 package binaries staged
from the WinUI symbols package. Missing packages, binaries, PDBs, surrogate
files, or target matches fail closed.

Run the identity and API Scan suites during Prepare so input drift fails before
a protected stage is requested. The focused identity, Arcade asset, and API
Scan suites pass; `repo-deps.py validate` reports 4,357 tracked files,
0 uncovered, and 21 jobs; and `eng/NoBuild.proj` builds clean.

Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Copilot App <[email protected]>
mattleibow added a commit that referenced this pull request Aug 29, 2026
[4.150.3] Merge release/4.150.x Arcade release infrastructure (#4893)

Context: #4865
Context: c822bde
Context: #4872
Context: 9c28ea4
Context: #4863
Context: 01db053
Context: #4821
Context: 838c32f
Context: 502c947
Context: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1572924
Context: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1571474

`release/4.150.3` was cut from `47601f58` before the neutral Arcade onboarding
(#4872) and operational release layer (#4865) landed on `release/4.150.x`. It
carries the servicing product bits but cannot pack, sign, scan, or register
packages through the Arcade V3 and BAR path proven on `release/4.151.x` by
#4863 and on `release/4.150.x` by #4865.

Merge the refreshed `release/4.150.x` tip into the servicing branch so both
layers arrive together, while retaining exact SkiaSharp 4.150.3 and
HarfBuzzSharp 14.2.1.3 identity. Keep 4.150.3's WinUI, Xcode, package, test,
native, and runtime topology: the merge touches only `eng/**`, `scripts/**`,
`build.cake`, `global.json`, `nuget.config`, `.config/**`, and `.gitignore`, so
no managed API, generated binding, Skia submodule, C API, native source, or
product behavior changes are included.

~~ True branch merge over cherry-pick ~~

Merge `c822bde03afa06ff71a0d5ea258bc149dd9dc9ef` into
`502c94780825b5e77dadfc11e3bfa6eb6320dcea` instead of cherry-picking or
squashing the infrastructure. The merge
`c648f255339680b508ca00b310221505692b120c` records both tips as parents, so the
complete #4872 and #4865 ancestry, and the two-layer rollback boundary those
PRs were split to preserve, survive on the servicing branch.

~~ Exact 4.150.3 servicing identity ~~

The source line also carries #4821's post-release bump to SkiaSharp 4.150.4 and
HarfBuzzSharp 14.2.1.4, which must not reach a 4.150.3 servicing branch.
Resolve the version conflict toward the target: keep `SKIASHARP_VERSION` at
4.150.3, preserve the existing 4.150.0.0 and 1.0.0.0 assembly versions, retain
4.150.3 and 14.2.1.3 file and NuGet versions in `scripts/VERSIONS.txt`, and keep
the branch's `stable` preview label while adopting Arcade's
`DOTNET_FINAL_VERSION_KIND` and `ARCADE_OFFICIAL_BUILD_ID` build-number flow.
Adapt the focused identity test expectations to 4.150.3 and 14.2.1.3.

The merged tree therefore differs from the source tip in exactly three files:
`scripts/VERSIONS.txt`, `scripts/azure-templates-variables.yml`, and
`scripts/infra/native/shared/tests/SetBuildVariables.Tests.ps1`.

~~ Isolated Arcade bootstrap ~~

This branch had no Arcade foundation, so the merge also delivers #4872's
Arcade SDK 11.0.0-beta.26414.2, Darc metadata in
`eng/Version.Details.xml`, `eng/Version.Details.props`, and
`eng/Versions.props`, and the complete generated `eng/common` snapshot of 154
paths. Restore these behind the isolated `eng/NoBuild.proj` graph so the
existing Cake build and pipeline entry points continue working.

`global.json` gains the `.dotnet` probe path and Arcade `msbuild-sdks` pin,
`nuget.config` declares `disabledPackageSources`, and `.gitignore` un-ignores
`eng/common` while ignoring `/.dotnet/` and `/.packages/`.

~~ Engineering cache invalidation ~~

Add `eng/**`, `scripts/infra/milestones/**`, and `scripts/infra/perf/**` to the
repository's global cache inputs so Arcade and other engineering edits
invalidate product cache keys instead of reusing stale native or managed
output. Carry the `signing` job's `scripts/infra/signing/**` category even
though that directory does not exist on this branch yet, keeping the cache
contract aligned with `main`.

~~ Connected dnceng release topology ~~

The internal package definition waited on a separately numbered
`SkiaSharp-Native` pipeline resource and exchanged artifacts across runs,
obscuring source, package, and test provenance. Give the package root
`buildPipelineType: 'build'` so one Build owns Prepare, Native, and Package,
add branch triggers for `main` and `release/*` with documentation-only path
exclusions, and point the connected Tests definition at the folder-qualified
`\dotnet\skiasharp\skiasharp-package` resource.

Public validation runs the same repository stage templates through the local
1ES output adapter because dnceng-public cannot reach the private 1ES template
repository. Signing, API Scan, and publishing stages expand only when
`System.TeamProject` is `internal`, the reason is not `PullRequest`, and the
source branch is not a `refs/pull/*` ref, so public and manually queued PR runs
cannot acquire protected release side effects. The branch's native-only and
complete pipeline roots remain and continue consuming the shared stages.

~~ dnceng execution policy ~~

The internal package root extended the DevDiv MicroBuild 1ES template and
loaded shared stages from `DevDiv/Xamarin.yaml-templates`; neither is available
to a dnceng-owned pipeline. Move it to the released
`v1/1ES.Official.PipelineTemplate.yml` and drop that repository resource.

Set Armory, BinSkim, CredScan, ESLint, PoliCheck, and PSScriptAnalyzer to
`break: true`, BinSkim having previously been `break: false`, and enable
compiled CodeQL including non-default branches, so release-infrastructure
regressions fail the build instead of only being reported. Keep
`networkIsolationMode: Audit` until permanent mirrors and allowlisting are
ready for Enforce.

Build and merge the MSVC Win32 artifacts without the historical
`System.TeamProject == 'devdiv'` condition. That predicate cannot match in
dnceng and would drop the `native_msvc` input that API Scan requires.

~~ Historical SDK and container compatibility ~~

The branch's 10.0.108 SDK is too old to acquire the Arcade packages. Move
`global.json` and the checkout-consuming native, WASM, Tizen, and docs
containers to SDK 10.0.203 with `latestPatch` roll-forward. Pin workload set
10.0.202, the last set supported by this branch's `macos-15` image and Xcode
26.3 combination.

Visual Studio MSBuild 17.x cannot load a 10.0.2xx SDK, so the C++/WinRT
projection would fail. Install the retained 10.0.108 SDK side by side through
`additionalDotNetSdks` on the WinUI jobs. Update only the Dockerfiles this
release line already consumes, keeping their Emscripten 3.1.34 and 3.1.56
payloads. Do not import `SkiaSharp.Vulkan.Silk.NET`, Apple symbol production,
preview WASM families, Emscripten 5.0.6 payloads, or container and toolchain
families that 4.150 does not ship.

~~ Servicing-pool runtime prerequisites ~~

The branch still defaulted to Microsoft-hosted and `Maui-1ESPT` agents, so it
did not inherit Arcade's release-aware routing. Import the pool-provider
variables and carry `$(DncEngPublicBuildPool)` or `$(DncEngInternalBuildPool)`
through the existing agent objects, selecting servicing pools for `release/*`
while retaining queue-time overrides and hosted Apple jobs. Correct the public
complete and Tests host objects that paired an Ubuntu image with `os: windows`;
the untouched internal complete root keeps its legacy declaration.

The lean servicing Linux images exposed assumptions hidden by the general
pool. Install OpenJDK, the Android SDK, platform tools, build-tools 35.0.0 and
36.0.0, and the configured `ANDROID_PLATFORM_VERSIONS` API levels on Linux,
then pass `AndroidSdkDirectory` into Cake. For Linux WASM tests, download the
pinned Chrome 150.0.7871.186-1 package, verify its SHA-256, package name,
version, and architecture before installing it, and export `CHROME_PATH`.

~~ Derived build identity ~~

Feature names and loosely parsed downstream counters could give producing and
consuming runs different identities. Derive the product build number from
Arcade's `yyyyMMdd.revision` `ARCADE_OFFICIAL_BUILD_ID`, drop `FEATURE_NAME`,
and normalize GitHub and Azure Repos pull request, branch, commit, and
repository identity so Tests inherit the producing run name.

Because this branch's label is already `stable`, an internal
`release/4.150.3` run clears the preview suffix and sets
`DOTNET_FINAL_VERSION_KIND=release`, producing final 4.150.3 packages directly.
Any other run reaches that state only by inheriting an exact release identity
from an upstream run name; otherwise `set-build-variables.ps1` throws. Cake
rejects any final-version kind other than an empty value or `release`, and
malformed upstream run names fail instead of yielding a plausible version. PR
validation remains labeled `pr.<number>`.

Require exact Build run IDs when downloading pipeline artifacts and reject
mutable `latestFromBranch` selection, so packaging, signing, and registration
consume the run that produced their inputs.

~~ One package and transport family ~~

The historical graph packed stable and preview products separately and then
produced stable, preview, symbol, branch, and commit transport variants. Pack
one coherent product family in the renamed `package_windows` job and create one
PR transport family for PR validation or one branch family otherwise, so BAR
cannot receive two versions of the same transport package ID. Shared
downloaders drop the commit-alias fallback and resolve transports from the
dnceng `skiasharp-transport` feed instead of the retired
`xamarin/public/SkiaSharp-CI` feed.

Publish raw `nuget` and `nuget_special` artifacts beside the prepared
`arcade_shipping`, `arcade_nonshipping`, and `PdbArtifacts` views, and drop
`package_normal_windows`, `package_special_windows`, `nuget_preview`, and
`nuget_symbols`; the renamed `package_windows` job publishes no artifact of its
own. Assembly fails on missing directories, empty package sets, or duplicate
package names.

Mark the transport project non-shipping and give `_NuGets`, `_NativeAssets`,
and `_Dependencies` the Microsoft copyright, MIT expression, and project URL
that Arcade requires. Documentation, API diff, and generated sample jobs select
the build's single family instead of assuming stable and preview packages
coexist. Package jobs no longer restore from the shared build cache because
package versions and transport families depend on run identity rather than
repository inputs alone.

Source proof build 1572924 (`4.150.4-pr.4865.26428.4`) published 46 Shipping
packages, comprising 40 products and six explicit symbol packages, and 22
NonShipping transports whose parents close over three managed chunks and 17
native children.

~~ Real loose PDB artifacts ~~

Arcade V3 requires a `PdbArtifacts` input, but cloning product packages into
manufactured symbol packages would create false package identities. Keep
explicit symbol packages in Shipping and, for products without one, extract
implementation and runtime PDBs under their original package, version, TFM,
and RID paths.

Exclude `ref/**`, reject archive entries that escape the package extraction
root, avoid duplicating symbols already owned by explicit packages, and emit
`.empty` only when no eligible PDB exists. The Package-stage gate exercises
both transport families, explicit-symbol ownership, reference-symbol exclusion,
empty output, and traversal rejection.

Build 1572924 published 202 loose PDBs across 19 package roots. That ownership
shape matches canonical 4.151 build 1571474
(`4.151.3-pr.4863.26427.5`) apart from release identity, 4.150 native paths,
branch-specific package and test topology, and absent 4.151-only payloads.

~~ Explicit signing and BAR inputs ~~

Arcade's broad signing defaults do not describe SkiaSharp's mixed first-party,
Mac developer, JavaScript, WebGPU, and transport payloads. Clear them and sign
only Shipping NuGets, classifying first-party binaries as Microsoft400, Apple
dylibs as MacDeveloperVNext, and payloads that must retain their bytes as
`CertificateName=None`. First-party files skip the third-party copyright check
because they intentionally carry no Microsoft metadata. Leave NonShipping
transports unsigned and enforce that boundary with `DO-NOT-SIGN` and
`DO-NOT-UNPACK` SignCheck exclusions.

Sign staged Shipping assets with Arcade and MicroBuild, using ESRP only for
real signing, then generate the publishing-v3 manifest from signed Shipping and
prepared NonShipping assets. Inside the internal non-PR gate, `main` and
`release/*` select real signing and BAR registration; other branches test-sign
and register only when a forced real-signing run also passes `registerInBar`.
Post-build validation keeps `publishAssetsImmediately: false` and
`requireDefaultChannels: true`, so this merge cannot promote packages merely
by building them.

~~ Fail-closed API Scan coverage ~~

The legacy scan came from `DevDiv/Xamarin.yaml-templates` and extracted
packages without proving that its binaries, PDBs, surrogates, or configured
targets existed. Add a repository-owned stage that downloads this run's
`nuget` and `native_msvc` artifacts, activates the dedicated WIF identity, runs
API Scan in release mode, publishes its report, uploads TSA bugs, and breaks at
Note severity.

Preparation extracts packages into `symbols-extracted`, replacing the removed
`nuget_symbols` layout, and validates the Win32, HarfBuzzSharp, NanoServer, and
WinUI mappings, including Clang targets mapped to matching or API-compatible
x64 MSVC binaries and WinUI ARM64 targets mapped to x64 package binaries staged
from the WinUI symbols package. Missing packages, binaries, PDBs, surrogate
files, or target matches fail closed. Prepare runs the identity and API Scan
suites so input drift fails before a protected stage is requested.

The focused build identity, Arcade asset, and API Scan suites pass on the
adapted 4.150.3 tree; `scripts/infra/caching/repo-deps.py validate` reports
4,357 tracked files, 0 uncovered, and 22 jobs; `eng/NoBuild.proj` builds with no
warnings or errors; and the 95 changed YAML files, four JSON files, XML-family
files, and Chrome install script parse cleanly.

No separate local native source build was required because the merge changes no
Skia/C++ source, submodule, generated binding, or product input. Source build
1572924 validates the pipeline and container changes carried by this backport.

Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Copilot App <[email protected]>
@github-actions github-actions Bot added this to the 4.150.3 milestone Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants