Skip to content

VCST-206: Push messages #8

VCST-206: Push messages

VCST-206: Push messages #8

Triggered via pull request March 14, 2024 08:14
@artem-dudarevartem-dudarev
synchronize #1
VCST-206
Status Success
Total duration 3m 28s
Artifacts

module-ci.yml

on: pull_request
module-katalon-tests  /  e2e-tests
module-katalon-tests / e2e-tests
Matrix: deploy-cloud / Deploy
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 10 warnings
ci
ERROR: Error: No inputs were found in config file '/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Web/bin/Release/net8.0/App/tsconfig.json'. Specified 'include' paths were '["./src/**/*.ts","./src/**/*.vue","./src/**/*.json"]' and 'exclude' paths were '["dist"]'.
ci
ERROR: at createProgramOptions (/home/runner/work/vc-module-push-messages/vc-module-push-messages/.sonarqube/out/.sonar/.sonartmp/bridge-bundle/package/lib/jsts/src/program/program.js:96:15)
ci
ERROR: at MessagePort.<anonymous> (/home/runner/work/vc-module-push-messages/vc-module-push-messages/.sonarqube/out/.sonar/.sonartmp/bridge-bundle/package/lib/bridge/src/worker.js:134:37)
ci
ERROR: at [nodejs.internal.kHybridDispatch] (node:internal/event_target:807:20)
ci
ERROR: at exports.emitMessage (node:internal/per_context/messageport:23:28)
ci
ERROR: No inputs were found in config file '/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Web/bin/Release/net8.0/App/tsconfig.json'. Specified 'include' paths were '["./src/**/*.ts","./src/**/*.vue","./src/**/*.json"]' and 'exclude' paths were '["dist"]'.
ci
ERROR: Failed to analyze file [src/VirtoCommerce.PushMessages.Web/App/src/modules/dynamic-module/locales/index.ts]: File '@vc-shell/ts-config/tsconfig.json' not found.
ci
ERROR: Failed to analyze file [src/VirtoCommerce.PushMessages.Web/App/src/pages/App.vue]: File '@vc-shell/ts-config/tsconfig.json' not found.
ci
ERROR: Failed to analyze file [src/VirtoCommerce.PushMessages.Web/App/src/modules/dynamic-module/components/widgets/recipients-widget.vue]: File '@vc-shell/ts-config/tsconfig.json' not found.
ci
ERROR: Failed to analyze file [src/VirtoCommerce.PushMessages.Web/App/src/modules/dynamic-module/components/index.ts]: File '@vc-shell/ts-config/tsconfig.json' not found.
ci
ci
(!) Some chunks are larger than 500 kB after minification. Consider:
ci
- Using dynamic import() to code-split the application
ci
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
ci
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Core/Models/PushMessageResponseGroup.cs(6,13): warning S2342: Rename this enumeration to match the regular expression: '^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$'. (https://rules.sonarsource.com/csharp/RSPEC-2342) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Core/VirtoCommerce.PushMessages.Core.csproj]
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.ExperienceApi/Extensions/ServiceCollectionExtensions.cs(14,17): warning S125: Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.ExperienceApi/VirtoCommerce.PushMessages.ExperienceApi.csproj]
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.ExperienceApi/Extensions/ServiceCollectionExtensions.cs(12,13): warning S3923: Remove this conditional structure or edit its code blocks so that they're not all the same. (https://rules.sonarsource.com/csharp/RSPEC-3923) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.ExperienceApi/VirtoCommerce.PushMessages.ExperienceApi.csproj]
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.ExperienceApi/Handlers/PushMessageSendingEventHandler.cs(20,35): warning S3267: Loop should be simplified by calling Select(entry => entry.NewEntry)) (https://rules.sonarsource.com/csharp/RSPEC-3267) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.ExperienceApi/VirtoCommerce.PushMessages.ExperienceApi.csproj]
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data/Services/PushMessageService.cs(142,12): warning S1135: Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data/VirtoCommerce.PushMessages.Data.csproj]
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data/Repositories/PushMessagesDbContext.cs(25,83): warning S109: Assign this magic number '128' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data/VirtoCommerce.PushMessages.Data.csproj]
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data/Repositories/PushMessagesDbContext.cs(28,89): warning S109: Assign this magic number '128' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data/VirtoCommerce.PushMessages.Data.csproj]
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data/Repositories/PushMessagesDbContext.cs(37,92): warning S109: Assign this magic number '128' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data/VirtoCommerce.PushMessages.Data.csproj]
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data.MySql/Migrations/20240311181628_InitialMigration.cs(12,33): warning S138: This method 'Up' has 89 lines, which is greater than the 80 lines authorized. Split it into smaller methods. (https://rules.sonarsource.com/csharp/RSPEC-138) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Data.MySql/VirtoCommerce.PushMessages.Data.MySql.csproj]
ci
/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Core/Models/PushMessageResponseGroup.cs(6,13): warning S2342: Rename this enumeration to match the regular expression: '^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$'. (https://rules.sonarsource.com/csharp/RSPEC-2342) [/home/runner/work/vc-module-push-messages/vc-module-push-messages/src/VirtoCommerce.PushMessages.Core/VirtoCommerce.PushMessages.Core.csproj]