Repository navigation
[4.152 RC1] Backport Arcade BAR release flow - #4864
mattleibow wants to merge 9 commits into
Conversation
Co-authored-by: Copilot App <[email protected]>
📦 Try the packages from this PRWarning 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 -- 4864PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4864"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4864/packages --name skiasharp-pr-4864More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4864 |
Co-authored-by: Copilot App <[email protected]>
📊 SkiaSharp benchmarks — PR #4864⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS
Highlights⏱️ Time — 🔴 43 slower · 🟢 19 faster
📦 Allocations — 🔴 1 more alloc · 🟢 0 less alloc
Full per-OS benchmark deltasLinux⏱️ Time (vs 🌙 nightly
📦 Allocations (vs 🌙 nightly
Windows⏱️ Time (vs 🌙 nightly
macOS⏱️ Time (vs 🌙 nightly
|
Prevent cached package outputs from being moved into nested directories or leaving the transport artifact path unavailable when the bootstrapper skips its build steps. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 3272dbf6-4fd4-4cd9-a017-0d283902257c
Move deterministic Shipping, NonShipping, and loose-PDB assembly into the Cake NuGet graph so public artifacts are ready before internal signing. Sign only the prepared Shipping view and register the signed Shipping plus prepared NonShipping views through a separate authenticated stage.\n\nInstall the pinned repository SDK before running Prepare's Cake contract tests and keep package outputs uncached and directly published. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 3272dbf6-4fd4-4cd9-a017-0d283902257c
📦 Artifact size reportPackages from this PR (build Total Packages
+38 package(s) unchanged (< 50.0 KB). Per-file changes
|
| File | Size |
|---|---|
🧬 android-x86 (runtimes/android-x86/native/libSkiaSharp.so) |
11.0 MB → 11.8 MB (🔴 +802.1 KB) |
README.md |
1.9 KB → 219 B (🟢 −1.7 KB) |
SkiaSharp.NativeAssets.WinUI
| File | Size |
|---|---|
runtimes/win-x64/native/libGLESv2.pdb |
66.6 MB → 66.5 MB (🟢 −112.0 KB) |
runtimes/win-x86/native/libGLESv2.pdb |
67.3 MB → 67.2 MB (🟢 −96.0 KB) |
runtimes/win-arm64/native/libGLESv2.pdb |
64.5 MB → 64.5 MB (🟢 −64.0 KB) |
README.md |
1.9 KB → 219 B (🟢 −1.7 KB) |
Informational only — this never blocks the PR. Native binaries are labelled by os/arch.
Use the shared Cake output root, derive transport selection from the preview label, and reject PDB archive entries that escape their package extraction root.\n\nCo-authored-by: Copilot App <[email protected]>\nCopilot-Session: 3272dbf6-4fd4-4cd9-a017-0d283902257c
Clear the process exit code after proving that an escaping PDB entry is rejected so the successful harness does not fail its Azure task. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 3272dbf6-4fd4-4cd9-a017-0d283902257c
Move Arcade asset behavior validation to the built Package output, keep Prepare tool-free, and emit only the PR or branch transport family consumed by Arcade NonShipping. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 3272dbf6-4fd4-4cd9-a017-0d283902257c
Name the newly backported package output root independently so historical native entry points can retain their existing OUTPUT_PATH globals while continuing to honor --outputPath. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 3272dbf6-4fd4-4cd9-a017-0d283902257c
Align the shared package output root with the authoritative ROOT_OUTPUT_PATH name while preserving --outputPath and the historical native-local OUTPUT_PATH globals. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 3272dbf6-4fd4-4cd9-a017-0d283902257c
Description
Backports the dependency-closed operational release flow needed to make
release/4.152.0-rc.1releasable through dnceng/Arcade/BAR. This reuses the RC1 branch's existing Arcade onboarding and adds only the required SDK/bootstrap alignment, package and Tests pipeline composition, Arcade publishing/signing/API Scan integration, exact build identity and artifact selection, one-family NuGet transport, real loose-PDB assembly from signed packages, and dnceng TSA configuration.The backport preserves
PREVIEW_LABEL: rc.1, the branch-native WinUI/Xcode/pool/preview-workload topology, and all RC1 package/test behavior. Loose PDB assembly preserves package/TFM/RID paths, excludesref/**, retains explicit symbol packages, and emits.emptyonly when no loose PDBs exist. No product, runtime, C API, Skia submodule, or native source inputs changed. It intentionally excludes Apple symbol production, new product packages, release skills, unrelated documentation/refactors, obsolete feed tooling, and generated outputs.Final readiness: draft remains pending final-polish Build 3056960. Source Build 1642 run 3056753 and its exact connected Tests 1630 run 3056959 passed.
Related issues
None.
Required skia PR
None.
Areas affected
binding/)externals/skia/src/c,include/c)Changes
None — CI/build-only; no public API, product/runtime behavior, rendering, or native input changes.
Testing
AssembleArcadeAssets.Tests.ps1— passed; verifies path-preserving loose-PDB extraction,ref/**exclusion, explicit symbol-package retention, no fallback symbol-package clones, and branch-only BAR NonShipping transport.SetBuildVariables.Tests.ps1— passed.PrepareApiScanInputs.Tests.ps1— passed.python3 scripts/infra/caching/repo-deps.py validate— passed with 0 uncovered files after the new scripts were tracked.buildpackage role, exact Tests resource,rc.1identity, fail-closed mutable artifact selection,DOTNET_FINAL_VERSION_KIND, branch-before-commit aliases, branch-only BAR NonShipping transport packages, loose/emptyPdbArtifacts, transport nuspec metadata, and the RC1 Silk.NET signing entry.SkiaSharp.Tests.Console.slnxrun: 6100 passed, 23 skipped, 1 failed in the main host; SingletonInit, Vulkan, and Direct3D hosts passed. The sole failure is the macOSganesh-gl/DiagonalLinesvisual golden mismatch (1832/65536 outliers versus 1310 allowed).release/4.152.0-rc.1@4bef32e1e494e8ef4c4a70b7b2092d268b077a8awith the same SDK and native binaries. Base and head produced identical metrics and byte-identical actual, diff, and golden PNG hashes, proving the failure is target-branch baseline rather than introduced here.Checklist
Changesabove lists all public API and behavioral changes (or "None.")mono/skiaPR required