Skip to content

Use M151 HarfBuzzSharp version bucket for 4.151.2 - #4835

Merged
mattleibow merged 1 commit into
release/4.151.2from
mattleibow-backport-harfbuzz-4-151-2-bucket
Aug 20, 2026
Merged

mattleibow merged 1 commit into
release/4.151.2from
mattleibow-backport-harfbuzz-4-151-2-bucket

Conversation

@mattleibow

Copy link
Copy Markdown
Contributor

Description of Change

Changes the HarfBuzzSharp file version and all HarfBuzzSharp package versions from 14.2.1.2 to 14.2.1.102. This rebuilds the already-cut 4.151.2 snapshot with its correct M151 bucket version.

Context: #4832

No tests were run because this is a packaging metadata-only version correction. git diff --check and the exact version-entry assertions passed.

Bugs Fixed

None.

API Changes

None.

Behavioral Changes

None.

Required skia PR

None.

PR Checklist

  • Tests are omitted because this is a packaging metadata-only change, as stated above
  • Based exactly on release/4.151.2 at the time of the PR
  • No related skia PR is required
  • Changes adhere to coding standard
  • Documentation is not required for this version-only backport

Change the HarfBuzzSharp file and NuGet revision from 2 to 102 so the already-cut 4.151.2 snapshot can be rebuilt in the M151 bucket.

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 -- 4835

PowerShell / Windows:

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

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-4835/packages --name skiasharp-pr-4835
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-4835

@mattleibow
mattleibow merged commit bbf7e97 into release/4.151.2 Aug 20, 2026
18 of 23 checks passed
@mattleibow
mattleibow deleted the mattleibow-backport-harfbuzz-4-151-2-bucket branch August 20, 2026 22:48
@github-actions

Copy link
Copy Markdown
Contributor

📦 Artifact size report

Packages from this PR (build 1561476) vs the latest nightly baseline 4.152.0-nightly.17 (observed 2026-08-20).

Total .nupkg size: 569.8 MB → 534.5 MB (−35.3 MB, -6.2%)

Packages

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

Package baseline this PR Δ Δ%
SkiaSharp.NativeAssets.Win32 85.7 MB 77.5 MB 🟢 −8.3 MB -9.6%
SkiaSharp.NativeAssets.WebAssembly 69.7 MB 64.0 MB 🟢 −5.6 MB -8.1%
SkiaSharp.NativeAssets.Linux.NoDependencies 63.0 MB 57.6 MB 🟢 −5.4 MB -8.6%
SkiaSharp.NativeAssets.Linux 63.1 MB 57.7 MB 🟢 −5.4 MB -8.6%
SkiaSharp.NativeAssets.NanoServer 24.5 MB 21.7 MB 🟢 −2.8 MB -11.5%
SkiaSharp.NativeAssets.WinUI 109.1 MB 107.1 MB 🟢 −2.0 MB -1.8%
SkiaSharp.NativeAssets.Android 18.1 MB 16.7 MB 🟢 −1.4 MB -8.0%
SkiaSharp.NativeAssets.tvOS 13.7 MB 12.5 MB 🟢 −1.2 MB -8.4%
SkiaSharp.NativeAssets.iOS 13.7 MB 12.5 MB 🟢 −1.2 MB -8.4%
SkiaSharp.NativeAssets.macOS 7.9 MB 7.3 MB 🟢 −652.1 KB -8.0%
SkiaSharp.NativeAssets.MacCatalyst 6.6 MB 6.1 MB 🟢 −570.3 KB -8.4%
SkiaSharp 9.1 MB 8.6 MB 🟢 −526.7 KB -5.7%
HarfBuzzSharp.NativeAssets.Win32 20.7 MB 20.5 MB 🟢 −240.6 KB -1.1%

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

Per-file changes

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)

SkiaSharp

File Size
ref/net48/SkiaSharp.dll 470.0 KB → 380.5 KB (🟢 −89.5 KB)
ref/net462/SkiaSharp.dll 470.0 KB → 385.0 KB (🟢 −85.0 KB)
lib/net462/SkiaSharp.dll 862.0 KB → 809.0 KB (🟢 −53.0 KB)
lib/net48/SkiaSharp.dll 862.0 KB → 809.0 KB (🟢 −53.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.5 KB → 503.5 KB (🟢 −33.0 KB)
lib/net10.0-tizen10.0/SkiaSharp.dll 554.0 KB → 521.0 KB (🟢 −33.0 KB)
lib/net10.0/SkiaSharp.dll 538.0 KB → 505.0 KB (🟢 −33.0 KB)
lib/net9.0-ios18.0/SkiaSharp.dll 536.5 KB → 503.5 KB (🟢 −33.0 KB)
lib/net9.0-macos15.0/SkiaSharp.dll 536.5 KB → 503.5 KB (🟢 −33.0 KB)
lib/net9.0-tizen8.0/SkiaSharp.dll 554.0 KB → 521.0 KB (🟢 −33.0 KB)
lib/net9.0-tvos18.0/SkiaSharp.dll 536.5 KB → 503.5 KB (🟢 −33.0 KB)
lib/net9.0/SkiaSharp.dll 538.0 KB → 505.0 KB (🟢 −33.0 KB)
lib/net10.0-android36.0/SkiaSharp.dll 534.0 KB → 501.5 KB (🟢 −32.5 KB)
lib/net10.0-ios26.0/SkiaSharp.dll 536.5 KB → 504.0 KB (🟢 −32.5 KB)
lib/net10.0-maccatalyst26.0/SkiaSharp.dll 536.5 KB → 504.0 KB (🟢 −32.5 KB)
lib/net10.0-tvos26.0/SkiaSharp.dll 536.5 KB → 504.0 KB (🟢 −32.5 KB)
lib/net10.0-windows10.0.19041/SkiaSharp.dll 539.0 KB → 506.5 KB (🟢 −32.5 KB)
lib/net6.0-tizen8.0/SkiaSharp.dll 527.0 KB → 494.5 KB (🟢 −32.5 KB)
lib/net6.0/SkiaSharp.dll 510.0 KB → 477.5 KB (🟢 −32.5 KB)
lib/net9.0-android35.0/SkiaSharp.dll 534.0 KB → 501.5 KB (🟢 −32.5 KB)
lib/net9.0-maccatalyst18.0/SkiaSharp.dll 536.5 KB → 504.0 KB (🟢 −32.5 KB)
lib/net9.0-windows10.0.19041/SkiaSharp.dll 539.0 KB → 506.5 KB (🟢 −32.5 KB)
+43 more file(s)

SkiaSharp.NativeAssets.Android

File Size
🧬 android-x86 (runtimes/android-x86/native/libSkiaSharp.so) 11.8 MB → 10.9 MB (🟢 −980.4 KB)
🧬 android-x64 (runtimes/android-x64/native/libSkiaSharp.so) 10.6 MB → 9.7 MB (🟢 −831.6 KB)
🧬 android-arm64 (runtimes/android-arm64/native/libSkiaSharp.so) 9.8 MB → 9.0 MB (🟢 −814.2 KB)
🧬 android-arm (runtimes/android-arm/native/libSkiaSharp.so) 6.6 MB → 6.0 MB (🟢 −570.2 KB)

SkiaSharp.NativeAssets.Linux

File Size
🧬 linux-x86 (runtimes/linux-x86/native/libSkiaSharp.so) 13.3 MB → 12.1 MB (🟢 −1.2 MB)
🧬 linux-bionic-arm64 (runtimes/linux-bionic-arm64/native/libSkiaSharp.so) 12.5 MB → 11.3 MB (🟢 −1.1 MB)
🧬 linux-arm64 (runtimes/linux-arm64/native/libSkiaSharp.so) 12.2 MB → 11.1 MB (🟢 −1.1 MB)
🧬 linux-musl-arm64 (runtimes/linux-musl-arm64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 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.3 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.4 MB (🟢 −1.1 MB)
🧬 linux-bionic-x64 (runtimes/linux-bionic-x64/native/libSkiaSharp.so) 12.3 MB → 11.3 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 (🟢 −857.8 KB)
🧬 linux-musl-arm (runtimes/linux-musl-arm/native/libSkiaSharp.so) 8.8 MB → 8.0 MB (🟢 −856.1 KB)

SkiaSharp.NativeAssets.Linux.NoDependencies

File Size
🧬 linux-x86 (runtimes/linux-x86/native/libSkiaSharp.so) 13.3 MB → 12.1 MB (🟢 −1.2 MB)
🧬 linux-bionic-arm64 (runtimes/linux-bionic-arm64/native/libSkiaSharp.so) 12.5 MB → 11.3 MB (🟢 −1.1 MB)
🧬 linux-arm64 (runtimes/linux-arm64/native/libSkiaSharp.so) 12.2 MB → 11.1 MB (🟢 −1.1 MB)
🧬 linux-musl-arm64 (runtimes/linux-musl-arm64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 MB)
🧬 linux-riscv64 (runtimes/linux-riscv64/native/libSkiaSharp.so) 11.1 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.3 MB (🟢 −1.1 MB)
🧬 linux-loongarch64 (runtimes/linux-loongarch64/native/libSkiaSharp.so) 11.6 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.7 MB → 7.9 MB (🟢 −857.8 KB)
🧬 linux-musl-arm (runtimes/linux-musl-arm/native/libSkiaSharp.so) 8.8 MB → 7.9 MB (🟢 −856.1 KB)

SkiaSharp.NativeAssets.MacCatalyst

File Size
🧬 maccatalyst (framework) (runtimes/maccatalyst/native/libSkiaSharp.framework.zip) 6.6 MB → 6.0 MB (🟢 −570.1 KB)

SkiaSharp.NativeAssets.NanoServer

File Size
runtimes/win-x64/native/libSkiaSharp.pdb 77.1 MB → 68.7 MB (🟢 −8.4 MB)
🧬 win-x64 (runtimes/win-x64/native/libSkiaSharp.dll) 10.8 MB → 9.6 MB (🟢 −1.3 MB)

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 → 15.9 MB (🟢 −2.3 MB)
🧬 wasm 5.0.6/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/st/libSkiaSharp.a) 18.0 MB → 15.6 MB (🟢 −2.3 MB)
🧬 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.3 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.3 MB)
🧬 wasm 5.0.6/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/mt,simd/libSkiaSharp.a) 18.2 MB → 15.9 MB (🟢 −2.3 MB)
🧬 wasm 5.0.6/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/mt/libSkiaSharp.a) 17.9 MB → 15.6 MB (🟢 −2.3 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.3 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.7 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
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
🧬 wasm 3.1.34/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/st,simd/libSkiaSharp.a) 15.9 MB → 15.9 MB (🟢 −26.0 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 (🟢 −26.0 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 (🟢 −25.9 KB)
🧬 wasm 3.1.34/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/mt/libSkiaSharp.a) 15.6 MB → 15.5 MB (🟢 −25.9 KB)
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
+5 more file(s)

SkiaSharp.NativeAssets.Win32

File Size
runtimes/win-x86/native/libSkiaSharp.pdb 97.1 MB → 87.5 MB (🟢 −9.5 MB)
runtimes/win-x64/native/libSkiaSharp.pdb 94.3 MB → 84.9 MB (🟢 −9.4 MB)
runtimes/win-arm64/native/libSkiaSharp.pdb 91.2 MB → 82.0 MB (🟢 −9.2 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 (🟢 −968.5 KB)
🧬 win-x86 (runtimes/win-x86/native/libSkiaSharp.dll) 11.1 MB → 10.2 MB (🟢 −915.5 KB)

SkiaSharp.NativeAssets.WinUI

File Size
runtimes/win-x86/native/libGLESv2.pdb 67.2 MB → 67.0 MB (🟢 −224.0 KB)
runtimes/win-x64/native/libGLESv2.pdb 66.6 MB → 66.4 MB (🟢 −208.0 KB)
runtimes/win-arm64/native/libGLESv2.pdb 64.5 MB → 64.3 MB (🟢 −192.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)
🧬 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.2 MB)
🧬 iossimulator (framework) (runtimes/iossimulator/native/libSkiaSharp.framework/libSkiaSharp) 14.1 MB → 12.9 MB (🟢 −1.2 MB)

SkiaSharp.NativeAssets.macOS

File Size
🧬 osx (runtimes/osx/native/libSkiaSharp.dylib) 16.5 MB → 15.1 MB (🟢 −1.3 MB)

SkiaSharp.NativeAssets.tvOS

File Size
🧬 tvos (framework) (runtimes/tvos/native/libSkiaSharp.framework/libSkiaSharp) 14.2 MB → 12.9 MB (🟢 −1.2 MB)
🧬 tvossimulator (framework) (runtimes/tvossimulator/native/libSkiaSharp.framework/libSkiaSharp) 14.1 MB → 12.9 MB (🟢 −1.2 MB)

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

mattleibow added a commit that referenced this pull request Aug 29, 2026
[CI] Merge Arcade release infrastructure into 4.151.2 (#4892)

Context: #4863
Context: 01db053
Context: #4871
Context: 017438e
Context: #4835
Context: bbf7e97
Context: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1572562
Changes: bbf7e97...e407e23

SkiaSharp 4.151.2 was cut but never published; NuGet.org's stable 4.151 line
still ends at 4.151.1. Its branch was therefore stranded on the legacy split
pipelines while the Arcade and dnceng release path was proven one line over on
release/4.151.x by #4863 and its #4871 bootstrap. Merge the exact source tip
01db053 into the exact 4.151.2 base bbf7e97 with a real two-parent merge, so
the point release becomes buildable through that path without rewriting or
losing either branch's ancestry.

Keep 4.151.2's identity instead of inheriting the source branch's post-release
bump. `scripts/VERSIONS.txt` stays at 4.151.2 and HarfBuzzSharp 14.2.1.102
rather than 4.151.3 and 14.2.1.103; HarfBuzzSharp must stay in the M151 bucket
because 14.2.1.2 is already published from M150 (#4835). Alongside it,
`scripts/azure-templates-variables.yml` keeps `SKIASHARP_VERSION: 4.151.2` and
`PREVIEW_LABEL: stable`, so an ordinary internal build of this branch emits
exact 4.151.2 packages. Those two files, plus the SetBuildVariables
expectations that assert their values, are the only difference from the source
tip.

Against 4.151.2 the merge is 207 files, dominated by the generated eng/common
Arcade snapshot and repository pipeline templates. It changes no managed API,
C API, native source, Skia submodule, or product behavior, and adds no package
IDs. It does replace this line's CI contract wholesale, described below.
Public Build 1572562 succeeded on 01db053 as
`4.151.3-preview.0.26428.3+4.151.x`, which validates the topology but not the
`stable` path this branch selects: no stable SkiaSharp has yet been produced
through Arcade, and NuGet.org publication remains a separate protected action.

~~ Arcade and Darc bootstrap ~~

The point release lacked the generated Arcade foundation the release flow
requires. Import #4871's pinned Microsoft.DotNet.Arcade.Sdk 11.0.0-beta.26414.2
metadata and its complete eng/common snapshot, loaded through an isolated
NoBuild restore graph so Arcade does not displace SkiaSharp's existing
Cake/MSBuild product build. Treat `eng/**` as a global cache input so
engineering changes invalidate product caches; the snapshot stays an
upstream-owned unit while future Darc updates remain repository-owned and
reproducible.

~~ Connected dnceng topology and execution policy ~~

The legacy Native, Package, and Tests definitions exchanged independently
numbered artifacts, obscuring which source produced the packages under test.
Make one Build own Prepare, Native, and Package, and connect Tests through the
folder-qualified `\dotnet\skiasharp\skiasharp-package` resource so downstream
runs inherit the producer's identity. Public validation uses the same stage
templates through the local 1ES output adapter, but signing, API Scan, and
publishing expand only in trusted internal non-PR builds. The historical
native-only and complete entry points are retained because this line still
consumes them.

The internal root depended on DevDiv templates that cannot resolve in dnceng.
Move it to the released 1ES Official template, drop that dependency, and make
Armory, BinSkim, CredScan, ESLint, PoliCheck, and PSScriptAnalyzer break the
build; keep network isolation in Audit until permanent mirrors and allowlisting
are ready. Always build and merge the MSVC Win32 artifacts: the old
`System.TeamProject == 'devdiv'` condition can never match here and would strip
the `native_msvc` input API Scan requires.

~~ Exact 4.151.2 build identity ~~

Loosely parsed counters and feature labels could assign different identities to
producing and consuming runs. Derive package build numbers from Arcade's
`yyyyMMdd.revision` OfficialBuildId, normalize GitHub and Azure Repos source
identity, and make connected Tests inherit the Build run name. Require exact
Build run IDs and reject mutable `latestFromBranch` selection.

PR builds use `pr.<number>`, scheduled builds use `nightly`, and ordinary builds
keep their configured label. Only an internal `release/*` producer may use the
`stable` sentinel, which clears the suffix and sets
`DOTNET_FINAL_VERSION_KIND=release`; anywhere else it fails closed. Malformed
or incomplete identities fail rather than manufacturing a plausible version.
The focused suite exercises PRs from both source providers, downstream
inheritance, exact 4.151.2 releases, and malformed input.

~~ One package and transport family ~~

The historical graph packed stable and preview products separately, then
created stable, preview, symbol, branch, and commit transport variants. Pack one
coherent product family per run and create one PR transport family for PR
validation or one branch transport family otherwise; omitting commit aliases
prevents BAR from receiving multiple versions of the same transport package ID.

This changes the artifact contract for consumers of this branch: `nuget_preview`
and `nuget_symbols` are gone, and `arcade_shipping`, `arcade_nonshipping`, and
`PdbArtifacts` are published beside the raw `nuget` and `nuget_special`
artifacts. Normal and transport packing now run in one job. Mark `_NuGets`,
`_NativeAssets`, and `_Dependencies` non-shipping with the metadata Arcade
requires, and make documentation and generated samples consume the one family
the build produced.

~~ Real loose PDB artifacts ~~

Arcade V3 requires PdbArtifacts, but cloning product packages into synthetic
fallback symbol packages would create false package identities. Preserve real
explicit symbol packages in Shipping; for product packages without one, extract
implementation and runtime PDBs under their original package, version, TFM, and
RID paths. Exclude `ref/**`, avoid duplicates when an explicit symbol package
owns the symbols, reject archive entries that escape the package root, and emit
`.empty` only when no eligible PDB exists. The package gate covers both
transport families, explicit-symbol ownership, reference exclusion, empty
output, and traversal rejection.

~~ Explicit signing and BAR inputs ~~

Arcade's broad defaults do not describe SkiaSharp's mixed first-party, Mac
developer, JavaScript, WebGPU, and transport payloads. Replace them with an
explicit repository policy: sign Shipping NuGets and classified first-party
contents, preserve Mac developer signing, and retain source payload bytes
through `CertificateName=None`. Keep NonShipping transport packages unsigned and
out of recursive SignCheck, with `DO-NOT-SIGN` exclusions making unexpected
signatures fail validation. Do not add the absent `SkiaSharp.Vulkan.Silk.NET`
package or Apple symbol production to this historical line.

Generate one Arcade V3 manifest from signed Shipping and prepared NonShipping
assets. Release branches select real signing and BAR registration, while public
and PR template expansion cannot acquire those side effects. Keep
`publishAssetsImmediately: false` and require default channels before
promotion; BAR registration is not NuGet.org publication.

~~ Fail-closed API Scan coverage ~~

The legacy inline scan extracted packages without proving that required
binaries, PDBs, surrogates, or configured targets existed. Add a
repository-owned stage that consumes the current `nuget` and `native_msvc`
artifacts, activates the dedicated WIF identity, runs API Scan in release mode,
and breaks at Note severity. Prepare checked Win32, NanoServer, and WinUI
mappings, using x64 MSVC surrogates for Win32 and HarfBuzzSharp ARM64 targets
and staged x64 package binaries for WinUI ARM64 targets. Reject missing
packages, binaries, PDBs, surrogate files, or target matches, and run the
preparation suite during Prepare so drift fails before the protected stage.

~~ Historical toolchain and servicing-pool compatibility ~~

The branch's 10.0.108 SDK is too old for Arcade package download, while its
Apple and WinUI jobs cannot adopt every newer tool. Move repository-owned builds
and existing checkout-consuming native containers to SDK 10.0.203 with
`latestPatch` roll-forward, and retain workload set 10.0.202 for the macOS 15
and Xcode 26.3 combination. Visual Studio MSBuild 17.x cannot load a 10.0.2xx
SDK, so install 10.0.108 side by side for the WinUI and WinUI ANGLE jobs. Update
only containers present on 4.151.x.

Windows and Linux jobs move to the public or internal dnceng pools, which select
servicing images for `release/*` while retaining queue-time overrides and hosted
Apple jobs. The lean servicing Linux image lacks assumptions the former pools
hid, so provision the Android SDK, platform tools, build-tools 35.0.0 and
36.0.0, and configured API levels, pass `AndroidSdkDirectory` into Cake, and
install a SHA-256-verified pinned Chrome for both Linux WASM jobs. Separately,
point the nested tracking benchmark's `nuget.config` at the dnceng EAP feed;
it still restored from the legacy Xamarin feed and failed before
BenchmarkDotNet could run.

Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Copilot App <[email protected]>
@github-actions github-actions Bot added this to the 4.151.2 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