From b50ba4eea3b1d3432f710380f9490a4ab12388a6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 15:27:39 +0000 Subject: [PATCH] chore: update OpenAPI to 1bba4ee186a2 --- .changeset/update-openapi-1bba4ee186a2.md | 6 ++++++ packages/cli/generate.ts | 2 +- packages/cli/src/commands/_generated/_meta/commands.json | 2 +- .../_generated/_operations/secrets-store/stores/list.ts | 3 +++ .../src/commands/_generated/secrets-store/stores/list.ts | 2 +- 5 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .changeset/update-openapi-1bba4ee186a2.md diff --git a/.changeset/update-openapi-1bba4ee186a2.md b/.changeset/update-openapi-1bba4ee186a2.md new file mode 100644 index 0000000000..3818bdc35f --- /dev/null +++ b/.changeset/update-openapi-1bba4ee186a2.md @@ -0,0 +1,6 @@ +--- +"cf": minor +--- + +Update the generated command surface for Forge OpenAPI release +`1bba4ee186a20eceada455707ca28902a644c770`. diff --git a/packages/cli/generate.ts b/packages/cli/generate.ts index e617c65d05..0bd937fd4c 100644 --- a/packages/cli/generate.ts +++ b/packages/cli/generate.ts @@ -14,7 +14,7 @@ import type { ForgeOpenApiDocument } from "./generator/openapi.js"; const bundle = process.env.FORGE_OPENAPI_BUNDLE; // Bump this SHA to generate the commands from a new release. -const FORGE_OPENAPI_VERSION = "5cd842b29c1b114b8e0b2550e281b049168c70e0"; +const FORGE_OPENAPI_VERSION = "1bba4ee186a20eceada455707ca28902a644c770"; const FORGE_OPENAPI_RELEASE = `openapi@${FORGE_OPENAPI_VERSION}`; const FORGE_OPENAPI_ASSET = "openapi.forge.json"; const FORGE_OPENAPI_ASSET_URL = `https://github.com/cloudflare/forge/releases/download/${FORGE_OPENAPI_RELEASE}/${FORGE_OPENAPI_ASSET}`; diff --git a/packages/cli/src/commands/_generated/_meta/commands.json b/packages/cli/src/commands/_generated/_meta/commands.json index c04814d766..f31de18ebf 100644 --- a/packages/cli/src/commands/_generated/_meta/commands.json +++ b/packages/cli/src/commands/_generated/_meta/commands.json @@ -117869,7 +117869,7 @@ "command": "cf secrets-store stores list", "name": "list", "fullPath": ["secrets-store", "stores", "list"], - "description": "Lists all the stores in an account.", + "description": "Lists account stores from an eventually consistent projection. Returns retryable HTTP 503 until initial backfill completes; empty accounts are ready immediately.", "summary": "List account stores", "usage": "cf secrets-store stores list [options]", "arguments": [], diff --git a/packages/cli/src/commands/_generated/_operations/secrets-store/stores/list.ts b/packages/cli/src/commands/_generated/_operations/secrets-store/stores/list.ts index 2a851e8b68..291fc01c51 100644 --- a/packages/cli/src/commands/_generated/_operations/secrets-store/stores/list.ts +++ b/packages/cli/src/commands/_generated/_operations/secrets-store/stores/list.ts @@ -6,4 +6,7 @@ export default { path: (request: Record) => path`/accounts/${request.account_id}/secrets_store/stores`, query: ["direction", "page", "per_page", "order"], + errors: { + 503: "ServiceUnavailableError", + }, } as const; diff --git a/packages/cli/src/commands/_generated/secrets-store/stores/list.ts b/packages/cli/src/commands/_generated/secrets-store/stores/list.ts index db211fdd19..2ddfe36184 100644 --- a/packages/cli/src/commands/_generated/secrets-store/stores/list.ts +++ b/packages/cli/src/commands/_generated/secrets-store/stores/list.ts @@ -20,7 +20,7 @@ import { runWithTelemetry } from "#lib/telemetry/index.js"; function builder(yargs: Argv) { return yargs .usage( - "$0 secrets-store stores list\n\nLists all the stores in an account." + "$0 secrets-store stores list\n\nLists account stores from an eventually consistent projection. Returns retryable HTTP 503 until initial backfill completes; empty accounts are ready immediately." ) .option("direction", { type: "string",