Skip to content

Remove per-PR macOS formula build, move to release workflow#71

Merged
alexkroman merged 2 commits into
mainfrom
claude/sleepy-edison-vjir05
Jun 11, 2026
Merged

Remove per-PR macOS formula build, move to release workflow#71
alexkroman merged 2 commits into
mainfrom
claude/sleepy-edison-vjir05

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

Summary

Removes the formula-install CI job that performed a real brew install build on every PR. This job was computationally expensive (40-minute timeout for Rust + cryptography native builds) and provided limited feedback value for PR review cycles. Real formula builds now run only during release (via release.yml when a tag is cut).

Changes

  • Removed formula-install job from .github/workflows/ci.yml (lines 192–241)

    • Eliminated the macOS-only job that built the Homebrew formula from branch source on every PR
    • Removed the tarball generation and formula pinning logic that worked around the placeholder sha256 in the committed formula
    • Removed the local tap creation and brew install --build-from-source + brew test steps
  • Updated CI comments to reflect the new workflow

    • Clarified that brew style (RuboCop-based linting) still runs on every PR for idiom checking
    • Documented that real brew install --build-bottle now runs only in release.yml when a tag is cut
    • Noted that the from-source macOS build was dropped due to excessive CI time overhead

Rationale

The per-PR formula build was a bottleneck that didn't align with typical PR feedback needs. The stricter brew audit --strict --online and actual release builds provide sufficient validation at the appropriate stage in the release process.

https://claude.ai/code/session_01Q2127PjnBnuW9tXi58Yn6N

The formula-install job built the formula from source on macOS every PR
(rust + cryptography native builds, 40-minute timeout), which made it the
slowest job in the workflow by far. The real install path is already
exercised where it matters: release.yml runs brew install --build-bottle
when a tag is cut, and brew style still lints the formula on every PR.

https://claude.ai/code/session_01Q2127PjnBnuW9tXi58Yn6N
@alexkroman alexkroman enabled auto-merge (squash) June 11, 2026 22:10
@alexkroman alexkroman merged commit 5db4e10 into main Jun 11, 2026
8 checks passed
@alexkroman alexkroman deleted the claude/sleepy-edison-vjir05 branch June 11, 2026 22:21
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.

2 participants