[Host.AzureServiceBus] Modify user properties on failure / Supply reason and description on dead-letter #1451
Annotations
4 errors and 10 warnings
SlimMessageBus.Host.Test.MessageBusBaseTests ► When_Produce_Given_LongRunningCreateInterceptor_Then_ProduceWaitsUntilInterceptorFinishes(isPublish: True):
src/Tests/SlimMessageBus.Host.Test/MessageBusTested.cs#L73
Failed test found in:
./test-results/SlimMessageBus.Host.Test_Unit_net9.0_20250129133214.trx
Error:
System.NullReferenceException : Object reference not set to an instance of an object.
|
SlimMessageBus.Host.Test.MessageBusBaseTests ► When_Stop_Given_ConcurrentCalls_Then_ItOnlyStopsConsumersOnce:
src/Tests/SlimMessageBus.Host.Test/MessageBusBaseTests.cs#L671
Failed test found in:
./test-results/SlimMessageBus.Host.Test_Unit_net9.0_20250129133214.trx
Error:
Expected bus._startedCount to be 1, but found 2.
|
build
Failed test were found and 'fail-on-error' option is set to ***
|
build
Process completed with exit code 1.
|
build:
src/SlimMessageBus.Host.AzureServiceBus/Consumer/AsbBaseConsumer.cs#L14
Refactor this constructor to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
build:
src/SlimMessageBus.Host.Nats/NatsSubjectConsumer.cs#L37
Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks.
|
build:
src/SlimMessageBus.Host.AzureServiceBus/Consumer/AsbBaseConsumer.cs#L14
Refactor this constructor to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
build:
src/SlimMessageBus.Host.Sql.Common/Transactions/SqlTransactionService.cs#L9
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/SlimMessageBus.Host.Sql.Common/Transactions/SqlTransactionService.cs#L18
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/SlimMessageBus.Host.AzureServiceBus/Consumer/AsbBaseConsumer.cs#L14
Refactor this constructor to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
build:
src/SlimMessageBus.Host.AzureServiceBus/Consumer/AsbBaseConsumer.cs#L14
Refactor this constructor to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
build:
src/Samples/Sample.Images.Worker/Program.cs#L16
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
build:
src/Samples/Sample.Images.Worker/Program.cs#L35
Remove the unused local variable 'instanceGroup'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
|
build:
src/Samples/Sample.Images.WebApi/Controllers/ImageController.cs#L65
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results
|
129 KB |
|