Skip to content

[codex] Fix tool contract shapes #2026

[codex] Fix tool contract shapes

[codex] Fix tool contract shapes #2026

Triggered via pull request May 21, 2026 10:12
Status Failure
Total duration 2m 21s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 5 warnings
Test
Process completed with exit code 1.
src/sdk/real-specs.test.ts > Real specs: Vercel API > preserves registered tool schema and TypeScript output for deployment creation: packages/plugins/openapi/src/sdk/real-specs.test.ts#L282
Error: Snapshot `Real specs: Vercel API > preserves registered tool schema and TypeScript output for deployment creation 1` mismatched - Expected + Received @@ -617,3246 +617,3266 @@ ], "type": "object", }, "inputTypeScript": "{ forceNew?: "0" | "1"; skipAutoDetectionConfirmation?: "0" | "1"; teamId?: string; slug?: string; body: { customEnvironmentSlugOrId?: string; deploymentId?: string; files?: (InlinedFile | UploadedFile)[]; gitMetadata?: { remoteUrl?: string; commitAuthorName?: string; commitAuthorEmail?: string; commitMessage?: string; commitRef?: string; commitSha?: string; dirty?: boolean; ci?: boolean; ciType?: string; ciGitProviderUsername?: string; ciGitRepoVisibility?: string; }; gitSource?: { type: "vercel"; sha: string; } | { ref: string; repoId: number | string; sha?: string; type: "github"; } | { org: string; ref: string; repo: string; sha?: string; type: "github"; } | { ref: string; repoId: number | string; sha?: string; type: "github-limited"; } | { org: string; ref: string; repo: string; sha?: string; type: "github-limited"; } | { projectId: number | string; ref: string; sha?: string; type: "gitlab"; } | { ref: string; repoUuid: string; sha?: string; type: "bitbucket"; workspaceUuid?: string; } | { owner: string; ref: string; sha?: string; slug: string; type: "bitbucket"; }; meta?: { [k: string]: string; }; monorepoManager?: string | null; name: string; project?: string; projectSettings?: { buildCommand?: string | null; commandForIgnoringBuildStep?: string | null; devCommand?: string | null; framework?: null | "blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "django" | "ash" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "koa" | "nestjs" | "elysia" | "fastify" | "xmcp" | "python" | "ruby" | "rust" | "axum" | "actix-web" | "node" | "go" | "services" | "mastra"; installCommand?: string | null; nodeVersion?: "24.x" | "22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x"; outputDirectory?: string | null; rootDirectory?: string | null; serverlessFunctionRegion?: string | null; skipGitConnectDuringLink?: boolean; sourceFilesOutsideRootDirectory?: boolean; }; target?: string; withLatestCommit?: boolean; }; }", "outputSchema": { - "description": "The successfully created deployment", + "additionalProperties": false, "properties": { - "alias": { - "description": "A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation", - "example": [], - "items": { - "type": "string", - }, - "type": "array", - }, - "aliasAssigned": { - "description": "A boolean that will be true when the aliases from the alias property were assigned successfully", - "enum": [ - false, - true, - ], - "example": true, - "type": "boolean", - }, - "aliasAssignedAt": { - "nullable": true, - "oneOf": [ - { - "type": "number", + "data": { + "description": "The successfully created deployment", + "properties": { + "alias": { + "description": "A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation", + "example": [], + "items": { + "type": "string", + }, + "type": "array", }, - { + "aliasAssigned"
src/sdk/real-specs.test.ts > Real specs: Cloudflare API > preserves registered tool schema and TypeScript output for Access app creation: packages/plugins/openapi/src/sdk/real-specs.test.ts#L258
Error: Snapshot `Real specs: Cloudflare API > preserves registered tool schema and TypeScript output for Access app creation 1` mismatched - Expected + Received @@ -15,24 +15,44 @@ ], "type": "object", }, "inputTypeScript": "{ account_id: AccessIdentifier; body: AccessAppRequest; }", "outputSchema": { - "allOf": [ - { - "$ref": "#/$defs/access_apps_components-schemas-single_response", - }, - { - "properties": { - "result": { - "$ref": "#/$defs/access_app_response", + "additionalProperties": false, + "properties": { + "data": { + "allOf": [ + { + "$ref": "#/$defs/access_apps_components-schemas-single_response", + }, + { + "properties": { + "result": { + "$ref": "#/$defs/access_app_response", + }, + }, }, + ], + }, + "headers": { + "additionalProperties": { + "type": "string", }, + "type": "object", + }, + "status": { + "type": "integer", }, + }, + "required": [ + "status", + "headers", + "data", ], + "type": "object", }, - "outputTypeScript": "(AccessAppsComponentsSchemasSingleResponse & { result?: AccessAppResponse; })", + "outputTypeScript": "{ status: number; headers: { [k: string]: string; }; data: (AccessAppsComponentsSchemasSingleResponse & { result?: AccessAppResponse; }); }", "schemaDefinitionCount": 157, "schemaDefinitionNames": [ "access_access_group_rule", "access_allow_all_headers", "access_allow_all_methods", ❯ Array.<anonymous> src/sdk/real-specs.test.ts:258:44 ❯ next ../../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:1276:25 ❯ Object.~effect/Effect/evaluate ../../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/core.ts:531:30 ❯ FiberImpl.runLoop ../../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:633:39 ❯ runLoop ../../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:593:22
Test
@executor-js/plugin-openapi#test: command (/home/runner/work/executor/executor/packages/plugins/openapi) /home/runner/.bun/bin/bun run test exited (1)
Typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Format
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Desktop smoke build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/