{
  "slug": "azd-deploy-adds-preview-support-for-built-in-service-hosts-318aff77537b",
  "title": "azd deploy adds preview support for built-in service hosts",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-30T23:46:10.000Z",
  "announced_at": "2026-09-30T23:46:10.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a project uses a built-in service host, run `azd deploy --preview` to ask each selected service target to describe deployment changes. Read the human-readable `Message` in text output or `services.<name>.data` with JSON output.",
    "examples": [
      "azd deploy --preview",
      "azd deploy --preview --output json"
    ],
    "gotchas": [
      "Version: 1.35.0",
      "--preview: Preview service deployment changes; cannot be combined with `--from-package` or `--timeout`.",
      "--output json: Select JSON output; preview `Data` is returned under `services.<name>.data`.",
      "<service>: Select a specific service; without one, the command selects all services listed in `azure.yaml`.",
      "Supported built-in hosts listed in the release span are App Service, Container Apps, Functions, Static Web Apps, AKS, and AI endpoints.",
      "Nothing is packaged, published, or deployed; service targets are not initialized and deploy hooks do not run.",
      "Services whose host does not support preview are reported and skipped.",
      "The flag cannot be combined with `--from-package` or `--timeout`."
    ]
  },
  "why_it_matters": "Preview the deployment changes for a project using a built-in azd service host.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.35.0",
    "https://github.com/Azure/azure-dev/blob/azure-dev-cli_1.35.0/cli/azd/docs/extensions/extension-framework.md",
    "https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/reference"
  ],
  "rank": 0.97059,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-eb9813146becd54f-1:gate",
    "evidence_hash": "c224b7750bb2458ed3c79545a7e3a1dea90a5fdeb45281d7ce87d955769aa3bf"
  },
  "review": {
    "draft_hash": "6ab2f19b5b9ea35f8f2d4b7f008fc6087e82bc8623350e79b48bd3caf00a51f7",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
