Skip to content

[WIP] Migrate React Context to Zustand #908

[WIP] Migrate React Context to Zustand

[WIP] Migrate React Context to Zustand #908

Triggered via pull request August 31, 2024 15:42
@acaoacao
synchronize #3757
v4-zustand
Status Failure
Total duration 4m 39s
Artifacts 1

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 2 warnings
Prettier
Process completed with exit code 1.
CSpell
Process completed with exit code 1.
Jest Unit & Integration Tests
Process completed with exit code 1.
Vitest Unit Tests
Process completed with exit code 1.
Cypress
The process '/usr/local/bin/yarn' failed with exit code 1
ESLint: packages/graphiql-react/src/editor/completion.ts#L1
'Editor' is defined but never used. Allowed unused vars must match /^React$/u
ESLint: packages/graphiql-react/src/editor/context.tsx#L1
Only files containing JSX may use the extension '.tsx'
ESLint: packages/graphiql-react/src/editor/hooks.ts#L55
'caller' is defined but never used. Allowed unused args must match /^_/u
ESLint: packages/graphiql-react/src/editor/hooks.ts#L106
'caller' is defined but never used. Allowed unused args must match /^_/u
ESLint: packages/graphiql-react/src/editor/hooks.ts#L167
'caller' is assigned a value but never used. Allowed unused vars must match /^React$/u
ESLint: packages/graphiql-react/src/editor/hooks.ts#L188
'caller' is assigned a value but never used. Allowed unused vars must match /^React$/u
ESLint: packages/graphiql-react/src/editor/hooks.ts#L216
'caller' is assigned a value but never used. Allowed unused vars must match /^React$/u
ESLint: packages/graphiql-react/src/editor/hooks.ts#L307
'caller' is assigned a value but never used. Allowed unused vars must match /^React$/u
ESLint: packages/graphiql-react/src/editor/query-editor.ts#L1
'/home/runner/work/graphiql/graphiql/node_modules/@graphiql/toolkit/dist/esm/index.js' imported multiple times
ESLint: packages/graphiql-react/src/editor/query-editor.ts#L31
'/home/runner/work/graphiql/graphiql/node_modules/@graphiql/toolkit/dist/esm/index.js' imported multiple times
ESLint: packages/graphiql-react/src/provider.tsx#L105
React Hook useMemo has missing dependencies: 'dangerouslyAssumeSchemaIsValid', 'defaultHeaders', 'defaultTabs', 'externalFragments', 'fetchOptions', 'fetcher', 'getDefaultFieldNames', 'headers', 'inputValueDeprecation', 'introspectionQueryName', 'onEditOperationName', 'onSchemaChange', 'onTabChange', 'schema', 'schemaDescription', 'shouldPersistHeaders', and 'validationRules'. Either include them or remove the dependency array
ESLint: packages/graphiql-react/src/provider.tsx#L112
React Hook useEffect has a missing dependency: 'state.schema'. Either include it or remove the dependency array

Artifacts

Produced during runtime
Name Size
cypress-screenshots
7.11 MB