Skip to content

chore(ci): drop clippy+test from release pipeline; keep gate local-only#23

Merged
inureyes merged 1 commit into
mainfrom
chore/ci-drop-clippy-test-from-release
May 18, 2026
Merged

chore(ci): drop clippy+test from release pipeline; keep gate local-only#23
inureyes merged 1 commit into
mainfrom
chore/ci-drop-clippy-test-from-release

Conversation

@inureyes
Copy link
Copy Markdown
Member

Summary

PR #21 moved clippy + test from PR-time ci.yml into release.yml::build-macos on the assumption that paying ~15 min once per release was cheaper than paying it on every PR push. The first real run came in at ~30+ min on the shared self-hosted Apple Silicon runner, which inverts the trade-off — release builds now block on a slow lint/test pass that make verify would have caught locally in seconds.

This PR drops clippy+test from the release pipeline entirely. The quality gate is now local-only, via the verify* targets introduced in #19.

What changed

release.yml — removed from build-macos:

  • Format check step
  • Clippy step
  • Test step
  • components: clippy, rustfmt from the toolchain install

The build-macos job is back to its pre-#21 shape: build → sign → package → upload. A long comment block in its place documents why lint/test aren't here and points at make verify / make verify-clean.

ci.yml — header comment updated:

  • Removed the "moved to release.yml" claim that's now wrong.
  • Added the same pre-push checklist (make verify, make verify-clean).

What didn't change

PR-time CI still runs cargo-deny + cargo-fmt on ubuntu (both are cheap, neither touches the self-hosted runner). pipeline-parallel-ci.yml is untouched.

Trade-off

  • Cost saved: release builds no longer wait 30+ min on lint/test.
  • Cost added: developers must run make verify before pushing — otherwise lint/test regressions land on main until somebody runs it locally.
  • Net: aligns with the actual workflow (make verify exists, takes ~2 min on a warm cache, and we already use it before every push in practice).

PR #21 moved clippy+test from PR-time ci.yml to release.yml on the
theory that paying ~15 min once per release was cheaper than paying it
on every PR push. The first real run came in at ~30+ min on the shared
self-hosted Apple Silicon runner, which inverts the trade-off — release
builds now block on a slow lint/test pass that `make verify` would have
caught locally in seconds.

This commit removes the fmt/clippy/test steps from release.yml's
`build-macos` job (and reverts the `components: clippy, rustfmt`
addition), and updates ci.yml's header comment to document that the
quality gate is local-only via `make verify` / `make verify-clean`.

PR-time CI keeps cargo-deny + cargo-fmt on ubuntu (cheap, no self-hosted
runner involvement). The release pipeline goes back to its pre-#21
shape: build, sign, package, upload.
@inureyes inureyes added status:review Under review type:chore Maintenance tasks (build, CI, etc.) priority:medium Medium priority labels May 18, 2026
@inureyes inureyes merged commit 0fd5fa3 into main May 18, 2026
1 check passed
@inureyes inureyes deleted the chore/ci-drop-clippy-test-from-release branch May 18, 2026 12:11
@inureyes inureyes self-assigned this May 18, 2026
@inureyes inureyes added status:done Completed and removed status:review Under review labels May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Medium priority status:done Completed type:chore Maintenance tasks (build, CI, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant