Repository navigation
Reserve HarfBuzzSharp versions by Skia milestone - #4833
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 0ed2f589-f263-48f0-aac4-6bd7aeee32ff
📦 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 -- 4833PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4833"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4833/packages --name skiasharp-pr-4833More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4833 |
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 0ed2f589-f263-48f0-aac4-6bd7aeee32ff
📊 SkiaSharp benchmarks — PR #4833⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS
Highlights⏱️ Time — 🔴 44 slower · 🟢 38 faster
Full per-OS benchmark deltasLinux⏱️ Time (vs 🌙 nightly
Windows⏱️ Time (vs 🌙 nightly
macOS⏱️ Time (vs 🌙 nightly
|
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 0ed2f589-f263-48f0-aac4-6bd7aeee32ff
[release] Move HarfBuzzSharp M151 to its revision bucket (#4832) Context: #4833 M150 and M151 both carried native HarfBuzz 14.2.1 while independently incrementing the same fourth version component. That allowed servicing releases from separate Skia milestones to request identical HarfBuzzSharp package versions. Treat M150, which adopted 14.2.1, as the base 0-99 bucket and move the pending M151 release from 14.2.1.3 to 14.2.1.103. Update the file version and the ten HarfBuzzSharp package entries together while leaving the native release, soname, assembly version, and SkiaSharp versions unchanged. Record the adoption-relative rule beside the version entries: later milestones on the same native X.Y.Z add 100, while an upgrade on main resets to zero and establishes a new base. Older servicing lines remain on their existing native HarfBuzz version. Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Copilot App <[email protected]>
|
📖 Documentation Preview The documentation for this PR has been deployed and is available at: 🔗 View Staging Site This preview will be updated automatically when you push new commits to this PR. This comment is automatically updated by the documentation staging workflow. |
[skills] Add guarded Skia update landing workflow (#4918) Context: #4833 Add a maintainer-controlled workflow for landing an already-reviewed mono/skia and mono/SkiaSharp update pair. Keep both GitHub merges manual while automating the deterministic release-branch and parent-repin operations. ~~ Guarded two-repository landing ~~ Discover reciprocal PR pairs before requesting approval and require selection when multiple updates are open. Add ten eval scenarios covering pair selection, release preservation, servicing no-ops, conflicting refs, merge ancestry, and local or workflow-based parent repins. Prepare matching release branches from the exact native and parent base commits when a main update replaces a product line. Treat existing release targets as servicing updates, preflight both destinations, create the native branch first, and never move an existing ref. Verify that the merged native commit is a two-parent merge containing the reviewed head with an identical tree. Update only the Skia gitlink and matching Component Governance hash, recheck remote tips before mutation, and default both PowerShell helpers to read-only operation unless `-Push` is supplied. ~~ Keep HarfBuzz revisions milestone-scoped ~~ Move the reusable version-update helper and its tests into the update-skia skill. Advance the HarfBuzzSharp package revision bucket by 100 for every crossed Skia milestone while the native HarfBuzz version remains unchanged, including partial-run repair and idempotent reruns. Extend publishing coverage for higher revision buckets so release preparation continues incrementing within the active milestone allocation instead of crossing into a neighboring milestone's reserved range. Co-authored-by: Copilot App <[email protected]>
Description
Reserve 100 HarfBuzzSharp package revisions per Skia milestone while a native HarfBuzz version remains in use. The milestone that first adopts an upstream
X.Y.Zstarts at revision zero, and each later milestone that remains on that native version adds 100.HarfBuzz 14.2.1 was adopted by M150, so M150 uses revisions 0-99, M151 uses 100-199, and M152 uses 200-299. Main therefore uses HarfBuzzSharp 14.2.1.200, while the native HarfBuzz release and soname remain unchanged.
A future native HarfBuzz upgrade on
mainresets the package revision to zero and makes that milestone the new base. HarfBuzz upgrades are not backported to older release lines. The release documentation, dependency-update workflow, and release-script tests now capture this policy.Related issues
None.
Required skia PR
None.
Areas affected
binding/)externals/skia/src/c,include/c)Changes
None — package version allocation only; no public API or runtime behavior changes.
Testing
python3 .agents/skills/release-branch/scripts/tests/test_release_scripts.py14.2.1.200and native HarfBuzz remains14.2.1with soname0.61421.0.Checklist
Changesabove lists all public API and behavioral changes (or "None.")