@shopify/cli-kit
    Preparing search index...

    Function hasBlockingAutoUpgradeNotification

    • Checks the freshly fetched notifications feed for a kill-switch notification that disables auto-upgrade. A blocking notification is one with surface: "autoupgrade", type: "error", and matching version/date ranges for the current CLI.

      Fails open: any error fetching or parsing the feed results in false, so a broken notifications endpoint never prevents users from auto-upgrading. Intentionally silent (no logs) — this is invoked on the auto-upgrade hot path.

      Returns Promise<boolean>

      true when an active blocking notification is found, false otherwise.