ci: extract reusable macOS workflow

Merged
TE
2mo ago
+3454-3305

Summary

Stacked on #13382.

Move the RFC-owned macOS CI jobs from .github/workflows/ci.yml into reusable .github/workflows/ci-macos.yml while preserving their job bodies, dependencies, artifact handoffs, runner selection, and routing semantics.

This slice is intended as a topology move only. It does not change persistent-Mac routing, R2 artifact transport, app-host failure handling, the CI area policy, or the existing rollups.

Migration sequence

#13378 guard extraction → #13382 web extraction → this macOS extraction → declarative area table → rollup cleanup / single ci-status → final routing/result/merge-group regression matrix.

Refs #13095.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Extracts the macOS CI jobs from .github/workflows/ci.yml into a reusable .github/workflows/ci-macos.yml, keeping job bodies, dependencies, artifact handoffs, runner selection, and routing intact. This is a topology-only move with no change to persistent-Mac routing, R2 artifact transport, app-host failure handling, or CI area policy.

  • ci.yml calls the reusable workflow and aggregates macOS outcomes into a macos-status job; the tests gate waits on this aggregate instead of individual macOS jobs, and macOS jobs gate on inputs rather than needs.changes outputs.
  • Change-area detection, package selection, artifact-transport and cache-receipts contracts, and product-input identity now treat ci-macos.yml as the workflow input so edits trigger the full macOS, release, and product-reuse paths.
  • macos-status rejects invalid route values and requires every full-suite lane; compile-only runs may reuse an earlier admission verdict.
  • Tests that read macOS job bodies, package selection, product publication, sharding, cache receipts, and read-only caches now target the new workflow; the self-hosted-runner guard splits ownership between the caller and macOS workflow, and the persistent-Mac router tests split ownership with admission reading inputs.persistent_* instead of needs.persistent-mac-compile-route.

Summary by CodeRabbit

  • Chores

    • Updated continuous integration coverage to recognize changes to the macOS workflow.
    • Ensured relevant macOS and release validation runs when platform workflow configuration changes.
    • Expanded package-test selection so workflow updates receive comprehensive validation.
    • Aligned cache, artifact, release, runner, and notification checks with the dedicated macOS workflow.
  • Tests

    • Updated CI contract and regression tests to validate macOS workflow behavior, routing, caching, builds, and safeguards.