Skip to content

Drop Intel (x86_64) macOS from release CI - #2169

Merged
mstomar125 merged 2 commits into
mainfrom
issue-2154-drop-intel
Aug 19, 2026
Merged

mstomar125 merged 2 commits into
mainfrom
issue-2154-drop-intel

Conversation

@mstomar125

Copy link
Copy Markdown
Contributor

Summary

Closes #2154.

Per the decision recorded on the issue ("not supporting Intel Macs for now" — no way to verify x86_64 macOS artifacts, and shipping an unverifiable build is worse than not shipping it), removes the macos-intel legs from .github/workflows/release.yml so CI stops producing artifacts that were being silently dropped from releases after upload (the original mystery this issue investigated) — and stops burning two macOS runner jobs per release doing it.

  • Removes the macOS Intel matrix entries from both build-tauri and build-headless, plus the now-unreachable macos-latest-gated steps left in build-tauri (Install Protobuf, download embedding model, build sidecars) now that its matrix is Windows-only.
  • Drops the matching macos-intel workflow_dispatch platform option.
  • Updates the sync-homebrew-cask and sync-install-script job comments, which referenced the removed macOS Intel leg and a since-changed matrix leg count.
  • Stops generating release notes/console output that imply Intel macOS builds ship (scripts/release.ts).

Reversible per the issue's decision comment — not an architectural call, a "not now." Intel Mac users can still build from source; the target can be re-added later.

Status of the issue's other 3 items (verified live, not part of this diff — no code changes involved)

  • v0.2.0 SHA256SUMS regenerated — confirmed no orphaned x86_64-apple-darwin entries on the live release
  • Release notes state the Intel drop explicitly
  • Homebrew cask (NodeSpaceAI/homebrew-nodespace) carries a comment marking arm64-only as intentional, not a leftover workaround

This PR is the last remaining piece — CI stops building the artifacts that produce the drift in the first place.

Test plan

🤖 Generated with Claude Code

mstomar125 and others added 2 commits August 19, 2026 15:50
Apple Silicon (aarch64-apple-darwin) is the only supported macOS
target going forward -- there is no way to test x86_64 macOS
artifacts, and shipping unverified builds is worse than not shipping
them. This is reversible: Intel Mac users can still build from
source, and the target can be re-added later.

- Remove the macOS Intel matrix entries from both build-tauri and
  build-headless in release.yml, plus the now-unreachable
  macos-latest-gated steps left in build-tauri (Install Protobuf,
  download embedding model, build sidecars) now that its matrix is
  Windows-only.
- Drop the matching macos-intel workflow_dispatch platform option.
- Update the sync-homebrew-cask and sync-install-script job comments,
  which referenced the removed macOS Intel leg and a since-changed
  matrix leg count.
- Stop generating release notes/console output that imply Intel
  macOS builds ship (scripts/release.ts).
build-tauri-macos-arm's job comment still said "without being blocked by
the Intel or Windows legs" after the Intel leg was removed from build-tauri
-- there is now only the Windows leg left for it to not be blocked by.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@mstomar125

Copy link
Copy Markdown
Contributor Author

APPROVE

Adversarial review (general-purpose subagent, high effort) ran against the real diff — no blockers. Verified: valid YAML pre/post-edit, no remaining macos-intel/Intel-macOS references, build-headless's matrix is genuinely 4-way now, REQUIRED_HEADLESS_TARGETS unaffected, build-tauri's remaining Windows-only steps correctly gated, sync-homebrew-cask's if: literally gates only on build-tauri-macos-arm (not the now-Windows-only build-tauri), and scripts/release.ts's edited output renders cleanly. One should-fix (a stale "Intel or Windows legs" comment the original comment-sweep missed) — fixed in the follow-up commit and reverified.

Also independently confirmed the issue's other 3 revised-ask items are already done live (not part of this diff): v0.2.0 SHA256SUMS has no orphaned Intel entries, release notes state the drop, and the Homebrew cask carries the "intentional, arm64-only" comment.

Pushed through the full pre-push gate twice, clean both times. Merging.

@mstomar125

Copy link
Copy Markdown
Contributor Author

Nudging GitHub to resync PR head ref (stale mergeability state) — reopening immediately.

@mstomar125 mstomar125 closed this Aug 19, 2026
@mstomar125 mstomar125 reopened this Aug 19, 2026
@mstomar125
mstomar125 merged commit 4e669f4 into main Aug 19, 2026
@mstomar125
mstomar125 deleted the issue-2154-drop-intel branch August 19, 2026 14:13
mstomar125 added a commit that referenced this pull request Aug 20, 2026
* Collapse Homebrew cask generator to arm64-only (closes #2171)

scripts/update-homebrew-cask.ts still carried a full Intel code path
that could no longer be exercised after #2169 dropped x86_64 macOS
from release CI. Collapses ArchDigest.arch and ARCH_SUFFIX to a single
arm64 constant, drops ArchDigestResult.intel and the on_arm/on_intel
two-architecture branch in renderCask(), and makes
resolveArchDigests() throw a hard error on a missing Apple Silicon
asset instead of reporting it as non-fatal (there is no other
architecture left to fall back to, so a missing build is no longer a
degrade case).

renderCask()'s single rendering path now reproduces the platform-
support rationale, livecheck strategy note, and MACOSX_DEPLOYMENT_TARGET
comment that are already live on NodeSpaceAI/homebrew-nodespace's
Casks/nodespace.rb -- the old generator's comments had drifted from
what's actually published. Verified byte-for-byte (diff + sha256) that
rendering v0.2.0 with the real published digest now reproduces the
live file exactly.

Rewrites the header docblock, which still claimed the script was
"not yet wired into CI" and described HOMEBREW_TAP_TOKEN as something
to add "once this is wired into the release flow" -- both stale as of
yesterday: the sync-homebrew-cask job in release.yml already runs this
script with --push on the release event, gated on
build-tauri-macos-arm, with a notify-failure job on failure and
homebrew-drift-check.yml as a scheduled backstop.

Updates update-homebrew-cask.test.ts to match: removes the
both-architectures test case and Intel fixtures, adds a byte-for-byte
assertion against the live published cask's exact content.

Co-Authored-By: Claude <[email protected]>

* Address adversarial review: fix stale sync-homebrew-cask comment, drop unattested test assertion

release.yml's sync-homebrew-cask job comment still described the old
tolerant behavior (renders an honest single-arch cask on a missing
asset) that the previous commit replaced with a hard failure. Also
drops a defensive test assertion for a phrase ("Intel Mac Support")
that never actually appeared in cask output -- it was release.ts's
now-removed changelog text, not anything renderCask() ever produced.

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
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.

Drop Intel (x86_64) macOS from releases: remove CI targets, fix orphaned SHA256SUMS entries

1 participant