Repository navigation
[infra] Align release ecosystem references with dnceng - #4910
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 -- 4910PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4910"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4910/packages --name skiasharp-pr-4910More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4910 |
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. |
📊 SkiaSharp benchmarks — PR #4910⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS
Highlights⏱️ Time — 🔴 34 slower · 🟢 11 faster
Full per-OS benchmark deltasLinux⏱️ Time (vs 🌙 nightly
Windows⏱️ Time (vs 🌙 nightly
macOS⏱️ Time (vs 🌙 nightly
|
📦 Artifact size reportPackages from this PR (build Total Packages
+39 package(s) unchanged (< 50.0 KB). Per-file changes
|
| File | Size |
|---|---|
runtimes/win-x86/native/libGLESv2.pdb |
67.3 MB → 67.1 MB (🟢 −160.0 KB) |
runtimes/win-arm64/native/libGLESv2.pdb |
64.5 MB → 64.4 MB (🟢 −128.0 KB) |
runtimes/win-x64/native/libGLESv2.pdb |
66.6 MB → 66.5 MB (🟢 −112.0 KB) |
Informational only — this never blocks the PR. Native binaries are labelled by os/arch.
cea6fb0 to
3f2097c
Compare
This comment has been minimized.
This comment has been minimized.
3f2097c to
d92b50c
Compare
921bf90 to
b986d8c
Compare
This comment has been minimized.
This comment has been minimized.
b986d8c to
235d9f6
Compare
This comment has been minimized.
This comment has been minimized.
235d9f6 to
e690acb
Compare
This comment has been minimized.
This comment has been minimized.
e690acb to
604d254
Compare
This comment has been minimized.
This comment has been minimized.
604d254 to
09923df
Compare
This comment has been minimized.
This comment has been minimized.
Port the dnceng observer and feed alignment from source commit 086f728 onto main. Track the combined skiasharp-package and skiasharp-tests pipeline chain, query Component Governance from the combined Build, and direct live package consumers to the shared dotnet-libraries feeds. Keep the independently owned release workflow changes and the historical feed migration utility out of this commit. Co-authored-by: Copilot App <[email protected]>
Document that the release-testing planner verifies the three public package anchors on NuGet.org, then runners restore those exact versions from dotnet-libraries with dependencies from dotnet-public. Runner restores do not independently prove publication or cross-feed identity. Co-authored-by: Copilot App <[email protected]> Copilot-Session: bf167f1b-f839-446f-b8f4-3ea09a9f9b1c
09923df to
3caca7b
Compare
This comment has been minimized.
This comment has been minimized.
State that release-testing physically validates selected CI/BAR artifacts before publication and never uses NuGet.org as a planner or runner source. Describe release skills as thin guidance and observation layers over repository-owned workflows and PowerShell scripts. Co-authored-by: Copilot App <[email protected]> Copilot-Session: bf167f1b-f839-446f-b8f4-3ea09a9f9b1c
|
[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
Aligns SkiaSharp's repository-owned CI observers, Component Governance audit, shared-feed documentation, and complete repository release framing with the current dnceng ecosystem.
This independently ports the coherent dnceng observer/feed scope from source commit
086f728b32d3423dc234cbb3e5a0bbec083d1cfein #4889. It now builds directly on main after #4907 merged the BAR-specific pre-publication approval implementation:ci-statusmodels public validation plusskiasharp-package(1642) and its connectedskiasharp-tests(1630) run indnceng/internal.security-auditqueries Component Governance from the combinedskiasharp-packageBuild that owns native and managed assets.dotnet-librariesand non-shipping build inputs todotnet-libraries-transport; ordinary CI/nightly consumers use those shared feeds.SkiaSharp,SkiaSharp.HarfBuzz, and derivedHarfBuzzSharpagainst the selected build's source branch and commit.dotnet-publicsupplies dependencies. Those implementation/integration files are inherited from main and absent from [infra] Align release ecosystem references with dnceng #4910's direct diff.documentation/dev/releasing.md, all three rootAGENTS.mdreferences, and the release-testing description indocumentation/site/ai/index.htmlrender that complete final flow; the guide explicitly excludes NuGet.org from approval planner/runner sources.The repository-wide audit confirmed that no stale public-smoke phrases remain outside historical release artifacts. Retained old feed names are intentional:
manage-nuget-feed.ps1is the historical xamarin migration utility, while the merged #4907 checked-in fallback config is overridden in approval runs by the resolved GUID feed.SkiaSharp-Testsintests-apple.cakeis a simulator name rather than a pipeline reference.Related issues
Context: #4907
Context: #4889
Required skia PR
None.
Areas affected
binding/)externals/skia/src/c,include/c)Changes
None — infrastructure and contributor documentation only; no public API or runtime behavior changes.
Testing
SkiaSharp 4.150.3with BAR329644; it selected build4.150.3+20260828.7, sourcerelease/4.150.3@f8a404ff3375872d042404a29189ceb8e3001a41, and GUID feed8bf0dc6d-5564-4f8e-8ff2-8167b63c6306for all three anchors and every runner command.python3 scripts/infra/caching/repo-deps.py validate(4,800 tracked files, 0 uncovered).dotnet-librariesand confirmed both shared feed service indexes return HTTP 200.externals-downloadcompleted fromdotnet-libraries-transport: 18 wrapper packages produced 462 native files (3.2 GB).docs-download-outputcompleted fromdotnet-libraries-transport:_nugetsplus three dependency chunks produced 41 NuGet packages (570 MB).4.150.3and HarfBuzzSharp14.2.1.3through the resolved GUID feed withdotnet-publicdependencies; integrationSmokeTestspassed 3/3.AGENTS.md,documentation/dev/releasing.md, anddocumentation/site/ai/index.html.git diff --checkpass.Checklist
Changesabove lists all public API and behavioral changes (None)