Repository navigation
Drop Intel (x86_64) macOS from release CI - #2169
Conversation
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]>
|
APPROVE Adversarial review (general-purpose subagent, high effort) ran against the real diff — no blockers. Verified: valid YAML pre/post-edit, no remaining Also independently confirmed the issue's other 3 revised-ask items are already done live (not part of this diff): v0.2.0 Pushed through the full pre-push gate twice, clean both times. Merging. |
|
Nudging GitHub to resync PR head ref (stale mergeability state) — reopening immediately. |
* 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]>
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-intellegs from.github/workflows/release.ymlso 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.build-tauriandbuild-headless, plus the now-unreachablemacos-latest-gated steps left inbuild-tauri(Install Protobuf, download embedding model, build sidecars) now that its matrix is Windows-only.macos-intelworkflow_dispatchplatform option.sync-homebrew-caskandsync-install-scriptjob comments, which referenced the removed macOS Intel leg and a since-changed matrix leg count.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)
SHA256SUMSregenerated — confirmed no orphanedx86_64-apple-darwinentries on the live releaseNodeSpaceAI/homebrew-nodespace) carries a comment marking arm64-only as intentional, not a leftover workaroundThis PR is the last remaining piece — CI stops building the artifacts that produce the drift in the first place.
Test plan
main(post-Trim #2161/#2164 tool-schema bloat; surface turn-level inference failures #2168) — clean, no conflicts (release.yml/release.ts, no overlap with Trim #2161/#2164 tool-schema bloat; surface turn-level inference failures #2168's packages/agent/packages/daemon changes)scripts/test-gate.ts) passed clean end-to-end viagit push, includingai_chat_send_reaches_idle_with_no_stuck_processing_state(unblocked by Trim #2161/#2164 tool-schema bloat; surface turn-level inference failures #2168)git diffreviewed line-by-line — scope is exactly.github/workflows/release.yml+scripts/release.ts, nothing else touched🤖 Generated with Claude Code