Skip to content

ci: consolidate trivial gates, add missing concurrency groups - #66

Merged
acamarata merged 2 commits into
mainfrom
ci/consolidate-hygiene-gates
Sep 2, 2026
Merged

acamarata merged 2 commits into
mainfrom
ci/consolidate-hygiene-gates

Conversation

@acamarata

Copy link
Copy Markdown
Contributor

Summary

  • Fold 6 trivial, sub-minute workflows (clean-root, clean-working-tree [duplicate], multi-arch-check [stub], nself-first-check, doc-sync, generated-file-gate) into one hygiene.yml sharing a single checkout + runner allocation. None of the folded checks are required branch-protection checks.
  • Add concurrency groups (cancel-in-progress) to companion-build.yml, core-ci.yml, desktop-e2e.yml, llm-acceptance.yml, security-scan.yml, dependabot-review.yml, which had none.
  • Intentionally left dependabot-auto-merge.yml (pull_request_target — ref-keyed group would cross-cancel unrelated PRs), publish-updater.yml / release-cascade.yml (release/publish flows — never cancel mid-flight), and quarterly-doc-audit.yml (schedule-only, not part of the per-push queueing problem) untouched.
  • Workflow-only change. No application code touched. No path filters added to ci.yml (holds the required "Desktop Build Check" job) — left broad per the hard safety constraint.

Verification

  • Required branch-protection check names unchanged: Gitleaks (own workflow, untouched) and Desktop Build Check (in ci.yml, untouched).
  • actionlint on all touched files: zero new findings vs origin/main (pre-existing shellcheck/workflow-call findings in unrelated files — desktop-macos.yml, linux-sign.yml, publish-r2.yml, publish-updater.yml, release-cascade.yml, release.yml — are identical before/after; the only diff is doc-sync.yml's one finding disappearing since that file now lives, lint-clean, inside hygiene.yml).
  • Workflow file count: 26 → 21.

Test plan

  • Confirm hygiene.yml runs successfully on this PR's own checks (all 5 folded gates should PASS in one job)
  • Confirm branch protection still shows Gitleaks and Desktop Build Check as required and green

@acamarata
acamarata force-pushed the ci/consolidate-hygiene-gates branch from ecf9671 to 3e97a8d Compare September 1, 2026 23:06
Fold clean-root, clean-working-tree (duplicate), multi-arch-check (stub),
nself-first-check, doc-sync, and generated-file-gate into a single
hygiene.yml sharing one checkout and one runner allocation per push/PR.
None of the folded checks are required branch-protection checks; Gitleaks
and Desktop Build Check are untouched.

Add concurrency groups (cancel-in-progress) to companion-build, core-ci,
desktop-e2e, llm-acceptance, security-scan, and dependabot-review, which
previously had none. Left pull_request_target, publish, and release-cascade
workflows alone per the cross-PR-cancellation and mid-deploy-cancel risks.

No application code changed.
Matches price-lint.yml's prior explicit contents:read restriction; none of
the consolidated steps need write access.
@acamarata
acamarata force-pushed the ci/consolidate-hygiene-gates branch from 3e97a8d to 8b47efb Compare September 2, 2026 10:42
@acamarata
acamarata merged commit 40aff0c into main Sep 2, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant