Skip to content

fix(M2-9381): Prevent app crash when accessing applets with deleted activities/flows #928

fix(M2-9381): Prevent app crash when accessing applets with deleted activities/flows

fix(M2-9381): Prevent app crash when accessing applets with deleted activities/flows #928

Triggered via pull request September 3, 2025 13:25
Status Failure
Total duration 5m 10s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 31 warnings
src/widgets/activity-group/model/services/ActivityGroupsBuildManager.ts#L249
Delete `······` (prettier/prettier)
src/widgets/activity-group/model/services/ActivityGroupsBuildManager.ts#L276
Insert `⏎······` (prettier/prettier)
src/widgets/activity-group/model/services/ActivityGroupsBuildManager.ts#L277
Insert `··` (prettier/prettier)
src/widgets/activity-group/model/services/ActivityGroupsBuildManager.ts#L278
Insert `··` (prettier/prettier)
src/widgets/activity-group/model/services/ActivityGroupsBuildManager.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
src/widgets/activity-group/model/services/ActivityGroupsBuildManager.ts#L279
Insert `··` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
src/widgets/activity-group/model/services/ActivityGroupsBuildManager.ts#L280
Replace `····},·logger` with `······},⏎······logger,⏎····` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L3
`@app/abstract/lib/types/event` import should occur before import of `@app/entities/activity/lib/types/activityListItem` (import/order)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L8
`@app/entities/event/lib/types/event` import should occur before import of `@app/shared/lib/types/logger` (import/order)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L35
Replace `id:·string,·name:·string·=·'Test·Activity'` with `⏎··id:·string,⏎··name:·string·=·'Test·Activity',⏎` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L64
Replace `id:·string·=·'event-1',·entityId:·string·=·'entity-1'` with `⏎··id:·string·=·'event-1',⏎··entityId:·string·=·'entity-1',⏎` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L146
Replace `'activity-1',·'activity-2'` with `⏎········'activity-1',⏎········'activity-2',⏎······` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L261
Replace `'valid-activity'` with `⏎········'valid-activity',⏎······` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L262
Replace `'invalid-flow',·'Invalid·Flow',·['missing-activity']` with `⏎········'invalid-flow',⏎········'Invalid·Flow',⏎········['missing-activity'],⏎······` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L309
Replace `'activity-1',·'activity-2'` with `⏎········'activity-1',⏎········'activity-2',⏎······` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L312
Replace `activity1,·activity2` with `⏎········activity1,⏎········activity2,⏎······` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L333
Replace `'missing-activity-1',·'missing-activity-2'` with `⏎········'missing-activity-1',⏎········'missing-activity-2',⏎······` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.test.ts#L372
Replace `'Activity·flow·not·found·in·available·flows'` with `⏎········'Activity·flow·not·found·in·available·flows',⏎······` (prettier/prettier)
src/widgets/activity-group/model/validators/EntityReferenceValidator.ts#L81
This assertion is unnecessary since it does not change the type of the expression (@typescript-eslint/no-unnecessary-type-assertion)
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)