Skip to content

Release hotfix

Release hotfix #17

Re-run triggered November 1, 2023 18:06
Status Failure
Total duration 1m 27s
Artifacts

module-release-hotfix.yml

on: workflow_dispatch
publish-github-release  /  publish-github
publish-github-release / publish-github
increment-version
0s
increment-version
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
build / build-artifacts
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/Search/ProductPriceDocumentBuilder.cs(161,48): error VC0005: 'SearchServiceExtensions.SearchBatches<TCriteria, TResult, TModel>(ISearchService<TCriteria, TResult, TModel>, TCriteria, bool)' is obsolete: 'Use SearchBatchesAsync()' (https://docs.virtocommerce.org/products/products-virto3-versions/) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/VirtoCommerce.PricingModule.Data.csproj]
build / build-artifacts
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/Search/ProductPriceDocumentBuilder.cs(161,48): error VC0005: 'SearchServiceExtensions.SearchBatches<TCriteria, TResult, TModel>(ISearchService<TCriteria, TResult, TModel>, TCriteria, bool)' is obsolete: 'Use SearchBatchesAsync()' (https://docs.virtocommerce.org/products/products-virto3-versions/) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/VirtoCommerce.PricingModule.Data.csproj]
build / build-artifacts
Target "Compile" has thrown an exception
build / build-artifacts
Process completed with exit code 255.
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Core/ModuleConstants.cs(84,62): warning S3218: Rename this property to not shadow the outer class' member with the same name. (https://rules.sonarsource.com/csharp/RSPEC-3218) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Core/VirtoCommerce.PricingModule.Core.csproj]
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Core/ModuleConstants.cs(38,36): warning S109: Assign this magic number '50' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Core/VirtoCommerce.PricingModule.Core.csproj]
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Core/Model/PriceListResponseGroup.cs(6,17): 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-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Core/VirtoCommerce.PricingModule.Core.csproj]
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/Search/ProductPriceDocumentBuilder.cs(161,48): warning VC0005: 'SearchServiceExtensions.SearchBatches<TCriteria, TResult, TModel>(ISearchService<TCriteria, TResult, TModel>, TCriteria, bool)' is obsolete: 'Use SearchBatchesAsync()' (https://docs.virtocommerce.org/products/products-virto3-versions/) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/VirtoCommerce.PricingModule.Data.csproj]
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/Services/PricingEvaluatorService.cs(62,25): warning S134: Refactor this code to not nest more than 3 control flow statements. (https://rules.sonarsource.com/csharp/RSPEC-134) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/VirtoCommerce.PricingModule.Data.csproj]
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/Services/PricingEvaluatorService.cs(146,49): warning S4457: Split this method into two, one handling parameters check and the other handling the asynchronous code. (https://rules.sonarsource.com/csharp/RSPEC-4457) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/VirtoCommerce.PricingModule.Data.csproj]
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/Services/PriceSearchService.cs(111,20): warning S4462: Replace this use of 'Task.GetAwaiter.GetResult' with 'await'. (https://rules.sonarsource.com/csharp/RSPEC-4462) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/VirtoCommerce.PricingModule.Data.csproj]
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/ExportImport/PricingExportImport.cs(29,35): warning S107: Constructor has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/VirtoCommerce.PricingModule.Data.csproj]
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/ExportImport2/PricingExportPagedDataSourceFactory.cs(19,51): warning S107: Constructor has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/VirtoCommerce.PricingModule.Data.csproj]
test / test-and-sonar
/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/Model/PricelistEntity.cs(39,13): warning S121: Add curly braces around the nested statement(s) in this 'if' block. (https://rules.sonarsource.com/csharp/RSPEC-121) [/home/runner/work/vc-module-pricing/vc-module-pricing/src/VirtoCommerce.PricingModule.Data/VirtoCommerce.PricingModule.Data.csproj]