ci: regroup and rename GitHub Actions workflows; prune dead ones - #4260
Merged
Conversation
Rename workflows so the Actions sidebar (sorted alphabetically by name)
groups related automation together via shared prefixes:
- Pages - * (was "Docs - *"): GitHub Pages / site infra
build-site, build-site-go-live, build-site-cleanup, build-site-cleanup-stale
- PR - *: event-driven PR helpers
backport, rebase, pr-artifacts-comment
- Sync - *: scheduled commit-back / sync bots
auto-skia-sync, auto-docs-submodule-sync, update-release-notes,
persist-aw-data, auto-triage
Coordinated the name-coupled references that break on rename:
- build-site-go-live workflow_run triggers -> Pages names
- persist-aw-data workflow_run trigger + resolve_key mapping -> "Sync - Issue Triage"
- Recompiled the three gh-aw .lock.yml files from their .md sources
- Updated ci-status and release-publish skills + dev docs that drive
`gh workflow run` / dashboards by workflow name
Removed superseded, long-disabled workflows:
- similarissues.yml, label-with-ai.yml, triage-and-repro.yml, engagement-scores.yml
(issue triage/labeling is now handled by the agentic "Sync - Issue Triage")
- Updated documentation/dev/maintaining.md accordingly
Kept manage-nuget-feed.yml (dormant but real maintenance tooling).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
📦 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 -- 4260PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4260"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4260/packages --name skiasharp-pr-4260More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4260 |
Contributor
|
📖 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. |
- Rename "Publish Samples" -> "Sync - Samples" (it commits generated sample projects back to the docs-samples branch, same commit-back/sync pattern as the other Sync workflows). - Update the ci-status skill's GITHUB_WORKFLOWS config (ci-status.py), which still had every pre-rename name hardcoded, to the new Pages-/PR-/Sync- names so the CI dashboard stays accurate. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mattleibow
added a commit
that referenced
this pull request
Jun 29, 2026
…ne skill, honest run signal (#4258) Harden Skia upstream-sync: conflict policy, durable gn args, standalone skill, honest run signal (#4258) Follow-up to the mode=main tip work (#4254) and release-line targeting (#4239). The first real tip runs exposed three rough edges in the auto-skia-sync automation, plus that key Skia-update knowledge lived only in the workflow prompt where the update-skia skill couldn't reach it. ~~ Verify-upstream-or-reapply conflict resolution ~~ A tip merge runs ~291 commits ahead of our submodule base and conflicts on every file carrying an [M1xx] fork cherry-pick. The old "keep ours / resolve what you reasonably can" guidance risked silently dropping a not-yet- upstreamed patch (--theirs) or freezing a stale form of one upstream had since refined (--ours; e.g. our SDF-LCD patch used getMaxScale() while upstream relanded it as sk_ieee_float_divide(1.f, getMinScale())). Replace it with an explicit, auditable policy: classify each fork patch on a conflicted file as upstreamed (take upstream's form, record the SHA) or not upstreamed (re-apply ours on top) -- never a blanket --theirs/--ours, never a silent drop. A mandatory before-merge fork-patch snapshot is cross-checked so every patch lands in the resolution table as upstreamed or re-applied; a patch that is neither is a lost patch -> stop and fix. Applied across gotcha #15, SKILL.md Phase 5, and the workflow tip note. ~~ Allow a required new gn arg through build.cake ~~ The tip build needed skia_use_partition_alloc=false because upstream now defaults it to is_clang while our DEPS deliberately omits partition_alloc; Skia ships an official zero-overhead noop raw_ptr for exactly this case, so =false is the supported embedder path, not a hack. The rule banned all build.cake edits, forcing a one-off --gnArgs CLI flag and leaving durable config non-durable. Split the rule into two tiers: still forbid changing compiler/linker flags (or scripts/infra/native/**) to silence a host build error, but allow adding a genuinely required new upstream gn arg to the affected platforms' native/**/build.cake gn-args lists, flagged in both PR summaries for cross- platform review. Sequencing is honored: the toggle doesn't exist in m150, so the relaxed rule lets the next milestone merge add it in-context rather than breaking the current build. Recommendation for the eventual bump (gotcha #23): keep partition_alloc disabled via the supported noop, not by vendoring the Chromium allocator. ~~ Make the skill standalone; reduce the workflow to CI overrides ~~ main/tip mode and the required-new-gn-arg rule were documented only in the workflow prompt, so the update-skia skill couldn't drive them locally. Move both into the skill: tip mode becomes a first-class third option in Phase 1 (new {UPSTREAM_REF} variable, merge-base..upstream/main milestone diffs, generalized Phase 5 merge command), and the gn-arg rule lands in Phase 7 backed by gotcha #23. Trim the workflow's duplicated build.cake/mode prose to short pointers, keeping only genuinely CI-specific guardrails (can't apt- install in the sandbox; a missing host dep is a workflow bug, not a flag hack; Linux-only-build cross-platform review). These are prompt-body edits, so the lock stays byte-identical. ~~ Stop mislabeling a real sync as a no-op ~~ A sync that merged upstream, built, tested, and opened both PRs was reported by the gh-aw conclusion job as a no-op, which then failed trying to file a no-op issue (the workflow has no issues: write). Cause: safe-outputs staged mode blocks the agent from creating anything directly -- the real PRs are opened by the host post-step skia-sync-push-prs.sh with the autobump token -- so noop was the agent's only completion signal and every run, real or not, signalled noop. Give the agent an honest signal: declare create-pull-request in safe-outputs, kept staged (preview-only; the safe_outputs job is ubuntu-slim with permissions:{} and never touches the workspace) so a real sync registers as a pull-request output, while real PRs still come only from the post-step. Set noop: report-as-issue: false so noop is reserved for genuine no-work runs and no longer files an uncreatable issue; drop the unused create_issue offer; and add a "Completion signal" section to the prompt. This is the one frontmatter edit in the PR, so auto-skia-sync.lock.yml is regenerated. Validated end-to-end by run 28269474099 (mode=main, real 2-commit merge): the agent emitted a staged create_pull_request, the conclusion logged no noop with no failed issue step, and the post-step still pushed skia-sync/main to both repos and updated the real PRs (#4263 + #269). Rebased on main to pick up the #4260 workflow rename (lock recompiled to a 0-diff) and confirm consistency with the #4267 support-status model. Co-authored-by: Matthew Leibowitz <mattleibow@live.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
The Actions sidebar sorts alphabetically by workflow
name, so shared prefixes are what visually group related workflows. Today only theDocs - *set is grouped. This PR renames workflows into three clear groups and removes superseded, long‑disabled ones.New groups
Pages - *(renamed fromDocs - *— this is the GitHub Pages/site infra, not API docs):Pages - Deploy,Pages - Go Live!,Pages - PR Staging - Cleanup,Pages - PR Staging - Sweep StalePR - *(event-driven PR helpers):PR - Backport,PR - Rebase,PR - Artifacts CommentSync - *(commit‑back / sync bots):Sync - Skia Upstream,Sync - Docs Submodule,Sync - Release Notes & API Diffs,Sync - Agentic Data,Sync - Issue Triage,Sync - SamplesLeft standalone (not part of a group):
Manage NuGet Feed,Copilot Setup Steps(the last keeps its exact name — GitHub special-cases it).Coordinated, name-coupled references
Renames aren't just the
name:line —workflow_runtriggers and tooling reference workflows by name, so this PR also updates:build-site-go-live.ymlworkflow_run→ Pages namespersist-aw-data.ymlworkflow_runtrigger andresolve_keymapping →Sync - Issue Triage*.lock.ymlfiles from their.mdsources (gh aw compile); diffs are name-only.agents/skills/ci-status/*(dashboardGITHUB_WORKFLOWSmap, tables, severity lists, sample output) and.agents/skills/release-publish/SKILL.md(drive dashboards /gh workflow runby name), plusdocumentation/dev/writing-docs.mdHistorical entries in
documentation/docfx/releases/*are intentionally left unchanged (they're a record of past PR titles).Removed (superseded, already disabled)
similarissues.yml,label-with-ai.yml,triage-and-repro.yml,engagement-scores.yml— issue triage/labeling is now handled by the agenticSync - Issue Triage.documentation/dev/maintaining.mdupdated to match.manage-nuget-feed.yml(dormant but real maintenance tooling).Follow-up handled separately (not in this PR)
Several ghost workflows still clutter the Actions UI because their files were deleted but their run history remains (GitHub has no "delete workflow" button in that state). These are being cleared by deleting their run history:
Publish Docs,Build Dashboard,Update Dashboard Data,Sync Data Cache,Update API Docs,Deploy Gallery,auto-skia-track.