Skip to content

Warn macOS 12 users about upcoming support changes - #36182

Merged
nwparker merged 7 commits into
mainfrom
nwparker/macos12-support-notice
Oct 30, 2026
Merged

nwparker merged 7 commits into
mainfrom
nwparker/macos12-support-notice

Conversation

@nwparker

@nwparker nwparker commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 7 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​151 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​151
Prod 17 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​452 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​452

ELI5

macOS 12 users get a short, one-time heads-up that a future version of Orca will require macOS 13 or later. Orca checks their Mac and recommends the appropriate next step.

What Changed

  • Reuse the persisted feature-tip flow, prioritizing this notice for local macOS 12 desktop clients.
  • Check Apple Silicon (including Rosetta) and Intel model compatibility automatically. Supported Macs get Apple's update guide; recognized older Intel Macs get the Omarchy guide and a brief backup reminder. Unknown models and older clients get Apple's compatibility guide.
  • Keep the initial dialog concise. A collapsed “Why is this changing?” section explains Electron/Chromium security fixes, startup and native API performance, and ongoing notification/Keychain integration.
  • Isolate the temporary implementation in macos-12-support-notice folders, with removal instructions in src/main/macos-12-support-notice/README.md.
  • Cache/coalesce the local Intel probe, bound it to one second, and open guides through Orca's link preference after dismissing the notice.

Why

Give affected users advance notice and a practical migration path before the minimum macOS version changes. Electron remains pinned to 43.8.1 in this PR.

Linked Issue

Requested directly by a maintainer; no linked issue.

Visual Proof

Current component fixtures in light/dark themes. Hardware results are simulated; physical Monterey hardware was not available. The copy states Apple's official compatibility boundary and keeps the Omarchy recommendation concise.

Before: vague upgrade-limit wording After: Apple's specific compatibility boundary
Previous older-Mac wording Updated older-Mac wording
Upgrade-capable Mac Optional explanation
Upgrade recommendation Updated expanded explanation
Narrow window · 390×844 · collapsed and expanded

Narrow updated notice

Narrow updated explanation

Prior full-app check · isolated background Electron instance

Compact notice in Orca

Captured at cccb4e61491 at 1280×900. The physical host runs macOS 26.3.1; a Playwright response override forces the Monterey audience in the renderer. The real main-process IPC returns null here, exercising the unknown-hardware fallback. The latest follow-up changes only two matching copy strings and is shown in the fixtures above. No production test hooks were added.

Testing

  • Latest copy refinement: ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --maxWorkers=2 --base=cccb4e61491 passed all 23 selected checks, including format, lint, typecheck, localization, ratchets, and affected unit tests.
  • Regenerated all 12 component fixtures in light/dark themes. Checked the exact new copy, initially collapsed disclosure, keyboard expansion, 390×844 expanded layout, correct Omarchy guide URL, and guide dismissal.
  • Full feature validation on cccb4e61491: affected unit suite passed; the moved-file runner scan passed after staging. Connected fixtures covered supported, unsupported, missing-API and probe-failure states, pending actions, Escape, and a scrollable 390×600 window.
  • Background Electron smoke check on cccb4e61491: correct worktree identity, real IPC response, suppression on newer macOS, compact/expanded rendering with the simulated audience, and Escape dismissal.

Physical Monterey hardware, Linux, and Windows were not available for manual validation. Screenshots were inspected directly; Gemini was not authenticated.

Review

Full PR self-reviewed and independently adversarially reviewed at b710d83712a, including all five current screenshot variants; no blocking findings. Checked platform gating, Ventura compatibility, IPC authority, bounded probe/cache behavior, async cleanup, persistence, older clients, and remote/web behavior. The review noted an optional follow-up for initial focus while the asynchronous probe resolves; this copy-only correction preserves the existing stable focus behavior. Native probing is guarded outside macOS 12; browser/mobile clients are excluded. The optional API preserves older-client compatibility. Detection uses the local desktop even when work runs remotely. The notification copy describes ongoing API support; it does not claim the UNNotification migration first arrived in Electron 45.

Agent skill upstream boundary

  • Not applicable: no upstream skill-installer source or artifacts copied.

Checklist

  • Focused change with user-facing behavior explained.
  • Before/after screenshots and recommendation variants attached.
  • Self-reviewed for correctness, security, and performance.
  • Cross-platform, remote, mobile, and backwards compatibility considered.
  • Local validation completed as described above. All CI checks passed on b710d83712a, including the aggregate PR checks passed gate. The Windows job passed on retry after an Electron executable file-lock error on the runner; successful jobs were preserved.

@nwparker
nwparker marked this pull request as ready for review October 30, 2026 01:28
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Walkthrough

The change adds a macOS 12 support notice to feature tips. The notice is eligible for native macOS 12 clients and is excluded for web clients. A desktop IPC API checks macOS 13 compatibility, using an Intel model probe when needed; the web API returns null. The notice displays checking, supported, unsupported, or unknown states and provides corresponding guidance links. Tests cover support classification, eligibility, feature-tip scheduling, and dialog fixtures.

Priority: Normal

Merge Risk: Minimal · up to b710d

The notice directs Macs with confirmed upgrade support to update guidance and uses compatibility guidance when support cannot be confirmed. No actionable issue remains before merge.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 16.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: warning macOS 12 users about upcoming support changes.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The pull request description is complete and matches the required structure. It explains the user impact, implementation, rationale, visual changes, testing, review, platform limitations, and checklis…
Full details: Description check

Explanation

The pull request description is complete and matches the required structure. It explains the user impact, implementation, rationale, visual changes, testing, review, platform limitations, and checklist status. It records that no issue was linked because the change was requested directly by a maintainer, which matches the template’s maintainer exception.

Full details: Docstring Coverage

Explanation

Docstring coverage is 16.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 12 functions across 22 files. (1 skipped: 1 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit 3bae99a into main Oct 30, 2026
83 of 85 checks passed
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.

1 participant