Repository navigation
[release] Resolve BAR packages for release approval - #4907
Conversation
📦 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 -- 4907PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4907"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4907/packages --name skiasharp-pr-4907More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4907 |
0161577 to
9332814
Compare
📊 SkiaSharp benchmarks — PR #4907No ⭐ source-build ( |
This comment has been minimized.
This comment has been minimized.
9332814 to
751cdac
Compare
This comment has been minimized.
This comment has been minimized.
751cdac to
f4a2031
Compare
f4a2031 to
453c17f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
📖 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. |
📦 Artifact size reportPackages from this PR (build Total Packages
+39 package(s) unchanged (< 50.0 KB). Per-file changes
|
| File | Size |
|---|---|
runtimes/win-arm64/native/libGLESv2.pdb |
64.5 MB → 64.4 MB (🟢 −96.0 KB) |
runtimes/win-x64/native/libGLESv2.pdb |
66.6 MB → 66.6 MB (🟢 −80.0 KB) |
runtimes/win-x86/native/libGLESv2.pdb |
67.3 MB → 67.2 MB (🟢 −80.0 KB) |
Informational only — this never blocks the PR. Native binaries are labelled by os/arch.
This comment has been minimized.
This comment has been minimized.
Treat release smoke testing as optional advisory validation after publication. Resolve and pin exact public SkiaSharp and HarfBuzzSharp packages from NuGet.org, require all three anchor packages to share source metadata, and emit host/device runner commands without mutating release state. Co-authored-by: Copilot App <[email protected]>
Keep NuGet.org as the authority for public package availability and source metadata, while restoring the planner's exact versions through dotnet-libraries and dotnet-public during integration runs. Expose the distinction in the plan and cover the checked-in runner sources. Co-authored-by: Copilot App <[email protected]> Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Keep the post-public advisory contract while restoring the fixed matrix, script ownership, approval choices, live progress cadence, collect-all failure handling, repair pass, and complete result report. Protect those operational stages and every matrix item with a regression test. Co-authored-by: Copilot App <[email protected]> Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Verify the exact BAR-selected package family on dotnet-libraries after the release build, run the existing host and device matrix with those pinned versions, and make the result the human gate before team publication. Remove the public-package framing and unrelated runner annotation churn. Co-authored-by: Copilot App <[email protected]> Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Describe release testing consistently as the human gate between the completed Build/Tests BAR and team publication. Keep the selected CI versions on dotnet-libraries, document stable and satellite restore failures, and use concrete dependency language in planner errors. Co-authored-by: Copilot App <[email protected]> Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Locate the exact SkiaSharp asset in Maestro, bind release approval to its BAR-specific GUID feed, and propagate that source through root and generated integration restores. Split Darc and NuGet concerns into typed adapters, simplify the runbook and scripts, replace preparation with a guarded PowerShell helper, and remove the obsolete Xcode 26 workaround with Mac2 4.2.0. Co-authored-by: Copilot App <[email protected]> Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Remove unused planner receipt fields and align the runbook with the final pre-publication approval contract. Accept tested minimum Appium versions through its npm-aware launcher, keep preflight and runtime resolution consistent, and isolate temporary Android devices on the next free emulator port. Co-authored-by: Copilot App <[email protected]> Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Remove the release-testing contract changes from repository-wide agent and release documentation so this PR remains limited to the skill and its integration harness. Co-authored-by: Copilot App <[email protected]> Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
5498513 to
49c902a
Compare
This comment has been minimized.
This comment has been minimized.
|
[infra] Align release ecosystem references with dnceng (#4910) Context: #4803 Context: #4889 Context: #4907 Context: 086f728 Context: https://github.com/mono/SkiaSharp/actions/runs/33565525986 Build on #4907's merged BAR-specific approval implementation with the current dnceng observer and shared-feed model. Keep the shared channel destinations for ordinary CI and nightly consumers distinct from the selected BAR asset's GUID-backed per-build feed; NuGet.org remains a later team publication step. The dnceng observer state and the versioning, shared.cake, and building-samples feed URLs were extracted from #4889 before that merged PR dropped these paths. The pinned commit above is that stack's last state before the drop; its tree still holds those files at this revision, apart from three building-samples naming lines refreshed here. Its own diff covers unrelated release-notes work. The README, benchmark/perf, writing-docs, and repository release-framing updates are new here. ~~ dnceng pipeline observers ~~ Since #4803 moved release builds to dnceng, the DevDiv Native -> Managed -> Tests definitions no longer describe them and ci-status reported a chain that no longer runs. Query the `mono-SkiaSharp` validation definition 345 in `dnceng-public/public` alongside skiasharp-package 1642 and skiasharp-tests 1630 in `dnceng/internal`. The cascade model becomes Build -> Tests: because 1642 owns native and managed work in one run, treat a red Tests run as a cascade only when the exact Build run it consumed also failed, rather than inferring the relationship from position in a three-stage chain. Query Component Governance from skiasharp-package alone because that combined Build owns native and managed assets, signing, API Scan, and BAR registration. Drop the now-meaningless `--pipeline native|managed|both` selector, reject an explicit security-audit build whose definition is not 1642, and point report examples and the viewer at the dnceng/internal CG registration and Build. With #4889 removing release-status, route build-progress and chain-tracing questions to ci-status, and package-readiness checks to a release-publish dry run. Skill metadata, representative report validators, Python compilation, and JSON/XML parsing passed. Build-cache dependency validation covered 4,800 tracked files with none uncovered. * `SkiaSharp-Tests` in `scripts/infra/tests/tests-apple.cake` remains a simulator instance name, not a stale pipeline reference. ~~ Shared channels and BAR-specific approval ~~ The old skiasharp-transport service index returns HTTP 404, while the `aka.ms/skiasharp-eap` alias resolves to the old skiasharp feed and does not expose current nightlies. Point wrapper downloads and documentation at dotnet-libraries-transport, document both shared destinations in versioning, and point README, benchmark, and size-tracking sources at dotnet-libraries. The merged #4907 implementation asks Maestro which BAR produced the selected version, then resolves that BAR asset's GUID-backed V3 and flat-container feed through Darc. Its planner downloads SkiaSharp, SkiaSharp.HarfBuzz, and the derived HarfBuzzSharp dependency from that exact feed, requires matching source branch and commit, and pins the same feed in every runner command, with dependencies from dotnet-public. Keep #4907's integration root, project, and generated-config propagation inherited from main and outside this PR's direct diff. In `documentation/dev/releasing.md` record that Arcade routes `IsShipping=true` packages to dotnet-libraries and `IsShipping=false` build inputs to dotnet-libraries-transport, then draw the shared-channel versus per-build BAR feed boundary. Because #4907 merged only implementation and integration files, this layer renders the complete operator flow in `documentation/dev/releasing.md`. It also replaces the three stale public-smoke references in `AGENTS.md` and the release skill descriptions in the AI index with pre-publication BAR package approval guidance. The guide records that release-testing physically smoke-tests the exact selected CI artifacts on the approved host/device targets and excludes NuGet.org from planner and runner sources, while the AI index explains that repository-owned workflows and PowerShell scripts perform release mutations and the skills remain thin guidance and observation layers. The release-testing contract inherited from #4907 governs the gate: failed required coverage blocks human release approval, but release-testing never publishes packages or changes BAR state, and only after approval does the team publish the selected BAR to NuGet.org. The live planner resolved SkiaSharp 4.150.3 through BAR 329644 to GUID feed 8bf0dc6d-5564-4f8e-8ff2-8167b63c6306 and matched all three anchors to source commit f8a404f. Both shared feed indexes returned HTTP 200, all 38 Python tests and the guarded PowerShell suite passed, and GUID-feed restore passed all three SmokeTests with HarfBuzzSharp 14.2.1.3. End-to-end transport validation also passed. Externals-download fetched 18 wrappers and produced 462 native files (3.2 GB); docs-download-output fetched four wrappers and produced 41 NuGet packages (570 MB). The linked benchmark run completed successfully with all 20 jobs passing on this exact head. * `scripts/infra/package/manage-nuget-feed.ps1` retains the dedicated skiasharp and skiasharp-transport destinations. It exists to migrate historical xamarin feeds and is run manually for that purpose; repointing it at shared feeds would change the migration's meaning. * #4907's checked-in fallback config retains the old skiasharp feed name, but approval runs override restore sources and generated configs with the resolved GUID feed. Those files are inherited from main and remain outside this PR. Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Copilot App <[email protected]>
[skills] Close pr-commit-message gaps found in release reviews (#4912) Context: #4889 Context: #4895 Context: #4907 Context: #4908 Context: #4910 Turn corrections from five completed release-message reviews into durable pr-commit-message rules, then replace conclusion-led evals with cases that exercise those decisions. Keep #4908 as an unchanged reviewed-message control; it is distinct from the synthetic compact-message eval fixture. ~~ Durable topic boundaries ~~ The #4889 draft distributed shared command-safety guarantees among consumer sections and under-described the deleted release-status runtime. Treat a shared guard, mechanism, or contract as its own topic when its consumers do not own its guarantee. A removal remains with its parent topic, but must preserve the departing component's name, the behavior that left, and its new home. Name sections for the problem or decision rather than a component, lead the overview with the governing design, and require sibling sections to carry comparable evidence. This preserves both the shared safety contract corrected in #4889 and the regression-coverage sentence restored to #4895. ~~ Immediate dependency relationships ~~ The #4907 and #4910 drafts labelled an earlier stack ancestor as required even though each change built on a nearer parent. Define `Requires:` as the immediate companion or dependency that must land first; earlier ancestors provide `Context:` instead. Candidate references still have to be opened and classified by their actual entity and relationship before they are included. ~~ Complete and current evidence scopes ~~ The #4889 review disproved "every workflow is one manual job" because the sampled family also contained scheduled and CI-only workflows. Require a family to be enumerated along the generalized dimension, and narrow a quantified claim when any member is a counterexample. State coverage in the predicates that tests or guards actually assert rather than the broader capability they suggest. Re-read counts and measurements at the current head so later pushes cannot leave a once-correct number in the message; #4910's tracked-file and nightly figures both changed during review. ~~ Configuration and migration intent ~~ Add configuration or policy splits and removals to the change-specific content rules. Each configuration must identify its context, value, and reason for remaining different, while a migration must identify the removed component and where its responsibility moved. This records #4910's build-feed versus public-package boundary instead of inviting a future maintainer to unify the sources and invalidate publication verification. ~~ Concrete guarantees and lasting rationale ~~ Replace safety adjectives with the operation that cannot occur and the neighboring system it cannot affect. That distinction preserves #4895's marker ownership and #4907's rule that release testing neither publishes packages nor changes BAR state. Keep durable limitations, but discard scope-negotiation phrases such as "excluded by request" or "out of scope for review size". Those phrases describe development chronology and stop being true when a follow-up lands, as the #4910 review demonstrated. ~~ Facts that share a role word ~~ Three drafts of this PR joined two true facts into a false relationship because both objects were called a control. #4908 is the prior release-message review that needed no correction; `control-single-topic-compact` is a synthetic eval for an unrelated design-time-detection change. Extend the mixed-truth check to distinguish objects called control, baseline, fixture, or config before joining clauses about them. A rerun then kept the two controls separate while preserving the other fifteen ground-truth checks. ~~ Source-backed, copy-ready attribution ~~ Two eval runs found output defects independent of message prose: one invented a Copilot noreply trailer without evidence, and another placed a valid trailer outside the fence where it would not be copied into the commit. Accept an email only from relevant commit authors, co-author trailers, or a non-null user email; house-style trailers are not evidence. Put every verified trailer inside the fenced commit message after a blank line. Only a missing-context notice for a contributing human whose email cannot be verified remains outside the fence. ~~ Evals that discriminate judgement ~~ The original eval pass scored 33/35 for the revision and 32/35 for the baseline, inside run-to-run noise. Its prompts supplied conclusions, numbered notes gave away topic counts, and one assertion hard-coded a section count; both graders identified the assertions as non-discriminating. Replace those cases with seven raw-evidence scenarios containing the stale claims that caused the real review corrections: a contradicted workflow universal, the wrong stack dependency, an unsafe configuration unification, stale measurements, shared guarantees, attribution evidence, and a compact single-topic control. The rebuilt suite scored 39/41 for the revised skill and 36/41 for the baseline, with no case regressing and wins on immediate dependencies, shared-mechanism placement, and concrete safety claims. The universal and coverage rules were already handled by both configurations, so they remain defensive rules rather than measured wins. Trailer-sensitive reruns passed every assertion after the output-contract fixes. Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Copilot App <[email protected]>
Description
Makes release testing the human approval gate for the exact package family from a completed release Build/Tests/BAR before the team publication pipeline publishes it.
SkiaSharpversion and requires an explicit BAR ID when more than one build produced it.SkiaSharp,SkiaSharp.HarfBuzz, and the bridge's concreteHarfBuzzSharpdependency from that feed, then requires all three packages to identify the selected BAR's source branch and commit.--device-idexplicitly selects one.This follows the repository-owned release coordination merged through #4889 while keeping package selection and publication in the team-owned pipeline.
Related issues
Related to #4889.
Required skia PR
None.
Areas affected
binding/)externals/skia/src/c,include/c)Changes
None — release-testing automation and guidance only; no public API or product runtime behavior changes.
Testing
3060533and Tests run3062775succeeded for4.150.3; Tests consumed that exact Build resource.329644, build4.150.3+20260828.7, sourcerelease/4.150.3@f8a404ff3375872d042404a29189ceb8e3001a41, GUID feed8bf0dc6d-5564-4f8e-8ff2-8167b63c6306, andHarfBuzzSharp 14.2.1.3. All three package anchors agree with that source.4.150.3results: smoke 3/3, console 2/2, Linux 2/2, Blazor 2/2, Android 37.1 2/2, Mac Catalyst 2/2, iOS 18.6 2/2, and iOS 26.5 2/2. Android, iOS, and Mac Catalyst were rerun successfully with Appium 3.7.0, UiAutomator2 8.5.0, XCUITest 12.8.0, and Mac2 4.2.0.4.152.0-rc.1.26426.14from BAR328857. Smoke, console, Linux, Blazor, Android 37.1, iOS 18.6, and iOS 26.5 passed; Android 26, Mac Catalyst under the then-installed old driver, and Windows were recorded as blocked rather than overstated as completed.Checklist
Changesabove lists all public API and behavioral changes (None)mono/skiaPR required