{
  "slug": "azd-azure-functions-flex-consumption-apps-support-remotebuild-ffb4f3f11107",
  "title": "azd Azure Functions flex consumption apps support remoteBuild",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-13T20:40:55.000Z",
  "announced_at": "2026-02-13T20:40:55.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For an Azure Functions Flex Consumption app, set `remoteBuild: true` on its service in `azure.yaml` to build the deployment package remotely with Oryx.",
    "examples": [
      "services:\n  <service-name>:\n    project: <project-path>\n    language: <language>\n    host: function\n    remoteBuild: true"
    ],
    "gotchas": [
      "Version: 1.23.5",
      "services.<service-name>.remoteBuild: Boolean; `true` builds the function deployment package remotely using Oryx; `false` deploys the package as-is. If omitted, defaults to true for JavaScript, TypeScript, and Python function apps.",
      "services.<service-name>.host (required): Set to `function`; `remoteBuild` is only valid for function services.",
      "services.<service-name>.project (required): Path to the service source directory; function services using source projects require this instead of `image`.",
      "Prerequisite: Use azd 1.23.5 or later for the option introduced in that release.",
      "Applies to Azure Functions flex consumption apps.",
      "Docs conflict: The current schema reference describes `remoteBuild` as a general remote image build option. The release note and function-specific schema describe it for function app package builds; this answer follows the release note’s function-app context."
    ]
  },
  "why_it_matters": "Configure an Azure Functions flex consumption app to use remote builds.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.5",
    "https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/azd-schema",
    "https://github.com/Azure/azure-dev/blob/main/schemas/v1.0/azure.yaml.json"
  ],
  "rank": 0.94029,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-9bab654b8b19ca33-1:rescue",
    "evidence_hash": "80ec7ec5034273bed93609d2fe617e4a44bc212be31cfead6fb2e78282e77f21"
  },
  "review": {
    "draft_hash": "43a371282f39fcdefcf346d4b5aca4710059009caaf5a324c9ab2a520629e3bc",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
