From c1cafedc6fbdc3bf61287d761164835a4edf56c5 Mon Sep 17 00:00:00 2001 From: Le Yang Date: Tue, 30 Jun 2026 16:04:02 -0700 Subject: [PATCH 1/4] Update the feature APIs descriptions --- .../Microsoft.ComputeLimit/ComputeLimit/Feature.tsp | 6 +++--- .../ComputeLimit/stable/2026-03-20/ComputeLimit.json | 2 +- .../ComputeLimit/stable/2026-04-30/ComputeLimit.json | 4 ++-- .../ComputeLimit/stable/2026-06-01/ComputeLimit.json | 4 ++-- .../ComputeLimit/stable/2026-07-01/ComputeLimit.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/Feature.tsp b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/Feature.tsp index f29bed34e84f..a01967e17bbc 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/Feature.tsp +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/Feature.tsp @@ -61,7 +61,7 @@ interface Features { /** Lists all compute limit features for the subscription at the specified location. */ list is ArmResourceListAtScope; - /** Enables a compute limit feature for the subscription at the specified location. */ + /** Enables a compute limit feature for the subscription at the specified location. Requires the Contributor role. */ @action("enable") @removed(Versions.v2026_06_01) @renamedFrom(Versions.v2026_06_01, "enable") @@ -72,7 +72,7 @@ interface Features { Azure.ResourceManager.Foundations.OperationStatusResult >; - /** Enables a compute limit feature for the subscription at the specified location. */ + /** Enables a compute limit feature for the subscription at the specified location. Requires the Contributor role.*/ @action("enable") @added(Versions.v2026_06_01) @sharedRoute @@ -92,7 +92,7 @@ interface Features { true >; - /** Disables a compute limit feature for the subscription at the specified location. */ + /** Disables a compute limit feature for the subscription at the specified location. Requires the Contributor role.*/ @added(Versions.v2026_04_30) @action("disable") disable is ArmResourceActionAsync< diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-03-20/ComputeLimit.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-03-20/ComputeLimit.json index 9219faa1cd47..92cdb548abe0 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-03-20/ComputeLimit.json +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-03-20/ComputeLimit.json @@ -187,7 +187,7 @@ "tags": [ "Features" ], - "description": "Enables a compute limit feature for the subscription at the specified location.", + "description": "Enables a compute limit feature for the subscription at the specified location. Requires the Contributor role.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-04-30/ComputeLimit.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-04-30/ComputeLimit.json index 8769eab1d8fa..c0c582d8842c 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-04-30/ComputeLimit.json +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-04-30/ComputeLimit.json @@ -190,7 +190,7 @@ "tags": [ "Features" ], - "description": "Disables a compute limit feature for the subscription at the specified location.", + "description": "Disables a compute limit feature for the subscription at the specified location. Requires the Contributor role.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -255,7 +255,7 @@ "tags": [ "Features" ], - "description": "Enables a compute limit feature for the subscription at the specified location.", + "description": "Enables a compute limit feature for the subscription at the specified location. Requires the Contributor role.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-06-01/ComputeLimit.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-06-01/ComputeLimit.json index 61256b44cd64..b064865efeb0 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-06-01/ComputeLimit.json +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-06-01/ComputeLimit.json @@ -190,7 +190,7 @@ "tags": [ "Features" ], - "description": "Disables a compute limit feature for the subscription at the specified location.", + "description": "Disables a compute limit feature for the subscription at the specified location. Requires the Contributor role.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -255,7 +255,7 @@ "tags": [ "Features" ], - "description": "Enables a compute limit feature for the subscription at the specified location.", + "description": "Enables a compute limit feature for the subscription at the specified location. Requires the Contributor role.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-07-01/ComputeLimit.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-07-01/ComputeLimit.json index 572855d442e9..5a58ac1a9d44 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-07-01/ComputeLimit.json +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2026-07-01/ComputeLimit.json @@ -196,7 +196,7 @@ "tags": [ "Features" ], - "description": "Disables a compute limit feature for the subscription at the specified location.", + "description": "Disables a compute limit feature for the subscription at the specified location. Requires the Contributor role.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -261,7 +261,7 @@ "tags": [ "Features" ], - "description": "Enables a compute limit feature for the subscription at the specified location.", + "description": "Enables a compute limit feature for the subscription at the specified location. Requires the Contributor role.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" From 0d254e16440eac03b96bbcd7b77f38a9740e21fd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:43:07 +0000 Subject: [PATCH 2/4] fix: add missing space before closing */ in Feature.tsp doc comments Co-authored-by: yanle66 <227239690+yanle66@users.noreply.github.com> --- .../Microsoft.ComputeLimit/ComputeLimit/Feature.tsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/Feature.tsp b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/Feature.tsp index a01967e17bbc..612ff08b37e3 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/Feature.tsp +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/Feature.tsp @@ -72,7 +72,7 @@ interface Features { Azure.ResourceManager.Foundations.OperationStatusResult >; - /** Enables a compute limit feature for the subscription at the specified location. Requires the Contributor role.*/ + /** Enables a compute limit feature for the subscription at the specified location. Requires the Contributor role. */ @action("enable") @added(Versions.v2026_06_01) @sharedRoute @@ -92,7 +92,7 @@ interface Features { true >; - /** Disables a compute limit feature for the subscription at the specified location. Requires the Contributor role.*/ + /** Disables a compute limit feature for the subscription at the specified location. Requires the Contributor role. */ @added(Versions.v2026_04_30) @action("disable") disable is ArmResourceActionAsync< From 3b523719a283e1bd26f5708c27abc04ca8b9fbbe Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Jul 2026 19:18:12 +0000 Subject: [PATCH 3/4] Fix SDK Validation Status handling for reopened PR events Co-authored-by: yanle66 <227239690+yanle66@users.noreply.github.com> --- .github/workflows/src/spec-gen-sdk-status.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/src/spec-gen-sdk-status.js b/.github/workflows/src/spec-gen-sdk-status.js index 36f8984661b1..c5ed9cde3628 100644 --- a/.github/workflows/src/spec-gen-sdk-status.js +++ b/.github/workflows/src/spec-gen-sdk-status.js @@ -10,12 +10,9 @@ import { extractInputs } from "./context.js"; export default async function setSpecGenSdkStatus({ github, context, core }) { const inputs = await extractInputs(github, context, core); const head_sha = inputs.head_sha; - const details_url = inputs.details_url; const issue_number = inputs.issue_number; - if (!details_url || !head_sha) { - throw new Error( - `Required inputs are not valid: details_url:${details_url}, head_sha:${head_sha}`, - ); + if (!head_sha) { + throw new Error(`Required input is not valid: head_sha:${head_sha}`); } const owner = inputs.owner; const repo = inputs.repo; From b8635ad931ac77c6bbebd210d599e68451a43c33 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Jul 2026 20:21:34 +0000 Subject: [PATCH 4/4] Revert protected file change to fix Protected Files CI Reverts the modification to .github/workflows/src/spec-gen-sdk-status.js which is a protected file under .github/* and should only be updated by the Azure SDK team. Co-authored-by: yanle66 <227239690+yanle66@users.noreply.github.com> --- .github/workflows/src/spec-gen-sdk-status.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/src/spec-gen-sdk-status.js b/.github/workflows/src/spec-gen-sdk-status.js index c5ed9cde3628..36f8984661b1 100644 --- a/.github/workflows/src/spec-gen-sdk-status.js +++ b/.github/workflows/src/spec-gen-sdk-status.js @@ -10,9 +10,12 @@ import { extractInputs } from "./context.js"; export default async function setSpecGenSdkStatus({ github, context, core }) { const inputs = await extractInputs(github, context, core); const head_sha = inputs.head_sha; + const details_url = inputs.details_url; const issue_number = inputs.issue_number; - if (!head_sha) { - throw new Error(`Required input is not valid: head_sha:${head_sha}`); + if (!details_url || !head_sha) { + throw new Error( + `Required inputs are not valid: details_url:${details_url}, head_sha:${head_sha}`, + ); } const owner = inputs.owner; const repo = inputs.repo;