Skip to content

CODEGEN905 - Add GraphQL 17 support #19128

CODEGEN905 - Add GraphQL 17 support

CODEGEN905 - Add GraphQL 17 support #19128

Triggered via pull request June 25, 2026 13:27
Status Failure
Total duration 2m 29s
Artifacts

main.yml

on: pull_request
Linting Check  /  eslint
55s
Linting Check / eslint
🧹 Prettier Check
53s
🧹 Prettier Check
Testing exports integrity
56s
Testing exports integrity
Examples - Normal
1m 20s
Examples - Normal
Matrix: Validating dev-tests
Matrix: test-watcher
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

56 errors and 1 warning
Examples - Normal
Process completed with exit code 1.
Watcher Unit Test on Node (windows-latest) and GraphQL v16
Process completed with exit code 1.
[cli] tests/watcher.run.spec.ts > Watch runs > calls onNext correctly on initial runs and subsequent runs: packages/graphql-codegen-cli/tests/watcher.run.spec.ts#L102
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times ❯ tests/watcher.run.spec.ts:102:24
Watcher Unit Test on Node 20 (ubuntu-latest) and GraphQL v15
The strategy configuration was canceled because "test-watcher.windows-latest_16_20" failed
Watcher Unit Test on Node 20 (ubuntu-latest) and GraphQL v15
The operation was canceled.
Watcher Unit Test on Node 20 (ubuntu-latest) and GraphQL v16
The strategy configuration was canceled because "test-watcher.windows-latest_16_20" failed
Watcher Unit Test on Node 20 (ubuntu-latest) and GraphQL v16
The operation was canceled.
[client-preset] tests/client-preset.spec.ts > client-preset > follows 'useTypeImports': true: packages/presets/client/tests/client-preset.spec.ts#L300
AssertionError: expected +0 to be 4 // Object.is equality - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:300:27
[client-preset] tests/client-preset.spec.ts > client-preset > generates \n regardless of whether the source contains LF or CRLF: packages/presets/client/tests/client-preset.spec.ts#L216
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.spec.ts:216:20
[client-preset] tests/client-preset.spec.ts > client-preset > can generate simple examples lowercase names: packages/presets/client/tests/client-preset.spec.ts#L123
AssertionError: expected [] to have a length of 4 but got +0 - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:123:20
[client-preset] tests/client-preset.spec.ts > client-preset > can generate simple examples uppercase names: packages/presets/client/tests/client-preset.spec.ts#L30
AssertionError: expected [] to have a length of 4 but got +0 - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:30:20
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > supports config.enumType=const: packages/presets/client/tests/client-preset.enum.spec.ts#L194
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:194:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > generates enum if used in operation Result: packages/presets/client/tests/client-preset.enum.spec.ts#L135
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:135:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > generates enum if used in operation Variables: packages/presets/client/tests/client-preset.enum.spec.ts#L71
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:71:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > does not generate enum if not used in operations: packages/presets/client/tests/client-preset.enum.spec.ts#L24
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:24:24
Unit Test on Node 24 (ubuntu-latest) and GraphQL v15
The strategy configuration was canceled because "test.ubuntu-latest_24_16" failed
[client-preset] tests/client-preset.spec.ts > client-preset > follows 'useTypeImports': true: packages/presets/client/tests/client-preset.spec.ts#L300
AssertionError: expected +0 to be 4 // Object.is equality - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:300:27
[client-preset] tests/client-preset.spec.ts > client-preset > generates \n regardless of whether the source contains LF or CRLF: packages/presets/client/tests/client-preset.spec.ts#L216
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.spec.ts:216:20
[client-preset] tests/client-preset.spec.ts > client-preset > can generate simple examples lowercase names: packages/presets/client/tests/client-preset.spec.ts#L123
AssertionError: expected [] to have a length of 4 but got +0 - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:123:20
[client-preset] tests/client-preset.spec.ts > client-preset > can generate simple examples uppercase names: packages/presets/client/tests/client-preset.spec.ts#L30
AssertionError: expected [] to have a length of 4 but got +0 - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:30:20
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > supports config.enumType=const: packages/presets/client/tests/client-preset.enum.spec.ts#L194
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:194:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > generates enum if used in operation Result: packages/presets/client/tests/client-preset.enum.spec.ts#L135
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:135:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > generates enum if used in operation Variables: packages/presets/client/tests/client-preset.enum.spec.ts#L71
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:71:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > does not generate enum if not used in operations: packages/presets/client/tests/client-preset.enum.spec.ts#L24
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:24:24
Unit Test on Node (windows-latest) and GraphQL v16
The strategy configuration was canceled because "test.ubuntu-latest_24_16" failed
[client-preset] tests/client-preset.spec.ts > client-preset > follows 'useTypeImports': true: packages/presets/client/tests/client-preset.spec.ts#L300
AssertionError: expected +0 to be 4 // Object.is equality - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:300:27
[client-preset] tests/client-preset.spec.ts > client-preset > generates \n regardless of whether the source contains LF or CRLF: packages/presets/client/tests/client-preset.spec.ts#L216
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.spec.ts:216:20
[client-preset] tests/client-preset.spec.ts > client-preset > can generate simple examples lowercase names: packages/presets/client/tests/client-preset.spec.ts#L123
AssertionError: expected [] to have a length of 4 but got +0 - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:123:20
[client-preset] tests/client-preset.spec.ts > client-preset > can generate simple examples uppercase names: packages/presets/client/tests/client-preset.spec.ts#L30
AssertionError: expected [] to have a length of 4 but got +0 - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:30:20
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > supports config.enumType=const: packages/presets/client/tests/client-preset.enum.spec.ts#L194
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:194:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > generates enum if used in operation Result: packages/presets/client/tests/client-preset.enum.spec.ts#L135
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:135:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > generates enum if used in operation Variables: packages/presets/client/tests/client-preset.enum.spec.ts#L71
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:71:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > does not generate enum if not used in operations: packages/presets/client/tests/client-preset.enum.spec.ts#L24
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:24:24
Unit Test on Node 22 (ubuntu-latest) and GraphQL v15
The strategy configuration was canceled because "test.ubuntu-latest_24_16" failed
Unit Test on Node 22 (ubuntu-latest) and GraphQL v15
The operation was canceled.
Unit Test on Node 22 (ubuntu-latest) and GraphQL v17
The strategy configuration was canceled because "test.ubuntu-latest_24_16" failed
Unit Test on Node 22 (ubuntu-latest) and GraphQL v17
The operation was canceled.
Unit Test on Node 24 (ubuntu-latest) and GraphQL v17
The strategy configuration was canceled because "test.ubuntu-latest_24_16" failed
Unit Test on Node 24 (ubuntu-latest) and GraphQL v17
The operation was canceled.
Unit Test on Node 22 (ubuntu-latest) and GraphQL v16
The strategy configuration was canceled because "test.ubuntu-latest_24_16" failed
[client-preset] tests/client-preset.spec.ts > client-preset > follows 'useTypeImports': true: packages/presets/client/tests/client-preset.spec.ts#L300
AssertionError: expected +0 to be 4 // Object.is equality - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:300:27
[client-preset] tests/client-preset.spec.ts > client-preset > generates \n regardless of whether the source contains LF or CRLF: packages/presets/client/tests/client-preset.spec.ts#L216
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.spec.ts:216:20
[client-preset] tests/client-preset.spec.ts > client-preset > can generate simple examples lowercase names: packages/presets/client/tests/client-preset.spec.ts#L123
AssertionError: expected [] to have a length of 4 but got +0 - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:123:20
[client-preset] tests/client-preset.spec.ts > client-preset > can generate simple examples uppercase names: packages/presets/client/tests/client-preset.spec.ts#L30
AssertionError: expected [] to have a length of 4 but got +0 - Expected + Received - 4 + 0 ❯ tests/client-preset.spec.ts:30:20
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > supports config.enumType=const: packages/presets/client/tests/client-preset.enum.spec.ts#L194
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:194:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > generates enum if used in operation Result: packages/presets/client/tests/client-preset.enum.spec.ts#L135
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:135:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > generates enum if used in operation Variables: packages/presets/client/tests/client-preset.enum.spec.ts#L71
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:71:24
[client-preset] tests/client-preset.enum.spec.ts > client-preset - Enum > does not generate enum if not used in operations: packages/presets/client/tests/client-preset.enum.spec.ts#L24
TypeError: Cannot read properties of undefined (reading 'content') ❯ tests/client-preset.enum.spec.ts:24:24
Linting Check / eslint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e, pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda, styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/