[Host.RabbitMQ] Improve Validation and Default Exchange Handling #1659
Annotations
3 errors and 10 warnings
SlimMessageBus.Host.Test.MessageBusBaseTests ► When_ResponseArrives_Then_ResolvesPendingRequestAsync:
src/Tests/SlimMessageBus.Host.Test/MessageBusTested.cs#L74
Failed test found in:
./test-results/SlimMessageBus.Host.Test_Unit_net9.0_20250830161105.trx
Error:
System.NullReferenceException : Object reference not set to an instance of an object.
|
build
Failed test were found and 'fail-on-error' option is set to ***
|
build
Process completed with exit code 1.
|
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.Serialization.SystemTextJson/JsonMessageSerializer.cs#L19
Remove this call from a constructor to the overridable 'CreateDefaultOptions' method. (https://rules.sonarsource.com/csharp/RSPEC-1699)
|
build:
src/SlimMessageBus.Host.RabbitMQ/RabbitMqTopologyService.cs#L114
Change return type to 'void'; not a single caller uses the returned value. (https://rules.sonarsource.com/csharp/RSPEC-3241)
|
build:
src/SlimMessageBus.Host.RabbitMQ/RabbitMqTopologyService.cs#L51
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
build:
src/SlimMessageBus.Host.RabbitMQ/RabbitMqTopologyService.cs#L114
Change return type to 'void'; not a single caller uses the returned value. (https://rules.sonarsource.com/csharp/RSPEC-3241)
|
build:
src/SlimMessageBus.Host.RabbitMQ/RabbitMqTopologyService.cs#L51
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
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/Hybrid/HybridMessageBus.cs#L37
Remove this call from a constructor to the overridable 'BuildBus' method. (https://rules.sonarsource.com/csharp/RSPEC-1699)
|
build:
src/SlimMessageBus.Host/Hybrid/HybridMessageBus.cs#L37
Remove this call from a constructor to the overridable 'BuildBus' method. (https://rules.sonarsource.com/csharp/RSPEC-1699)
|
build:
src/SlimMessageBus.Host.Serialization.SystemTextJson/JsonMessageSerializer.cs#L19
Remove this call from a constructor to the overridable 'CreateDefaultOptions' method. (https://rules.sonarsource.com/csharp/RSPEC-1699)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
test-results
|
159 KB |
sha256:ef3af1d55f2284d0b63c495df4a7329aa9b66260a3dab190ee8ff172d945f8f0
|
|