Skip to content

refactor: adopt graphql-codegen #1465

refactor: adopt graphql-codegen

refactor: adopt graphql-codegen #1465

Triggered via pull request September 11, 2025 16:50
Status Failure
Total duration 59s
Artifacts

ci.yml

on: pull_request
Prepare CI
2s
Prepare CI
Lint App  /  biomejs
13s
Lint App / biomejs
Tests  /  Run Tests
35s
Tests / Run Tests
Tests  /  SonarQube Cloud Analysis
Tests / SonarQube Cloud Analysis
Build  /  Build Linux (electron-builder)
Build / Build Linux (electron-builder)
Build  /  Build Windows (electron-builder)
Build / Build Windows (electron-builder)
Build  /  Build macOS (electron-builder)
Build / Build macOS (electron-builder)
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Tests / Run Tests
Process completed with exit code 2.
Tests / Run Tests: src/renderer/utils/api/client.ts#L272
Property 'title' does not exist on type '{ __typename?: "App"; } | { __typename?: "Discussion"; number: number; title: string; stateReason?: DiscussionStateReason; isAnswered?: boolean; url: any; author?: ({ ...; } & { ...; }) | ({ ...; } & { ...; }) | ({ ...; } & { ...; }) | ({ ...; } & { ...; }) | ({ ...; } & { ...; }); comments: { ...; }; labels?: { ......'.
Tests / Run Tests: src/renderer/utils/api/client.ts#L270
Type '{ __typename?: "App"; } | { __typename?: "Discussion"; number: number; title: string; stateReason?: DiscussionStateReason; isAnswered?: boolean; url: any; author?: ({ ...; } & { ...; }) | ({ ...; } & { ...; }) | ({ ...; } & { ...; }) | ({ ...; } & { ...; }) | ({ ...; } & { ...; }); comments: { ...; }; labels?: { ......' is not assignable to type 'Discussion'.
Tests / Run Tests: src/renderer/utils/api/__mocks__/response-mocks.ts#L437
Type 'DiscussionComments' is not assignable to type '{ __typename?: "DiscussionCommentConnection"; totalCount: number; nodes?: ({ __typename?: "DiscussionComment"; replies: { __typename?: "DiscussionCommentConnection"; nodes?: ({ __typename?: "DiscussionComment"; } & { ...; })[]; }; } & { ...; })[]; }'.
Tests / Run Tests: src/renderer/utils/api/__mocks__/response-mocks.ts#L431
Object literal may only specify known properties, and 'login' does not exist in type '({ __typename?: "Bot"; } & { ' $fragmentRefs'?: { AuthorFields_Bot_Fragment: AuthorFields_Bot_Fragment; }; }) | ({ __typename?: "EnterpriseUserAccount"; } & { ...; }) | ({ ...; } & { ...; }) | ({ ...; } & { ...; }) | ({ ...; } & { ...; })'.
Tests / Run Tests: src/renderer/utils/api/__mocks__/response-mocks.ts#L428
Type '"OPEN"' is not assignable to type 'DiscussionStateReason'.
Tests / Run Tests: src/renderer/utils/api/__mocks__/response-mocks.ts#L12
'GraphQLSearch' is declared but never used.
Tests / Run Tests: src/renderer/utils/api/__mocks__/response-mocks.ts#L12
Module '"../../../typesGitHub"' has no exported member 'GraphQLSearch'.
Tests / Run Tests: src/renderer/utils/api/__mocks__/response-mocks.ts#L7
'Discussion' is declared but never used.