{
  "schemaVersion": "ebb.rule.v1",
  "id": "ci-images.azure-pipelines.macos-14",
  "ecosystem": "ci-images",
  "purl": "pkg:generic/azure-pipelines/macos-image",
  "affectedVersions": "vers:intdot/14",
  "event": "scheduled-end-of-life",
  "severity": "low",
  "title": "Azure Pipelines macOS 14 Sonoma hosted image is scheduled for removal on 2026-11-23",
  "summary": "The macOS 14 Sonoma hosted image deprecation started on 2026-07-06 and its scheduled removal moved to 2026-11-23 (from 2026-11-02), per Microsoft's hosted image deprecation schedule. Brownouts run through 2026-11-20.",
  "replacement": "macos-latest or macos-15",
  "deadline": "2026-11-23",
  "sources": [
    {
      "title": "Microsoft-hosted image deprecation schedule",
      "url": "https://learn.microsoft.com/azure/devops/pipelines/agents/hosted-deprecation-schedule",
      "accessedAt": "2026-11-07"
    }
  ],
  "provenance": {
    "observedAt": "2026-11-07",
    "reviewedAt": "2026-11-07",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Change only Microsoft-hosted pool.vmImage labels. The macOS 14 schedule does not apply to self-hosted macOS 14 agents.",
      "Move off macos-14 before the scheduled removal on 2026-11-23. The notice names macos-latest or macos-15."
    ],
    "steps": [
      {
        "id": "retarget-vm-image",
        "title": "Retarget the hosted image",
        "instructions": "Change the reported pool.vmImage from macos-14 to macos-latest or macos-15 (see the replacement).",
        "targets": "declaration"
      },
      {
        "id": "align-vm-image-surfaces",
        "title": "Align other Azure Pipelines pools",
        "instructions": "Update every other azure-pipelines.yml pool, including stage and job pools, that still pins macos-14. Leave self-hosted pool names unchanged.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "gitlab-ci-lint || circleci config validate",
        "purpose": "Lint .gitlab-ci.yml with gitlab-ci-lint, or .circleci/config.yml with circleci config validate, when the repository has that file. Azure Pipelines has no equivalent local validator: queue the pipeline and confirm the job uses the replacement vmImage."
      }
    ]
  }
}
