Skip to content

ci: regroup and rename GitHub Actions workflows; prune dead ones - #4260

Merged
mattleibow merged 2 commits into
mainfrom
mattleibow-rename-workflows
Jun 26, 2026
Merged

ci: regroup and rename GitHub Actions workflows; prune dead ones#4260
mattleibow merged 2 commits into
mainfrom
mattleibow-rename-workflows

Conversation

@mattleibow

@mattleibow mattleibow commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What & why

The Actions sidebar sorts alphabetically by workflow name, so shared prefixes are what visually group related workflows. Today only the Docs - * set is grouped. This PR renames workflows into three clear groups and removes superseded, long‑disabled ones.

New groups

Pages - * (renamed from Docs - * — this is the GitHub Pages/site infra, not API docs):

  • Pages - Deploy, Pages - Go Live!, Pages - PR Staging - Cleanup, Pages - PR Staging - Sweep Stale

PR - * (event-driven PR helpers):

  • PR - Backport, PR - Rebase, PR - Artifacts Comment

Sync - * (commit‑back / sync bots):

  • Sync - Skia Upstream, Sync - Docs Submodule, Sync - Release Notes & API Diffs, Sync - Agentic Data, Sync - Issue Triage, Sync - Samples

Left standalone (not part of a group): Manage NuGet Feed, Copilot Setup Steps (the last keeps its exact name — GitHub special-cases it).

Publish Samples was folded into the Sync group as Sync - Samples — it commits generated samples back to the docs-samples branch, which is the same commit‑back/sync pattern as the others.

Coordinated, name-coupled references

Renames aren't just the name: line — workflow_run triggers and tooling reference workflows by name, so this PR also updates:

  • build-site-go-live.yml workflow_run → Pages names
  • persist-aw-data.yml workflow_run trigger and resolve_key mapping → Sync - Issue Triage
  • Recompiled the three gh‑aw *.lock.yml files from their .md sources (gh aw compile); diffs are name-only
  • .agents/skills/ci-status/* (dashboard GITHUB_WORKFLOWS map, tables, severity lists, sample output) and .agents/skills/release-publish/SKILL.md (drive dashboards / gh workflow run by name), plus documentation/dev/writing-docs.md

Historical 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 agentic Sync - Issue Triage. documentation/dev/maintaining.md updated to match.
  • Kept 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.

Note: Nightly Fix Finder shows active but has no file on main — it's registered from a dev branch and will resolve when that branch merges/deletes.

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>
@github-actions

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

PowerShell / 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-4260
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-4260

@github-actions

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.

- 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
mattleibow merged commit 467bffd into main Jun 26, 2026
4 of 5 checks passed
@mattleibow
mattleibow deleted the mattleibow-rename-workflows branch June 26, 2026 21:41
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>
@mattleibow mattleibow added this to the 4.150.0-rc.1 milestone Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant