Skip to content

diagnostic: add warning for macOS Intel users - #23399

Closed
cho-m wants to merge 1 commit into
mainfrom
diagnostic-intel-macos
Closed

diagnostic: add warning for macOS Intel users#23399
cho-m wants to merge 1 commit into
mainfrom
diagnostic-intel-macos

Conversation

@cho-m

@cho-m cho-m commented Aug 2, 2026

Copy link
Copy Markdown
Member

Trying to add some advance warnings to hopefully inform more users of upcoming plans. Analytics data still shows 3.4M non-CI events in 30 days - https://formulae.brew.sh/analytics/homebrew-os-arch-ci/30d/

Otherwise a lot of users will only find out when brew install starts performing source builds when bottles are lost.

Though I don't expect many users will run brew doctor but hopefully some will see it. Perhaps outputting a one-time warning on any brew command could help.

Message looks like:

Warning: You are using macOS Intel which will be Tier 3 in or after September 2026.
See planned timeline at https://docs.brew.sh/Support-Tiers#future-macos-support

  • Have you followed our Contributing guidelines?
  • Have you checked for other open Pull Requests for the same change?
  • Have you explained what your changes do? Performance claims (e.g. "this is faster") must include Hyperfine benchmarks.
  • Have you explained why you'd like these changes included, not just what they do?
  • For bug fixes, have you given step-by-step brew commands to reproduce the bug?
  • Have you written new tests (excluding integration tests)? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) locally?

  • I did not use AI/LLM to create this PR, or I disclosed the tool/model below and reviewed its output; I did not attribute commits to AI and will answer maintainer questions and review comments myself without AI/LLM.

Copilot AI review requested due to automatic review settings August 2, 2026 18:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new macOS-specific diagnostic check intended to warn Intel macOS users about the planned future shift of macOS Intel to Support Tier 3 (targeting September 2026), with a link to the published timeline.

Changes:

  • Add a new brew doctor diagnostic check (check_for_future_unsupported_macos) that triggers only on macOS Intel machines.
  • Suppress the warning for developers, integration tests, and CI/GitHub Actions environments.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +162 to +176
def check_for_future_unsupported_macos
return if Homebrew::EnvConfig.developer?
return if ENV["HOMEBREW_INTEGRATION_TEST"]
return if ::Hardware::CPU.physical_cpu_arm64?
return unless ::Hardware::CPU.intel?

# Avoid breaking CI workflows while macOS Intel is still Tier 1
return if ENV["CI"] || GitHub::Actions.env_set?

::Homebrew::Diagnostic::Finding.new(
<<~EOS,
You are using macOS Intel which will be Tier 3 in or after September 2026.
See planned timeline at #{Formatter.url("https://docs.brew.sh/Support-Tiers#future-macos-support")}
EOS
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a valid concern.

Comment thread Library/Homebrew/extend/os/mac/diagnostic.rb

@MikeMcQuaid MikeMcQuaid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate the PR but it feels a bit strange to throw errors to users about something that is going to happen later? What's the advantage of doing this now rather than then?

Comment on lines +162 to +176
def check_for_future_unsupported_macos
return if Homebrew::EnvConfig.developer?
return if ENV["HOMEBREW_INTEGRATION_TEST"]
return if ::Hardware::CPU.physical_cpu_arm64?
return unless ::Hardware::CPU.intel?

# Avoid breaking CI workflows while macOS Intel is still Tier 1
return if ENV["CI"] || GitHub::Actions.env_set?

::Homebrew::Diagnostic::Finding.new(
<<~EOS,
You are using macOS Intel which will be Tier 3 in or after September 2026.
See planned timeline at #{Formatter.url("https://docs.brew.sh/Support-Tiers#future-macos-support")}
EOS
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a valid concern.

@cho-m

cho-m commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

I appreciate the PR but it feels a bit strange to throw errors to users about something that is going to happen later? What's the advantage of doing this now rather than then?

Similar to why Apple has the notification popups telling users that some apps aren't going to work in future macOS.

Not essential but personally consider it a better user experience to provide visibility and notify user base in advance via as many avenues as possible.

@MikeMcQuaid

Copy link
Copy Markdown
Member

@cho-m Sure, I guess what I mean is: what's the action-item for users here? Buy a new computer?

@cho-m

cho-m commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

@cho-m Sure, I guess what I mean is: what's the action-item for users here? Buy a new computer?

Should be the same as our other support information. Either live with degraded experience while in lower Tier or move to MacPorts/etc.


Though ultimately thinking over user base that hasn't read the documentation, I'm guessing this mostly overlaps with users who won't run brew doctor so closing until we have a better approach to notifying users of larger scale changes.

@cho-m cho-m closed this Aug 3, 2026
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.

3 participants