Skip to content

fix(M2-9429): allow offline drawing answers to re-upload by regenerating missing SVG files #939

fix(M2-9429): allow offline drawing answers to re-upload by regenerating missing SVG files

fix(M2-9429): allow offline drawing answers to re-upload by regenerating missing SVG files #939

Triggered via pull request September 24, 2025 13:29
Status Failure
Total duration 3m 55s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 38 warnings
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
src/entities/activity/lib/services/AnswersUploadService.ts#L26
`@app/entities/drawer/lib/utils/svgFileManagerInstance` import should occur before import of `@app/entities/identity/lib/IUserPrivateKeyRecord` (import/order)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L38
Replace `⏎··__svgManagerMock:·svgManagerMock,⏎}·=·jest.requireMock('@app/entities/drawer/lib/utils/svgFileManagerInstance'` with `·__svgManagerMock:·svgManagerMock·}·=·jest.requireMock(⏎··'@app/entities/drawer/lib/utils/svgFileManagerInstance',⏎` (prettier/prettier)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L40
This assertion is unnecessary since it does not change the type of the expression (@typescript-eslint/no-unnecessary-type-assertion)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L278
Replace `⏎········.spyOn(fileService,·'getFieldsForFileUpload')⏎········` with `.spyOn(fileService,·'getFieldsForFileUpload')` (prettier/prettier)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L281
Delete `··` (prettier/prettier)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L282
Delete `··` (prettier/prettier)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L283
Delete `··` (prettier/prettier)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L284
Delete `··` (prettier/prettier)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L285
Delete `··` (prettier/prettier)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L286
Delete `··` (prettier/prettier)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L287
Delete `··` (prettier/prettier)
src/entities/activity/lib/services/tests/AnswersUploadService.test.ts#L288
Delete `··` (prettier/prettier)
Lint
Linting failures detected. See check runs with annotations for details.
src/app/model/migrations/MigrationProcessor.ts#L68
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/app/model/migrations/MigrationProcessor.ts#L138
Invalid operand for a '+' operation. Operands must each be a number or string. Got `unknown` (@typescript-eslint/restrict-plus-operands)
src/app/model/migrations/migrations/to0001/MigrationReduxTypes0001.ts#L60
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/model/migrations/migrations/to0001/MigrationReduxTypes0001.ts#L61
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/model/migrations/migrations/to0001/MigrationReduxTypes0001.ts#L63
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/model/migrations/migrations/to0001/MigrationReduxTypes0001.ts#L64
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/model/migrations/migrations/to0001/MigrationReduxTypes0001.ts#L70
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/model/migrations/migrations/to0001/MigrationReduxTypes0001.ts#L71
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/model/migrations/migrations/to0001/MigrationReduxTypes0001.ts#L73
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/model/migrations/migrations/to0001/MigrationReduxTypes0001.ts#L74
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/model/migrations/migrations/to0001/MigrationToVersion0001.ts#L107
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/app/model/migrations/migrations/to0001/MigrationToVersion0001.ts#L200
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/app/model/migrations/migrations/to0001/MigrationToVersion0001.ts#L216
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/app/ui/AppProvider/ReactQueryProvider.tsx#L25
Expected '!==' and instead saw '!=' (eqeqeq)
src/app/ui/AppProvider/ReactQueryProvider.tsx#L34
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/app/ui/AppProvider/ReactQueryProvider.tsx#L43
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/app/ui/AppProvider/ReactQueryProvider.tsx#L46
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/app/ui/AppProvider/ReduxProvider.tsx#L32
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/ui/AppProvider/ReduxProvider.tsx#L45
Unsafe argument of type `any` assigned to a parameter of type `{ identity: InitialState; applets: InitialState; streaming: StreamingState; banners: InitialState; defaultBanners: InitialState; } | Partial<...> | undefined` (@typescript-eslint/no-unsafe-argument)
src/entities/abTrail/ui/AbCanvas.tsx#L102
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L131
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L132
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L156
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L156
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L366
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbShapes.tsx#L38
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbShapes.tsx#L44
Unsafe argument of type `any` assigned to a parameter of type `DataSourceParam` (@typescript-eslint/no-unsafe-argument)
src/entities/abTrail/ui/AbShapes.tsx#L46
Unsafe argument of type `any` assigned to a parameter of type `DataSourceParam` (@typescript-eslint/no-unsafe-argument)
src/entities/abTrail/ui/AbShapes.tsx#L48
Unsafe argument of type `any` assigned to a parameter of type `DataSourceParam` (@typescript-eslint/no-unsafe-argument)
src/entities/abTrail/ui/AbShapes.tsx#L71
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbShapes.tsx#L83
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/activity/lib/hooks/useQueueProcessing.ts#L49
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/entities/activity/lib/hooks/useRetryUpload.ts#L27
Async arrow function 'openAlert' has no 'await' expression (@typescript-eslint/require-await)
src/entities/activity/lib/hooks/useRetryUpload.ts#L31
Promise-returning function provided to property where a void return was expected (@typescript-eslint/no-misused-promises)
src/entities/activity/lib/hooks/useRetryUpload.ts#L39
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/entities/activity/lib/hooks/useRetryUpload.ts#L44
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/entities/activity/lib/hooks/useRetryUpload.ts#L61
Promise-returning function provided to property where a void return was expected (@typescript-eslint/no-misused-promises)
src/entities/activity/lib/services/AnswersQueueService.ts#L50
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)