You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
infra: Delete the dead upstream composite actions (sparkle-appcast, run-clang-format, run-gersemi) #2676
ci-lint precheck on origin/master (pin a1917ce7…) reports 265 GEN-005 approved exceptions, and three composite actions in that baseline are dead: no workflow, action or script in the tree references them, so their run: steps (and their .ps1/.xslt siblings) are leftover upstream OBS CI the fork no longer calls. They can be deleted rather than "ported to Python" — there is no caller to port for.
Evidence — zero callers
git grep -l '<action>' origin/master -- . ':!docs/ci-evidence' returns only each file itself, its ci.toml[[exceptions]] block, and (for two) a comment:
Action
GEN-005 findings
Referencing files (excluding itself)
.github/actions/sparkle-appcast/
8
none (ci/test_no_upstream_updater.py asserts the appcast jobs are gone from publish.yaml)
.github/actions/run-clang-format/
3
none (ci/local_gate.py runs clang-format directly; ci/test_local_gate.py:185 only names it in a docstring)
.github/actions/run-gersemi/
3
none (check-format.yaml runs uv run --no-project ci/local_gate.py --only gersemi)
ci/test_no_upstream_updater.py::test_upstream_appcast_jobs_are_gone already pins that the fork removed upstream's Sparkle appcast jobs; the action file was simply left behind.
Plan (one PR per action)
For each action: delete its files, delete that path's GEN-005[[exceptions]] block in ci.toml, and pin the deletion with a test so a re-added file fails. sparkle-appcast also lets us extend the existing test_upstream_appcast_jobs_are_gone (assert the action directory is gone), which is the natural home for the pin.
Acceptance
The three paths have no GEN-005[[exceptions]] block in ci.toml.
ci-lint precheck's approved-exception count drops by 14 (one PR: by that action's count).
No workflow or action references a deleted path (git grep).
No docs/features.md line: CI tooling only, no user-visible change.
Claiming: investigation — re-check that the three actions have no callers and that deleting them needs no replacement, then /ready it for the per-action PRs.
Claiming: .github/actions/sparkle-appcast/ (the 8-finding action) as the first unit. Verified it is dead: git grep sparkle-appcast origin/master -- . ':!docs/ci-evidence' matches only the action itself, its ci.toml GEN-005 block, and ci/test_no_upstream_updater.py's test_upstream_appcast_jobs_are_gone (which asserts the upstream appcast jobs are gone from publish.yaml).
Plan (one PR):
RED: extend ci/test_no_upstream_updater.py::test_upstream_appcast_jobs_are_gone to assert .github/actions/sparkle-appcast/ is gone and ci.toml has no GEN-005 exception for it — fails on master (the files are present).
GREEN: delete the action (action.yaml + the two .xslt) and its ci.toml[[exceptions]] block. ci-lint precheck: 505 -> 497 approved exceptions.
First PR within the hour; the other two actions follow in separate PRs.
Claiming: .github/actions/run-clang-format/ + .github/actions/run-gersemi/ (the other two dead actions in this issue).
Re-checked against origin/master (3db5449): nothing references either action. .github/workflows/check-format.yaml runs both checks through the Fast Gate's lint lane now — uv run --no-project ci/local_gate.py --only clang-format and --only gersemi (pinned by ci/test_format_jobs.py::test_jobs_use_the_local_gate_not_brew, which asserts the job contains no ./.github/actions/run-) — and the only remaining uses: ./.github/actions/run-* in that workflow is run-swift-format, which stays. git grep -n 'actions/run-clang-format\|actions/run-gersemi' -- . ':!docs' matches only the two ci.toml GEN-005 exception blocks and one docstring mention in ci/test_local_gate.py; build-aux/run-clang-format and build-aux/run-gersemi are separate files that stay.
Plan (one PR for both, since they are the same dead-code class and one test pins both):
RED: extend ci/test_format_jobs.py with a class asserting both action directories and both ci.toml GEN-005 exceptions are gone — fails on master.
GREEN: delete both action directories and the two exception blocks.
Second unit up: #2679 — delete .github/actions/run-clang-format/ and .github/actions/run-gersemi/ plus their two ci.toml GEN-005 exceptions (one PR, since one test pins both and they are the same class).
RED e9184e7db (test-only): DeadFormatActionsTest in ci/test_format_jobs.py asserts both action files and both exception blocks are gone — 2 failures on master.
GREEN cf8123325: the deletions + the two [[exceptions]] blocks. ci-lint precheck497 -> 491 approved exceptions (GEN-005 257 -> 251); 11 violations / 10 needs_review unchanged. ci/test_format_jobs.py (5), ci/test_ci_toml.py (41) and test_local_gate/test_no_upstream_updater/test_cache013_actions/test_workflow_duplicate_keys/test_describe_match (36) all OK; ruff check clean.
With #2677's 8, that is the issue's 14 findings: acceptance item 2 ("count drops by 14") is met once #2679 lands, so #2679 says Fixes #2676.
Follow-up worth its own issue (not done here, it is not an action): build-aux/run-clang-format and build-aux/run-gersemi are the shell formatters those actions called. Now that nothing in CI calls them, their only references are build-aux/README.md (documented manual usage) and the ci/local_gate.py docstring, and ci/local_gate.py --only clang-format|gersemi duplicates them with the pinned tools — so they are deletable dead code with 2 more GEN-005 findings, but deleting a documented developer entry point is a docs decision, not part of this issue.
Activity
zackees commentedon Oct 27, 2026
Claiming: investigation — re-check that the three actions have no callers and that deleting them needs no replacement, then /ready it for the per-action PRs.
zackees commentedon Oct 27, 2026
/ready
zackees commentedon Oct 27, 2026
Claiming:
.github/actions/sparkle-appcast/(the 8-finding action) as the first unit. Verified it is dead:git grep sparkle-appcast origin/master -- . ':!docs/ci-evidence'matches only the action itself, itsci.tomlGEN-005 block, andci/test_no_upstream_updater.py'stest_upstream_appcast_jobs_are_gone(which asserts the upstream appcast jobs are gone frompublish.yaml).Plan (one PR):
ci/test_no_upstream_updater.py::test_upstream_appcast_jobs_are_goneto assert.github/actions/sparkle-appcast/is gone andci.tomlhas no GEN-005 exception for it — fails on master (the files are present).action.yaml+ the two.xslt) and itsci.toml[[exceptions]]block.ci-lint precheck: 505 -> 497 approved exceptions.First PR within the hour; the other two actions follow in separate PRs.
zackees commentedon Oct 27, 2026
First unit up: #2677 — delete
.github/actions/sparkle-appcast/(action.yaml+ the two.xslt) and itsci.tomlGEN-005 exception.362dde093(test-only):test_upstream_appcast_jobs_are_goneasserts the action directory and its GEN-005 exception are gone — fails on master.ba987b133: the deletion.ci-lint precheck505 -> 497 approved exceptions (GEN-005 265 -> 257), violations/needs_review unchanged;ci/test_no_upstream_updater.py+ci/test_ci_toml.py= 52 tests OK.zackees commentedon Oct 27, 2026
Claiming:
.github/actions/run-clang-format/+.github/actions/run-gersemi/(the other two dead actions in this issue).Re-checked against
origin/master(3db5449): nothing references either action..github/workflows/check-format.yamlruns both checks through the Fast Gate's lint lane now —uv run --no-project ci/local_gate.py --only clang-formatand--only gersemi(pinned byci/test_format_jobs.py::test_jobs_use_the_local_gate_not_brew, which asserts the job contains no./.github/actions/run-) — and the only remaininguses: ./.github/actions/run-*in that workflow isrun-swift-format, which stays.git grep -n 'actions/run-clang-format\|actions/run-gersemi' -- . ':!docs'matches only the twoci.tomlGEN-005 exception blocks and one docstring mention inci/test_local_gate.py;build-aux/run-clang-formatandbuild-aux/run-gersemiare separate files that stay.Plan (one PR for both, since they are the same dead-code class and one test pins both):
ci/test_format_jobs.pywith a class asserting both action directories and bothci.tomlGEN-005 exceptions are gone — fails on master.ci-lint precheckheader before/after, runci/test_format_jobs.py+ci/test_ci_toml.py, then hand off.Resume of infra: Delete the dead upstream composite actions (sparkle-appcast, run-clang-format, run-gersemi) #2676; the first unit (ci: Delete the dead upstream sparkle-appcast composite action (#2676) #2677) is merged.
zackees commentedon Oct 27, 2026
Second unit up: #2679 — delete
.github/actions/run-clang-format/and.github/actions/run-gersemi/plus their twoci.tomlGEN-005 exceptions (one PR, since one test pins both and they are the same class).e9184e7db(test-only):DeadFormatActionsTestinci/test_format_jobs.pyasserts both action files and both exception blocks are gone — 2 failures on master.cf8123325: the deletions + the two[[exceptions]]blocks.ci-lint precheck497 -> 491 approved exceptions (GEN-005 257 -> 251); 11 violations / 10 needs_review unchanged.ci/test_format_jobs.py(5),ci/test_ci_toml.py(41) andtest_local_gate/test_no_upstream_updater/test_cache013_actions/test_workflow_duplicate_keys/test_describe_match(36) all OK;ruff checkclean.With #2677's 8, that is the issue's 14 findings: acceptance item 2 ("count drops by 14") is met once #2679 lands, so #2679 says
Fixes #2676.Follow-up worth its own issue (not done here, it is not an action):
build-aux/run-clang-formatandbuild-aux/run-gersemiare the shell formatters those actions called. Now that nothing in CI calls them, their only references arebuild-aux/README.md(documented manual usage) and theci/local_gate.pydocstring, andci/local_gate.py --only clang-format|gersemiduplicates them with the pinned tools — so they are deletable dead code with 2 more GEN-005 findings, but deleting a documented developer entry point is a docs decision, not part of this issue.ci: Delete the dead upstream sparkle-appcast composite action (#2676) (…
ci: Delete the dead run-clang-format and run-gersemi composite actions (
ci: Delete the dead upstream sparkle-appcast composite action (obs-ru…
ci: Delete the dead run-clang-format and run-gersemi composite actions (
build(cmake): compile C with -Wmissing-prototypes and -Wstrict-protot…