Skip to content

[skia-sync] Merge upstream chrome/m147 bug fixes - #4044

Merged
mattleibow merged 1 commit into
mainfrom
skia-sync/m147
May 25, 2026
Merged

mattleibow merged 1 commit into
mainfrom
skia-sync/m147

Conversation

@mattleibow

Copy link
Copy Markdown
Contributor

Automated upstream bug-fix sync for m147.

Companion skia PR: mono/skia#242

mono/SkiaSharp PR Summary — [skia-sync] Update skia to milestone 147

Overview

Same-milestone sync (m147 → m147): picks up 3 upstream Skia bug-fix commits. No version bump — only the upstream commit hash in cgmanifest.json changes.

Breaking Change Analysis

Risk: 🟢 LOW — No public API changes.

All 3 upstream commits are internal bug fixes:

  • SkRP optimizer correctness fix
  • SkRuntimeEffect threading safety (const private members)
  • SkRegion malformed-data rejection

Version Changes

None — same milestone (147), version numbers unchanged.

Binding Changes

None — SkiaApi.generated.cs is unchanged.

cgmanifest.json Changes

  • commitHash: updated to 8044793ff0a6e338b24c1d270bea4c45159d3c0c
  • upstream_merge_commit: updated to dcbd374c13430f81daa04d28f8d00dee65679b17

C# Wrapper Changes

None required.

Build Results

Step Result
Native Linux x64 ✅ Clean
C# Build ✅ 0 errors
Smoke Tests ✅ 32/32 passed
Full Test Suite ✅ 5504 passed, 171 skipped (GPU/hardware), 0 failed

Items Needing Human Attention

None.

Created by skia-upstream-sync.

@github-actions

github-actions Bot commented May 22, 2026 •

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

PowerShell / Windows:

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

Step 2 — Add the local NuGet source

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

@github-actions

github-actions Bot commented May 22, 2026 •

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

The documentation for this PR has been deployed and is available at:

🔗 View Staging Site
🔗 View Staging Docs
🔗 View Staging Gallery (Blazor)
🔗 View Staging Gallery (Uno Platform)
🔗 View Staging SkiaFiddle

This preview will be updated automatically when you push new commits to this PR.


This comment is automatically updated by the documentation staging workflow.

@mattleibow
mattleibow marked this pull request as ready for review May 25, 2026 23:31
Same-milestone sync: merges 3 upstream bug-fix commits into m147.

Changes:
- [m147] Avoid removing too many stack entries in SkRP during discard_stack
- [m147] Make local optimized copy of program when creating SkRP version
- [m147] Reject SkRegions with multiple empty slices in a row

Details:
- No C API changes required (pure internal bug fixes)
- No binding regeneration changes (C API signatures unchanged)
- Updated cgmanifest.json with new upstream commit hash

Build: Native Linux x64 ✅
Tests: 5504 passed, 171 skipped (GPU/hardware), 0 failed ✅

Co-authored-by: Copilot <[email protected]>
@mattleibow
mattleibow merged commit 2ffda2b into main May 25, 2026
3 of 4 checks passed
@mattleibow
mattleibow deleted the skia-sync/m147 branch May 25, 2026 23:33
github-actions Bot pushed a commit that referenced this pull request May 25, 2026
@mattleibow mattleibow added this to the 4.148.0-rc.1 milestone Jun 15, 2026
@mattleibow mattleibow added the type/milestone-sync Any Skia upstream sync PR (milestone bump, same-milestone bug-fix re-sync, or tip sync). label Jul 3, 2026
@mattleibow mattleibow added the partner/agentic-workflows Issues and PRs created by SkiaSharp agentic workflows. label Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

partner/agentic-workflows Issues and PRs created by SkiaSharp agentic workflows. type/milestone-sync Any Skia upstream sync PR (milestone bump, same-milestone bug-fix re-sync, or tip sync).

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant